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

Add openshift.io/build-config.name label to builds #5493

Merged

Conversation

php-coder
Copy link
Contributor

@bparees @mfojtik PTAL

I didn't update pkg/build/api/v1/types.go and pkg/build/api/v1beta3/types.go files. I'm not sure about them.

Also may be I also should update/fix something in UI because if this change? May be selectors or something else?

Fixes #4810

BuildConfigLabel = "openshift.io/build-config.name"
// OldBuildConfigLabel was used as BuildConfigLabel before adding namespaces.
// We keep it for backward compatibility.
OldBuildConfigLabel = "buildconfig"
Copy link
Contributor

Choose a reason for hiding this comment

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

call it DeprecatedBuildConfigLabel

@bparees
Copy link
Contributor

bparees commented Oct 29, 2015

I didn't update pkg/build/api/v1/types.go and pkg/build/api/v1beta3/types.go files. I'm not sure about them.

you should actually go ahead and remove those constants, nothing should be referencing them there.

Label "buildconfig" is only kept for backward compatibility.
@php-coder php-coder force-pushed the gh4810_namespaced_build_confg branch from c1a2a41 to 9dff7b1 Compare October 30, 2015 10:30
@php-coder
Copy link
Contributor Author

@bparees I've fixed all your comments. Thanks!

@mfojtik
Copy link
Contributor

mfojtik commented Oct 30, 2015

LGTM [merge]

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/3857/) (Image: devenv-rhel7_2604)

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 9dff7b1

@openshift-bot
Copy link
Contributor

[Test]ing while waiting on the merge queue

@php-coder php-coder changed the title [WIP] Add openshift.io/build-config.name label to builds Add openshift.io/build-config.name label to builds Oct 30, 2015
@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 9dff7b1

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/6434/)

openshift-bot pushed a commit that referenced this pull request Oct 30, 2015
@openshift-bot openshift-bot merged commit 27c0ca8 into openshift:master Oct 30, 2015
@php-coder php-coder deleted the gh4810_namespaced_build_confg branch December 9, 2015 14:51
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.

Build Labels are not namespaced
4 participants