Skip to content

Update Konflux references to v0.10#2027

Open
red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/references/main
Open

Update Konflux references to v0.10#2027
red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/references/main

Conversation

@red-hat-konflux
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Notes
quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta (source, changelog) 0.90.10 ⚠️migration⚠️

Release Notes

konflux-ci/build-definitions (quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta)

v0.10

This version introduces konflux-build-cli. The build step replaces most of the Bash with
konflux-build-cli image build. Other steps still use Bash, this will change soon.

We expect version 0.10 to behave the same as version 0.9 for the vast majority
of use cases. All known (minor) differences documented below.

Added
  • The vcs-url label. Previously, the task would inject the following vcs-related labels:
    • org.opencontainers.image.revision and its legacy counterpart,
      vcs-ref
    • org.opencontainers.image.source and nothing else
      • Version 0.10 adds the missing legacy counterpart, vcs-url
Changed
  • The precedence of default annotations (those injected by the task automatically)
    • Before: ANNOTATIONS_FILE < ANNOTATIONS < default annotations
    • Now: default annotations < ANNOTATIONS_FILE < ANNOTATIONS
  • When handling the YUM_REPOS_D_SRC and YUM_REPOS_D_FETCHED directories,
    injects only regular files into /etc/yum.repos.d. Previously, the task would
    inject the directories as a whole. /etc/yum.repos.d is a flat structure, so
    the task now injects only regular files to avoid injecting unexpected content.
  • Prefetch integration:
    • Looks for both prefetch.env and cachi2.env in the prefetch dir (in this order).
      Version 0.3.1 of the prefetch task added prefetch.env and a future version
      will remove cachi2.env.
    • Doesn't rely specifically on cachi2.repo files to enable RPM integration,
      just needs any *.repo file at the expected path.
    • In case the YUM_REPOS_D_SRC or YUM_REPOS_D_FETCHED directories contain
      a repo file with the same name as the repo file from Hermeto, the Hermeto
      repo takes precedence. Previously, YUM_REPOS_* would take precedence.
    • Doesn't copy the prefetch files to /tmp, instead copies them to a directory
      on the same filesystem as the original files. This uses copy-on-write and avoids
      duplicating the underlying data.
  • Red Hat subscription-manager integration:
    • Will mount the RHSM CA certificates into the build in two cases:
      • When using ACTIVATION_KEY and the containerfile doesn't include
        subscription-manager register (same as before)
      • When using ENTITLEMENT_SECRET (not done before and should have been)
    • When mounting RHSM CA certificates, mounts the whole /etc/rhsm/ca directory
      instead of mounting a specific file. This closes #​1621.
Fixed
  • Injecting metadata to /usr/share/buildinfo and /root/buildinfo:
    • Does not write any new files or modify any existing files in the source directory,
      injects the files using a separate build-context.
    • Will log a warning if the TARGET param is set and SKIP_INJECTIONS=false
      (using TARGET disables metadata injection anyway). Metadata injection never
      worked with a non-default target, version 0.10 just adds the warning.
    • Injecting labels.json:
      • Will skip LABEL instructions in stages that don't affect the labels of the final image.
      • Will correctly omit the io.buildah.version label when SOURCE_DATE_EPOCH is non-empty.
        Previously, labels.json would always include io.buildah.version.
  • Pre-pulling base images for hermetic builds and base-arch verification (see 0.9.4):
    • Also pulls images referenced in COPY --from=$image and RUN --mount=from=$image.
      Previously, would only pull images referenced as FROM $image.
    • Does not pull images for unused stages (unless SKIP_UNUSED_STAGES=false).
    • Will skip image references with transports that don't
      represent pullable images. Specifically, will only pull transport-less references
      and docker:// references. Previously, the task would skip oci-archive: references
      but fail on any other kind of non-standard reference.
  • Modifying the containerfile to set prefetch environment variables in RUN instructions:
    • No longer mangles RUN instructions that use the exec form or a bare here-doc.
      Instead skips the instruction and logs a warning.

      RUN ["echo", "skips exec-form commands"]
      
      RUN <<EOF
      echo "skips bare heredocs"
      EOF
      
      RUN bash -e <<EOF
      echo "supports heredocs if they start with something other than the <<marker"
      EOF
      • This partially fixes #​1200, in the sense that the containerfile at least
        doesn't become broken. The unsupported instructions don't automatically get
        the variables that may be required to make the hermetic build work though.
    • Fixes dozens of small bugs that most users never would have hit. For example,
      version 0.10:

      • Doesn't mangle heredoc lines that look line RUN instructions
      • Doesn't inject text into the middle of a string with quoted/escaped whitespace
      • Properly handles backtick-escaped containerfiles

Configuration

📅 Schedule: Branch creation - Every minute ( * * * * * ) in timezone UTC, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux Bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. labels Jun 2, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 2, 2026

Warning

Review limit reached

@red-hat-konflux[bot], we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 9 minutes and 45 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: d7d24808-d73e-4b5a-84dd-e82c4f03eaf1

📥 Commits

Reviewing files that changed from the base of the PR and between f62f15c and 63ec3ab.

📒 Files selected for processing (2)
  • .tekton/lightspeed-console-pull-request.yaml
  • .tekton/lightspeed-console-push.yaml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch konflux/references/main

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci Bot requested review from JoaoFula and kyoto June 2, 2026 18:05
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Jun 2, 2026

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

1 similar comment
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Jun 2, 2026

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants