tekton-catalog: publish custom docker-build-oci-ta pipeline bundle#50
Open
Odilhao wants to merge 2 commits into
Open
tekton-catalog: publish custom docker-build-oci-ta pipeline bundle#50Odilhao wants to merge 2 commits into
Odilhao wants to merge 2 commits into
Conversation
…ssue #47) Add a custom docker-build-oci-ta pipeline bundle that embeds two overrides relative to the upstream Konflux build pipeline: - Redirects build-container to our task-buildah-oci-ta bundle (higher memory/CPU limits to prevent OOM on large Foreman images). - Sets build-source-image default to "true" (upstream default is "false"), required for production Quay pushes. The CI workflow publishes the bundle to quay.io/foreman/tekton-catalog/pipeline-docker-build-oci-ta and rebuilds it automatically when task-buildah-oci-ta changes or on a weekly schedule to pick up upstream docker-build-oci-ta changes. Once the bundle is live, point the component annotation in tenants-config at our bundle so Konflux auto-generates .tekton files without manual patching. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Add two kustomize-build CI checks that fail if the upstream pipeline reorders params or tasks and our index-based patches land on the wrong entry: - build-source-image default must be "true" (not upstream "false") - build-container taskRef must use the bundles resolver pointing to quay.io/foreman/tekton-catalog/task-buildah-oci-ta Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #47 (long-term fix).
Summary
tekton-catalog/pipelines/docker-build-oci-ta/with a kustomization that fetches the upstream Konflux build pipeline and applies two patches:build-containerto ourtask-buildah-oci-tabundle (quay.io/foreman/tekton-catalog/task-buildah-oci-ta:0.9) to get the higher memory/CPU limits that prevent OOM on large Foreman images.build-source-imagedefault to"true"(upstream default is"false"), required for production Quay pushes.publish-pipeline-bundle.ymlto build and pushpipeline-docker-build-oci-tatoquay.io/foreman/tekton-catalog/pipeline-docker-build-oci-ta. The bundle is rebuilt when:tekton-catalog/pipelines/docker-build-oci-ta/**changes (explicit patch update).tekton-catalog/tasks/buildah-oci-ta/**changes (cascade — pipeline embeds a task bundle ref).docker-build-oci-tachanges automatically).push-bundles.shto include the new pipeline for local testing.Next step (separate tenants-config MR)
Once the bundle is published, update every Foreman component annotation in tenants-config:
Test plan
kustomize build tekton-catalog/pipelines/docker-build-oci-ta/renders cleanly with patchedtaskRefandbuild-source-image: "true"kustomize build tekton-catalog/pipelines/renders both pipelinesyamllint .passespipeline-docker-build-oci-tabundle appears inquay.io/foreman/tekton-catalog🤖 Generated with Claude Code