-
Notifications
You must be signed in to change notification settings - Fork 890
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 multi-cloud support (#634) #973
Conversation
@@ -206,6 +207,94 @@ jenkins: | |||
{{- end }} | |||
{{- end }} | |||
{{- end }} | |||
{{- if .Values.additionalClouds }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you add a unit test for this please?
https://github.com/jenkinsci/helm-charts/blob/main/CONTRIBUTING.md#unit-tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks great, can you add a changelog entry please
…arts into feature-multi-cloud
Wow! This review was fast ⚡ Thanks! |
I see now some IDs in the tests are failing. And the other error is regarding the jenkins-agent image tag. I'll fix those and push the changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What does this PR do?
credentialsId
for the main cloud and the additional clouds.If you modified files in the
./charts/jenkins/
directory, please also include the following:Submitter checklist
Special notes for your reviewer
I did not do the tasks in "Submitter checklist" because I want to gather feedback on my changes. If I'm going in the right direction I will be happy to do all those tasks!
I tried to do the
additionalClouds
feature the same way theadditionalAgents
feature was built in: by looping through the items and merging to the main template. I also stored the state before the loop and restored it after the loop ends.