Skip to content

NO-JIRA: Fix COPY path in Dockerfile.art for Konflux builds - #176

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:release-coo-1.5from
redhat-chai-bot:fix-dockerfile-copy-path
Sep 17, 2026
Merged

openshift-merge-bot[bot] merged 1 commit into
openshift:release-coo-1.5from
redhat-chai-bot:fix-dockerfile-copy-path

Conversation

@redhat-chai-bot

Copy link
Copy Markdown

Summary

Fix the COPY source path in Dockerfile.art to match the actual repository layout.

Problem

The current Dockerfile uses COPY alertmanager/ . which expects the source code to be in an alertmanager/ subdirectory. However, the source code in this repository lives at the root level — there is no alertmanager/ directory. This causes Konflux builds to fail with:

COPY failed: file not found in build context: stat alertmanager: file does not exist

Fix

Change COPY alertmanager/ . to COPY . . so the source is copied from the build context root (where it actually lives) into the build WORKDIR.


AI-generated. Review for accuracy.

@joepvd requested in Slack thread

@openshift-merge-bot

Copy link
Copy Markdown

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: LGTM mode

@coderabbitai

coderabbitai Bot commented Sep 16, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Advanced

Run ID: 4b75f611-0e4e-4b06-b57a-89eee7d8e5ca

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

@jan--f

jan--f commented Sep 16, 2026

Copy link
Copy Markdown

/lgtm

@openshift-ci openshift-ci Bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Sep 16, 2026
@jan--f jan--f changed the title Fix COPY path in Dockerfile.art for Konflux builds [NOJIRA] Fix COPY path in Dockerfile.art for Konflux builds Sep 16, 2026

@simonpasquier simonpasquier left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci

openshift-ci Bot commented Sep 16, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jan--f, redhat-chai-bot, simonpasquier

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:
  • OWNERS [jan--f,simonpasquier]

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

@machine424

Copy link
Copy Markdown

/retitle NO-JIRA: Fix COPY path in Dockerfile.art for Konflux builds

@redhat-chai-bot. why using [NOJIRA]? see https://docs.ci.openshift.org/architecture/jira/#non-bug-jira-references

@openshift-ci openshift-ci Bot changed the title [NOJIRA] Fix COPY path in Dockerfile.art for Konflux builds NO-JIRA: Fix COPY path in Dockerfile.art for Konflux builds Sep 17, 2026
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Sep 17, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@redhat-chai-bot: This pull request explicitly references no jira issue.

Details

In response to this:

Summary

Fix the COPY source path in Dockerfile.art to match the actual repository layout.

Problem

The current Dockerfile uses COPY alertmanager/ . which expects the source code to be in an alertmanager/ subdirectory. However, the source code in this repository lives at the root level — there is no alertmanager/ directory. This causes Konflux builds to fail with:

COPY failed: file not found in build context: stat alertmanager: file does not exist

Fix

Change COPY alertmanager/ . to COPY . . so the source is copied from the build context root (where it actually lives) into the build WORKDIR.


AI-generated. Review for accuracy.

@joepvd requested in Slack thread

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@redhat-chai-bot

Copy link
Copy Markdown
Author

Thanks @machine424 — the [NOJIRA] prefix was added automatically by the jira lifecycle plugin. I didn't include a Jira reference prefix in the original title. I'll use NO-JIRA: on the other PRs too.


AI-generated. Review for accuracy.

@openshift-merge-bot
openshift-merge-bot Bot merged commit e2838fc into openshift:release-coo-1.5 Sep 17, 2026
2 checks passed
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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants