Commit Graph
13 Commits
Author SHA1 Message Date
Test 99342fbdde fix: separate test and build-push jobs, move to org-level env
CI / Test (pull_request) Successful in 2m9s
CI / Build & Push Image (pull_request) Skipped
Changes:
- Split monolithic test-build-push into separate jobs
- test job: runs on all branches + PRs
- build-push job: only runs on main push after test passes
- Move env vars to workflow level (GOPRIVATE, REGISTRY, IMAGE)
- Remove conditional docker installs - only in build-push
- Build-push depends on test passing

Now: PRs run tests only. Main pushes build image to registry.
2026-09-06 23:12:39 -07:00
rockandTest 3452c6fca7 fix: CI workflow - remove container override, use actions/checkout@v4 (#2)
CI / test-build-push (push) Failing after 3m3s
Container override breaks docker socket access to dind sidecar.

Changes:
- Remove 'container: image: golang:1.26' (breaks dind socket access)
- Remove manual git config/checkout, use actions/checkout@v4
- Move docker.io install to conditional step before docker login
- Install Node.js for actions runtime

This workflow now works with the new runner setup (golang:1.26-bookworm label image with shared docker socket via dind sidecar). Resolves issues with docker build/push failing in CI.

---------

Co-authored-by: Test <[email protected]>
Reviewed-on: #2
2026-09-07 05:48:24 +00:00
rockandTest e81bfbc98d ci: merge test+build+push into single pipeline (#1)
CI / test-build-push (push) Failing after 1m57s
Merge ci.yaml + build-push.yml into single CI pipeline. Single job: vet → test → build binary → build image → push. Image push gated on main push only. Fixed Dockerfile to golang:1.26, build cmd/worker, removed HTTP healthcheck.

---------

Co-authored-by: Test <[email protected]>
Reviewed-on: #1
2026-09-06 13:18:10 +00:00
Test c228b54fd7 ci: fix golang runner - use go 1.26, remove -mod=readonly, add go mod tidy 2026-09-05 23:28:56 -07:00
Test 62116225ff ci: add go mod download to resolve dependencies 2026-09-05 14:05:30 -07:00
Test fdb3591cf9 ci: use golang runner for Go project 2026-09-05 13:52:18 -07:00
Test e21180f2eb ci: fix runner to use node-labeled runner for Docker builds 2026-09-05 13:50:35 -07:00
Test d81772502c ci: add Forgejo CI/CD workflow for workflows image build & push 2026-09-05 13:47:27 -07:00
Test 956152f74f ci: add PAT token authentication for Forgejo in CI pipeline
- Configure git with oauth2 authentication using REGISTRY_PAT token
- Enables private module access and authenticated requests
- Integration tests now run in CI with proper authentication
- Graceful test fallback: tests run if Temporal accessible, skip if not
- Update TEMPORAL_USAGE.md documentation accordingly
2026-08-23 16:28:02 -07:00
Story Crater Bot be455dca7a fix(ci): build multiple cmd packages to directory not file
go build -o flag with ./cmd/... builds multiple binaries. The -o path
must be a directory when building multiple packages, not a file.
2026-08-22 01:04:41 -07:00
Story Crater Bot bb6bfd30da fix(ci): use git clone instead of Node.js actions/checkout 2026-08-22 00:47:11 -07:00
Story Crater Bot 907b641f07 fix(ci): install node in golang container for actions/checkout 2026-08-22 00:45:39 -07:00
Story Crater Bot 30a7f4fec6 ci(main): add Go test and build workflow
ci / test (push) Failing after 45s
2026-08-21 21:23:40 -07:00