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

Fix incorrect tag in BuildConfig. #613

Merged
merged 1 commit into from
May 23, 2017

Conversation

kadel
Copy link
Member

@kadel kadel commented May 23, 2017

For services with build and image keys DeploymentConfig respects tag from docker-compose image key.
But BuildConfig image tag was always set to 'latest'.
Result of this was that deployment wasn't trigired after successful build.
This fixes it by setting BuildConfig output image tag to the same tag that is used for DeploymentConfig (tag from docker-compose image key)

fixes #611

For services with build and image keys DeploymentConfig respects tag from docker-compose image key.
But BuildConfig image tag was always set to  'latest'.
Result of this was that deployment wasn't trigired after successful build.
This fixes it by setting BuildConfig output image tag to the same tag that is used for  DeploymentConfig (tag from docker-compose image key)
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 23, 2017
@kadel
Copy link
Member Author

kadel commented May 23, 2017

This PR includes small refactoring for TestInitBuildConfig function.
The way it was done before was making it hard to add new test for new services.

@cdrage
Copy link
Member

cdrage commented May 23, 2017

LGTM 👍

@surajnarwade
Copy link
Contributor

LGTM 👍

@cdrage cdrage merged commit 93f5c01 into kubernetes:master May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

image tag name absent from generated imagestream config
4 participants