build: updated ubuntu version to latest#207
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the Ubuntu runner version from ubuntu-24.04 to ubuntu-latest across all GitHub Actions workflow files that were using the pinned version. The change aligns with ticket BOMS-285 to keep Ubuntu runners on the latest available version.
Key Changes:
- Updated Ubuntu runner specification from pinned version to latest tag across all workflow files
- Ensures consistency in using
ubuntu-latestfor all Ubuntu-based CI jobs
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| .github/workflows/quality.yml | Updated runs-on specification from ubuntu-24.04 to ubuntu-latest for quality checks job |
| .github/workflows/provisioning-tests.yml | Updated matrix OS configuration from ubuntu-24.04 to ubuntu-latest for provisioning tests |
| .github/workflows/cli-tests.yml | Updated matrix OS image from ubuntu-24.04 to ubuntu-latest for Linux CLI tests |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| run_ci: | ||
| runs-on: ubuntu-24.04 | ||
| runs-on: ubuntu-latest |
There was a problem hiding this comment.
Using 'ubuntu-latest' instead of a pinned version like 'ubuntu-24.04' can lead to non-reproducible CI builds. When GitHub updates the 'ubuntu-latest' tag to a newer Ubuntu version, workflows may behave differently or break unexpectedly without any code changes. Consider using a specific Ubuntu version for more predictable and reproducible CI builds. If you need to use the latest version, consider documenting the reason and having a process to validate workflows when ubuntu-latest is updated by GitHub.
| runs-on: ubuntu-latest | |
| runs-on: ubuntu-24.04 |
| matrix: | ||
| os: | ||
| - ubuntu-24.04 | ||
| - ubuntu-latest |
There was a problem hiding this comment.
Using 'ubuntu-latest' instead of a pinned version like 'ubuntu-24.04' can lead to non-reproducible CI builds. When GitHub updates the 'ubuntu-latest' tag to a newer Ubuntu version, workflows may behave differently or break unexpectedly without any code changes. Consider using a specific Ubuntu version for more predictable and reproducible CI builds. If you need to use the latest version, consider documenting the reason and having a process to validate workflows when ubuntu-latest is updated by GitHub.
| - ubuntu-latest | |
| - ubuntu-24.04 |
| os: | ||
| - name: linux | ||
| image: ubuntu-24.04 | ||
| image: ubuntu-latest |
There was a problem hiding this comment.
Using 'ubuntu-latest' instead of a pinned version like 'ubuntu-24.04' can lead to non-reproducible CI builds. When GitHub updates the 'ubuntu-latest' tag to a newer Ubuntu version, workflows may behave differently or break unexpectedly without any code changes. Consider using a specific Ubuntu version for more predictable and reproducible CI builds. If you need to use the latest version, consider documenting the reason and having a process to validate workflows when ubuntu-latest is updated by GitHub.
| image: ubuntu-latest | |
| image: ubuntu-24.04 |
Description
Updating the latest version of ubuntu
Ticket Reference
https://2u-internal.atlassian.net/browse/BOMS-285