-
Notifications
You must be signed in to change notification settings - Fork 47
PMM-7 Refactor launchSpotInstance function #3491
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
base: master
Are you sure you want to change the base?
Conversation
ce35638
to
ccfe591
Compare
ccfe591
to
fb4906a
Compare
935f364
to
eaebd5f
Compare
eaebd5f
to
bb25f9b
Compare
@ademidoff The Key=stop-after-days,Value=${DAYS} ```
This variable appears to be expected from the calling context, but it would be better to pass it as an explicit parameter to the `runSpotInstance` function for clarity and to avoid potential undefined variable errors. |
The library reference needs to be updated before merging: library changelog: false, identifier: 'v3lib@PMM-7-refactor-launch-spot-instance-fn', retriever: modernSCM( This should be changed back to |
…ercona-Lab/jenkins-pipelines into PMM-7-refactor-launch-spot-instance-fn
Done. |
We have a number of I do agree that explicitly passing the variables is much easier to reason about and support, but that would be require us to make changes to almost every other pipeline and then test them all. |
runSpotInstance.groovy
with significant optimizations, such as removal of the second volume which was not being mounted and used.pmm3-aws-staging-start.groovy
with various fixes, cleanups, and improvements.pmm3-release-candidate.groovy
.