Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

executor: apply label to only final stage via --label #4817

Merged

Conversation

flouthoc
Copy link
Collaborator

In #4673 we made a change were we were applying labels to end of each stage, which is different than what we were doing before i.e applying label at the end of the each step.

However buildkit does not adds label to any stage or steps it only adds label at the end of final stage so lets do that.

Closes: #4804

What type of PR is this?

/kind api-change
/kind bug
/kind cleanup
/kind deprecation
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake
/kind other

What this PR does / why we need it:

How to verify it

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?

executor: apply label to only final stage

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 26, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: flouthoc

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

The pull request process is described here

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

@flouthoc
Copy link
Collaborator Author

flouthoc commented May 26, 2023

Dont think conformance failures are related to this PR, looks like temporary outage.

Error:      	Expected nil, but got: &jsonmessage.JSONError{Code:0, Message:"Get \"https://registry.centos.org/v2/\": dial tcp: lookup registry.centos.org: no such host"}

@rhatdan
Copy link
Member

rhatdan commented May 26, 2023

LGTM

@TomSweeneyRedHat
Copy link
Member

Looks like #4818 is also having conformance test issues. Ping @edsantiago

@TomSweeneyRedHat
Copy link
Member

a nitty comment suggestion, otherwise LGTM once the conformance tests are righted.

In containers#4673 we made a change were
we were applying labels to end of each stage, which is different than
what we were doing before i.e applying label at the end of the each
step.

However buildkit does not adds label to any stage or steps it only adds
label at the end of final stage so lets do that.

Closes: containers#4804

Signed-off-by: Aditya R <arajan@redhat.com>
@flouthoc
Copy link
Collaborator Author

Rebased after #4819

@rhatdan
Copy link
Member

rhatdan commented May 27, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm label May 27, 2023
@openshift-merge-robot openshift-merge-robot merged commit a09f0ad into containers:main May 27, 2023
32 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

labels are still being applied to intermediate images
4 participants