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

Pin some runner images #9717

Merged
merged 1 commit into from
Dec 4, 2024
Merged

Conversation

alexcrichton
Copy link
Member

For the larger test/build jobs use some variables in the *.js files calculating the matrix to pin the images to fixed versions of GitHub actions images. For the main.yml file instead of changing everything over to a pin only do the ones that are currently failing on the ubuntu-24.04 update. The hope is that there's only a few locations to update pinned versions in the future, and we'll need to keep an eye on CI warnings and such to know when to update these pins in the future.

For the larger test/build jobs use some variables in the `*.js` files
calculating the matrix to pin the images to fixed versions of GitHub
actions images. For the `main.yml` file instead of changing everything
over to a pin only do the ones that are currently failing on the
`ubuntu-24.04` update. The hope is that there's only a few locations to
update pinned versions in the future, and we'll need to keep an eye on
CI warnings and such to know when to update these pins in the future.
@alexcrichton alexcrichton requested a review from a team as a code owner December 3, 2024 16:41
@alexcrichton alexcrichton requested review from pchickey and removed request for a team December 3, 2024 16:41
@alexcrichton
Copy link
Member Author

(result of learnings from #9715)

@alexcrichton
Copy link
Member Author

For some longer-form rationale, my thinking here is it's not an unreasonable default to stick to *-latest by default, but for the "big" jobs it's probably more reasonable to use versioned images by default and explicitly update them to catch issues. That's where the *.js files all use versioned images and unfortunately we need two versioned images in main.yml, but I'm thinking we shouldn't go "version all the things" in the main.yml file just yet.

@alexcrichton alexcrichton requested review from cfallin and removed request for pchickey December 4, 2024 01:25
@cfallin cfallin added this pull request to the merge queue Dec 4, 2024
Merged via the queue into bytecodealliance:main with commit 8df32f7 Dec 4, 2024
40 checks passed
@alexcrichton alexcrichton deleted the pin-ci-images branch December 4, 2024 15:28
alexcrichton added a commit to alexcrichton/wasmtime that referenced this pull request Dec 4, 2024
Manually updating some images after the pinning in bytecodealliance#9717. There's a few
more images after this but this should be the lion's share of the update.

prtest:full
github-merge-queue bot pushed a commit that referenced this pull request Dec 4, 2024
Manually updating some images after the pinning in #9717. There's a few
more images after this but this should be the lion's share of the update.

prtest:full
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.

2 participants