Skip to content

fix: add post-processor image build to CI and FluxCD automation - #960

Closed
Cedric Vidal (cedricvidal) wants to merge 1 commit into
mainfrom
fix/post-processor-ci-deploy
Closed

Cedric Vidal (cedricvidal) wants to merge 1 commit into
mainfrom
fix/post-processor-ci-deploy

Conversation

@cedricvidal

Copy link
Copy Markdown
Collaborator

Original author: Cedric Vidal (@cedricvidal)

Problem

The post-processor worker (PR #948) was merged without CI image build configuration or FluxCD image automation. This causes ImagePullBackOff for both the post-processor Deployment and the register-version-post-processor Job in integration because no Docker image exists in ACR.

Fix

CI Workflow (.github/workflows/ci.yml)

  • Added post-processor to ALL_IMAGES env
  • Added path filter for apps/workers/post-processor/**
  • Added output variable and build condition
  • Added matrix entry with Dockerfile path

FluxCD Image Automation

  • image-repositories.yaml — added ImageRepository for scoped/post-processor
  • image-policies-int.yaml — added ImagePolicy for post-processor-int (timestamp-based tag selection)

Deployment Overlays

  • deploy/overlays/integration/images.yaml — added Deployment + Job image patches with FluxCD setter comments
  • deploy/overlays/prod/images.yaml — added Deployment + Job image patches (promotion-managed)

Expected result

After merge, the CI workflow will build and push the post-processor image to ACR. FluxCD will then pick up the new tag and update the integration cluster, resolving the ImagePullBackOff.

The post-processor worker was merged without CI image build config or
FluxCD image automation, causing ImagePullBackOff in integration.

- Add post-processor to CI workflow (path filter, build matrix, ALL_IMAGES)
- Add FluxCD ImageRepository and ImagePolicy for post-processor-int
- Add image patches in integration and prod overlays

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@cedricvidal

Copy link
Copy Markdown
Collaborator Author

Original author: @github-actions[bot]

Test Results (Node.js 22)

test: Run #1677

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Pending ⏳ Other ❓ Flaky 🍂 Duration ⏱️
1785 1785 0 0 0 0 0 1m10s

🎉 All tests passed!

Github Test Reporter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant