ci: migrate from Woodpecker CI to Forgejo Actions #1

Open
fmartingr wants to merge 8 commits from feat/forgejo-actions into master
Owner

Replace Woodpecker CI pipelines with GitHub/Forgejo Actions workflows
using the ci-base:1.0.0 image. Simplify Makefile by removing unused
variables and adopting a cleaner help target. Switch goreleaser from
dockers_v2 to dockers + docker_manifests for per-arch image builds.
Update Containerfile to Alpine 3.23 and fix nfpm description.

Replace Woodpecker CI pipelines with GitHub/Forgejo Actions workflows using the ci-base:1.0.0 image. Simplify Makefile by removing unused variables and adopting a cleaner help target. Switch goreleaser from dockers_v2 to dockers + docker_manifests for per-arch image builds. Update Containerfile to Alpine 3.23 and fix nfpm description.
Replace Woodpecker CI pipelines with GitHub/Forgejo Actions workflows
using the ci-base:1.0.0 image. Simplify Makefile by removing unused
variables and adopting a cleaner help target. Switch goreleaser from
dockers_v2 to dockers + docker_manifests for per-arch image builds.
Update Containerfile to Alpine 3.23 and fix nfpm description.
fix: use master branch in CI workflow triggers
Some checks failed
CI / goreleaser-lint (pull_request) Successful in 6s
CI / e2e (pull_request) Failing after 1m40s
CI / test (pull_request) Failing after 3m14s
CI / build (pull_request) Successful in 4m31s
CI / format (pull_request) Successful in 1m15s
CI / lint (pull_request) Failing after 2m4s
bb660f3cd4
fix: add .gitkeep to webapp/dist for go:embed compatibility
Some checks failed
CI / goreleaser-lint (pull_request) Successful in 5s
CI / lint (pull_request) Failing after 1m53s
CI / format (pull_request) Successful in 2m7s
CI / e2e (pull_request) Failing after 1m53s
CI / test (pull_request) Failing after 3m17s
CI / build (pull_request) Has been cancelled
d4d2a5bed3
fix: use all:dist embed directive to include dot-files
Some checks failed
CI / goreleaser-lint (pull_request) Successful in 15s
CI / format (pull_request) Successful in 2m19s
CI / lint (pull_request) Successful in 3m53s
CI / test (pull_request) Failing after 3m26s
CI / e2e (pull_request) Failing after 1m39s
CI / build (pull_request) Successful in 3m59s
4fcf97c9fd
ci: increase test timeout to 5m for CI with race detector
Some checks failed
CI / goreleaser-lint (pull_request) Successful in 10s
CI / lint (pull_request) Has been cancelled
CI / format (pull_request) Has been cancelled
CI / test (pull_request) Has been cancelled
CI / e2e (pull_request) Has been cancelled
CI / build (pull_request) Has been cancelled
92bf5c1297
ci: use e2e/go.mod for e2e job Go version
Some checks failed
CI / goreleaser-lint (pull_request) Successful in 7s
CI / format (pull_request) Successful in 2m36s
CI / lint (pull_request) Successful in 3m13s
CI / e2e (pull_request) Failing after 2m1s
CI / build (pull_request) Has been cancelled
CI / test (pull_request) Has been cancelled
64cffcb2e3
fix: add missing mattn/go-sqlite3 dependency to e2e module
Some checks failed
CI / goreleaser-lint (pull_request) Successful in 12s
CI / format (pull_request) Successful in 2m52s
CI / lint (pull_request) Successful in 3m33s
CI / test (pull_request) Successful in 6m0s
CI / build (pull_request) Successful in 3m18s
CI / e2e (pull_request) Failing after 39m39s
b6cd0ddbc6
fix(e2e): make link creation reach test web server via shared network
Some checks failed
CI / goreleaser-lint (pull_request) Successful in 11s
CI / format (pull_request) Successful in 2m38s
CI / test (pull_request) Successful in 5m0s
CI / lint (pull_request) Successful in 3m5s
CI / build (pull_request) Successful in 3m16s
CI / e2e (pull_request) Failing after 28m15s
f47010cd0f
The test web server and Hako container previously ran on isolated Docker
networks, so Hako could not fetch URLs like http://localhost:32865 (the
host-mapped port) from inside its container. Most tests passed vacuously
because they only checked DOM containers; the Archive tests failed
because they tried to click an actual link item that was never created.

Changes:
- Add a shared Docker network so both containers can communicate by alias
- Test web server registers as hako-testserver and returns that as its URL
- Hako container joins the same network and can resolve the alias
- CreateLink now navigates to /home before each call so it can be invoked
  multiple times in a row (the form redirects to /links after submission)
- IsVisible uses .First() to avoid Playwright strict-mode errors when a
  selector matches multiple elements
- Archive tests use .link-item instead of the never-matching
  a[href*='/links/'] selector
- Bump Dockerfile.e2e Alpine to 3.23 to match the production Containerfile
Some checks failed
CI / goreleaser-lint (pull_request) Successful in 11s
CI / format (pull_request) Successful in 2m38s
CI / test (pull_request) Successful in 5m0s
CI / lint (pull_request) Successful in 3m5s
CI / build (pull_request) Successful in 3m16s
CI / e2e (pull_request) Failing after 28m15s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/forgejo-actions:feat/forgejo-actions
git switch feat/forgejo-actions

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff feat/forgejo-actions
git switch feat/forgejo-actions
git rebase master
git switch master
git merge --ff-only feat/forgejo-actions
git switch feat/forgejo-actions
git rebase master
git switch master
git merge --no-ff feat/forgejo-actions
git switch master
git merge --squash feat/forgejo-actions
git switch master
git merge --ff-only feat/forgejo-actions
git switch master
git merge feat/forgejo-actions
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
fmartingr/hako!1
No description provided.