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

Dump generated BC labels into file (release.json) during jenkins build #89

Closed
clemensutschig opened this issue May 17, 2019 · 2 comments · Fixed by #90
Closed

Dump generated BC labels into file (release.json) during jenkins build #89

clemensutschig opened this issue May 17, 2019 · 2 comments · Fixed by #90
Labels
enhancement New feature or request

Comments

@clemensutschig
Copy link
Member

clemensutschig commented May 17, 2019

https://github.com/opendevstack/ods-jenkins-shared-library/blob/master/vars/stageStartOpenshiftBuild.groovy#L20-L28

generates the BC patch json - with the ods specific labels. at this stage we could also dump this into a file that is baked into the image (release.json) ..

Great news is that additional entries can be already added :) - but as BC build args only
https://github.com/opendevstack/ods-jenkins-shared-library/blob/master/vars/stageStartOpenshiftBuild.txt#L7

@michaelsauter - we should document this a little better :)

https://github.com/opendevstack/ods-jenkins-shared-library/blob/master/vars/stageStartOpenshiftBuild.groovy#L1 - should be extended for imagelabels = [:]

@clemensutschig clemensutschig added the enhancement New feature or request label May 17, 2019
@clemensutschig clemensutschig added this to In Progress in OpenDevStack 1.1.0 May 17, 2019
@clemensutschig
Copy link
Member Author

image

@clemensutschig
Copy link
Member Author

file generated is called release.json and can be used in the dockerfile thru ADD / COPY release.json ....

@clemensutschig clemensutschig moved this from In Progress to Done in OpenDevStack 1.1.0 May 21, 2019
michaelsauter pushed a commit to BIX-Digital/ods-jenkins-shared-library that referenced this issue Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant