Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore(jenkinsfile): use spot instance for the first try or falls back to on-demand #1352

Merged
merged 2 commits into from
Sep 1, 2023

Conversation

smerle33
Copy link
Contributor

@smerle33 smerle33 commented Sep 1, 2023

as per jenkins-infra/helpdesk#3673 (comment)

this PR select a spot instance on first try or falls back to on-demand.

spot instance ensure that most of the builds are cheap but we don't want builds to fail due to infra issues.

Jenkinsfile Outdated Show resolved Hide resolved
@dduportal
Copy link
Collaborator

Replaying the build as admin to ensure the change is run in the PR check

@dduportal dduportal added the chore label Sep 1, 2023
@dduportal
Copy link
Collaborator

We replayed the build a second time and kille the high meme agents while running to check the outcome.

  • Spot instances are used for the first try during the 2 builds as expected
  • The retry switches to an on-demand instance to completion

LGTM!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants