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

Make container repository configurable #1436

Merged
merged 4 commits into from
Oct 16, 2024

Conversation

maximenoel8
Copy link
Contributor

@maximenoel8 maximenoel8 commented Oct 16, 2024

Context

Currently, when we have a new container image, we need to modify main.tf.
Create a variable for it and make it accessible at Jenkins level.

Related to: https://github.com/SUSE/spacewalk/issues/25212

@maximenoel8 maximenoel8 self-assigned this Oct 16, 2024
@maximenoel8
Copy link
Contributor Author

Tested on 4.3 sle maintenance update pipeline and 5.0 BV NUE pipeline.

Copy link
Member

@ktsamis ktsamis left a comment

Choose a reason for hiding this comment

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

Instead of deleting the string with the urls please move it to the top where you put the variable because each branch and pipeline has their own and we can't miss that we need them. But as soon as that's done seems fine otherwise the PR

@maximenoel8
Copy link
Contributor Author

maximenoel8 commented Oct 16, 2024

Hi @ktsamis, if you look at jenkins_pipelines/environments/uyuni-master-qe-build-validation-NUE changes, you will see the url has been moved to the Jenkins description. Do you want it as default value in main.tf ?

Copy link
Member

@ktsamis ktsamis left a comment

Choose a reason for hiding this comment

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

Forget my comment, I saw the defaults now are in the jenkins defaults

@maximenoel8 maximenoel8 merged commit 14faac9 into SUSE:master Oct 16, 2024
1 check passed
@maximenoel8 maximenoel8 deleted the make_container_configurable branch October 16, 2024 09:30
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.

5 participants