ci: split test CI from delivery #3
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
public/office-betting!3
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/split-test-delivery"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tests now run only as the PR fast-forward gate (Jörg's CI standard). Main is ff-only and blocks outdated branches, so the merged commit is exactly the tree the PR tested.
Guard on every test job:
github.event_name != 'pull_request' || (head.repo.full_name == github.repository && pull_request.flow == 0)(no fork or AGit PR code on the homelab runner). Concurrency cancels superseded PR runs. No secrets are used by the test workflow.ci.yaml(workflowCI):lint-backend,test-backend,lint-frontendunchanged, now PR + dispatch only (was push on all branches). New required contexts:CI / lint-backend (pull_request),CI / test-backend (pull_request),CI / lint-frontend (pull_request). The checkout step now fetchesGITHUB_REF+ checks outGITHUB_SHAinstead ofgit clone --branch $GITHUB_REF_NAME, which cannot work for a PR ref.images.yaml(workflowimages, push tomaster/main):build-backendandbuild-frontendkaniko builds, byte-identical steps, same secrets, same tags (<sha7>,latest). The trigger is narrowed to the default branches instead of every branch plus anif; same effective behaviour.needs: [lint-*, test-backend]; they now build on every push to master without it (the merged commit was tested by its PR).CI / <job> (push)no longer get reported.🤖 Generated with Claude Code
https://claude.ai/code/session_01XMf4EHDsxSUaKJC2q1H41t