aboutsummaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)AuthorFilesLines
2025-03-22Refactor and split out things into cmd and lib (#77)Yulian Kuncheff1-0/+8
* Refactor anubis to split business logic into a lib, and cmd to just be direct usage. * Post-rebase fixes. * Update changelog, remove unnecessary one. * lib: refactor this This is mostly based on my personal preferences for how Go code should be laid out. I'm not sold on the package name "lib" (I'd call it anubis but that would stutter), but people are probably gonna import it as libanubis so it's likely fine. Packages have been "flattened" to centralize implementation with area of concern. This goes against the Java-esque style that many people like, but I think this helps make things simple. Most notably: the dnsbl client (which is a hack) is an internal package until it's made more generic. Then it can be made external. I also fixed the logic such that `go generate` works and rebased on main. * internal/test: run tests iff npx exists and DONT_USE_NETWORK is not set Signed-off-by: Xe Iaso <me@xeiaso.net> * internal/test: install deps Signed-off-by: Xe Iaso <me@xeiaso.net> * .github/workflows: verbose go tests? Signed-off-by: Xe Iaso <me@xeiaso.net> * internal/test: sleep 2 Signed-off-by: Xe Iaso <me@xeiaso.net> * internal/test: nix this test so CI works Signed-off-by: Xe Iaso <me@xeiaso.net> * internal/test: warmup per browser? Signed-off-by: Xe Iaso <me@xeiaso.net> * internal/test: disable for now :( Signed-off-by: Xe Iaso <me@xeiaso.net> * lib/anubis: do not apply bot rules if address check fails Closes #83 --------- Signed-off-by: Xe Iaso <me@xeiaso.net> Co-authored-by: Xe Iaso <me@xeiaso.net>
2025-03-22Fix docker image CI for pull requests (#84)Xe Iaso2-22/+44
Closes #65 Pull request images will now be `ttl.sh/techaro/pr-{number}/anubis:24h`.
2025-03-21.github/workflows: don't publish provenance data for PRsXe Iaso1-0/+1
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-03-21comment out the comment PR experiment for now, ugh, I hate GitHub ACLsXe Iaso1-10/+10
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-03-21off by oneXe Iaso1-0/+2
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-03-21.github/workflows/docker: only do comments if we're in a PRXe Iaso1-0/+1
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-03-21cmd/containerbuild: default to ttl.sh for third party contributions (#51)Xe Iaso1-0/+12
* cmd/containerbuild: default to ttl.sh for third party contributions Closes #48 Signed-off-by: Xe Iaso <me@xeiaso.net> * track comment tags Signed-off-by: Xe Iaso <me@xeiaso.net> * empty commit to make sure double-commenting doesn't work Signed-off-by: Xe Iaso <me@xeiaso.net> --------- Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-03-20add docs site based on docusarus (#35)Xe Iaso1-0/+61
* add docs site based on docusarus Closes #2 Signed-off-by: Xe Iaso <me@xeiaso.net> * docs: deploy to aeacus Signed-off-by: Xe Iaso <me@xeiaso.net> * ready for merge Signed-off-by: Xe Iaso <me@xeiaso.net> * docs: fix anubis port Signed-off-by: Xe Iaso <me@xeiaso.net> --------- Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-03-19Try using ko to build imagesXe Iaso1-10/+14
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-03-19add FUNDING fileXe Iaso1-0/+1
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-03-18make docker image for AnubisXe Iaso1-0/+61
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-03-17.github/workflows/go: make this slower for nowXe Iaso1-1/+2
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-03-17initial import from /x/ monorepoXe Iaso1-0/+62
Signed-off-by: Xe Iaso <me@xeiaso.net>