-
-
Notifications
You must be signed in to change notification settings - Fork 5
Convert actions to Ubuntu 24.04 #3664
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,7 +17,7 @@ jobs: | |
| matrix: | ||
| # Environments in which to run, such as those used in development and production, or which are candidates to | ||
| # move to. | ||
| os: ["ubuntu-22.04"] | ||
| os: ["ubuntu-24.04"] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚩 Incomplete OS migration across workflow files Several other workflow files still reference Was this helpful? React with 👍 or 👎 to provide feedback.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's also update That change may as well be in this PR, but I won't hold up approval for that. |
||
| dotnet_version: ["8.0.x"] | ||
| node_version: ["22.13.0"] | ||
| npm_version: ["11.11.0"] | ||
|
|
@@ -133,7 +133,7 @@ jobs: | |
| name: "Production build and test" | ||
| strategy: | ||
| matrix: | ||
| os: ["ubuntu-22.04"] | ||
| os: ["ubuntu-24.04"] | ||
| dotnet_version: ["8.0.x"] | ||
| node_version: ["22.13.0"] | ||
| npm_version: ["11.11.0"] | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,7 +16,7 @@ jobs: | |
| name: "Prepare Realtime Server backend" | ||
| strategy: | ||
| matrix: | ||
| os: ["ubuntu-22.04"] | ||
| os: ["ubuntu-24.04"] | ||
| dotnet_version: ["8.0.x"] | ||
| node_version: ["22.13.0"] | ||
| npm_version: ["11.11.0"] | ||
|
|
@@ -78,7 +78,7 @@ jobs: | |
| needs: [prepare-realtimeserver-backend] | ||
| strategy: | ||
| matrix: | ||
| os: ["ubuntu-22.04"] | ||
| os: ["ubuntu-24.04"] | ||
| dotnet_version: ["8.0.x"] | ||
| node_version: ["22.13.0"] | ||
| npm_version: ["11.11.0"] | ||
|
|
@@ -148,7 +148,7 @@ jobs: | |
| needs: [prepare-realtimeserver-backend] | ||
| strategy: | ||
| matrix: | ||
| os: ["ubuntu-22.04"] | ||
| os: ["ubuntu-24.04"] | ||
| dotnet_version: ["8.0.x"] | ||
| node_version: ["22.13.0"] | ||
| npm_version: ["11.11.0"] | ||
|
|
@@ -230,7 +230,7 @@ jobs: | |
| needs: [prepare-realtimeserver-backend] | ||
| strategy: | ||
| matrix: | ||
| os: ["ubuntu-22.04"] | ||
| os: ["ubuntu-24.04"] | ||
| dotnet_version: ["8.0.x"] | ||
| node_version: ["22.13.0"] | ||
| npm_version: ["11.11.0"] | ||
|
|
@@ -291,7 +291,7 @@ jobs: | |
| environment: "e2e_tests" | ||
| strategy: | ||
| matrix: | ||
| os: ["ubuntu-22.04"] | ||
| os: ["ubuntu-24.04"] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚩 Ansible playbook also references The E2E tests workflow runs Was this helpful? React with 👍 or 👎 to provide feedback.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think it's a problem. And the E2E build passed. |
||
| dotnet_version: ["8.0.x"] | ||
| node_version: ["22.13.0"] | ||
| npm_version: ["11.11.0"] | ||
|
|
||
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.
🔴
chromium-browsercommand likely unavailable on ubuntu-24.04 runners, causing CI failureThe OS is changed from
ubuntu-22.04toubuntu-24.04, but the "Pre-build report" steps at.github/workflows/build-and-test.yml:65-66and.github/workflows/build-and-test.yml:180-181still referencechromium-browser(viawhich chromium-browserandchromium-browser --version). On Ubuntu 24.04, thechromium-browserapt package became a snap transitional package, and GitHub Actions runners don't support snap well. The Chromium binary on ubuntu-24.04 is typically namedchromiumrather thanchromium-browser. Because these steps run withset -xueo pipefail, a failedwhich chromium-browsercommand will immediately fail the entire job.Affected lines in build-and-test.yml
Lines 65-66 (build-development job):
Lines 180-181 (build-production job):
Prompt for agents
Was this helpful? React with 👍 or 👎 to provide feedback.
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.
The manifest shows that Chromium is at least in the Ubuntu 24.04 runner. Checking a runner's logs from this PR, we see
So it looks like it is fine.