chore: remove update-deployment-tag CI step (#174) #175
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-api!175
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "174-phase-7a-remove-update-deployment-tag-ci"
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?
Summary
Removes the obsolete
update-deployment-tagCI step from.woodpecker.yaml. ArgoCD Image Updater now handles image tag updates automatically, making the sed-based commit-back-to-main approach unnecessary.Changes
.woodpecker.yaml: Removed theupdate-deployment-tagstep (alpine/git image that ran sed to update k8s manifests and pushed back to main).woodpecker.yaml: Removed thepath.excludeblock from the trigger (no longer needed since CI no longer commits to k8s/)k8s/.argocd-source-pal-e-docs.yaml: Deleted stale ArgoCD source override fileTest Plan
${CI_COMMIT_SHA}Review Checklist
Related
plan-pal-e-docsPhase 7a -- Remove update-deployment-tag CI stepSelf-Review: PASS
Files changed: 2 (0 additions, 25 deletions)
Verification:
.woodpecker.yaml: Path exclude block removed from trigger (5 lines).update-deployment-tagstep removed (17 lines). All other steps (test, migration-test, build-and-push, smoke-test) untouched.k8s/.argocd-source-pal-e-docs.yaml: Stale ArgoCD image override deleted (3 lines).No findings. Ready for merge.
PR #175 Review
DOMAIN REVIEW
ArgoCD / Image Updater Migration:
update-deployment-tagstep was a sed-based commit-back-to-main pattern that modifiedk8s/deployment.yamlandk8s/embedding-worker.yamlwith each build. This is correctly replaced by ArgoCD Image Updater, which writes to pal-e-deployments via kustomization write-back -- a cleaner GitOps pattern that avoids CI-generated commits polluting the app repo's git history.k8s/.argocd-source-pal-e-docs.yaml(containing a hardcoded image reference to commit068a26ea...) is correctly deleted. Image Updater now writes these overrides to the deployments repo, not the app repo.argocd-sourceorupdate-deployment-tagexist anywhere in the codebase. Cleanup is thorough.CI Pipeline Integrity:
test,migration-test,build-and-push,smoke-test. Verified by reading the full.woodpecker.yamlpost-diff.smoke-teststep has no dependency on the removed step. It waits 30s for ArgoCD rollout then hits the health endpoint directly -- this path works regardless of whether Image Updater or the old sed approach triggers the deployment.forgejo_tokensecret reference is gone with the removed step. Onlyharbor_usernameandharbor_passwordremain (used bybuild-and-push). No orphaned secret references.Trigger Cleanup:
path.excludeblock that prevented CI from re-triggering on its own k8s/ commits (k8s/.argocd-source-*,k8s/deployment.yaml,k8s/embedding-worker.yaml) is correctly removed. Since CI no longer commits to k8s/, there is no risk of infinite trigger loops.k8s/ Directory:
deployment.yaml,embedding-worker.yaml,service.yaml,servicemonitor.yaml,kustomization.yaml. Only the stale.argocd-source-pal-e-docs.yamlwas removed. Base manifests remain intact as ArgoCD source.YAML Validity:
.woodpecker.yamlis 100 lines, well-structured, properly indented. No dangling references, no brokenwhenclauses, no orphaned configuration.BLOCKERS
None.
NITS
None. This is a clean, purely subtractive change with zero ambiguity.
SOP COMPLIANCE
174-phase-7a-remove-update-deployment-tag-cireferences #174Closes #174present in PR body (in Related section)plan-pal-e-docsPhase 7a.woodpecker.yaml+ stale.argocd-sourcefile)tofu planoutput needed (no Terraform changes -- this is CI-only)PROCESS OBSERVATIONS
[skip ci]commits that polluted git history and introduced a race condition risk (concurrent merges could conflict on k8s/ files). The Image Updater write-back to a separate deployments repo is the correct GitOps pattern.forgejo_tokensecret that was used by the removed step should be verified as no longer needed by any other CI pipeline in this repo. If it is unused, it can be cleaned from Woodpecker's secret store (minor hygiene item, not a blocker).VERDICT: APPROVED