Skip to content

Update Ubuntu-version (GitHub Runner)#81

Merged
VitorSouzaLNLS merged 7 commits intomasterfrom
update-ubuntu-runner
Jun 6, 2025
Merged

Update Ubuntu-version (GitHub Runner)#81
VitorSouzaLNLS merged 7 commits intomasterfrom
update-ubuntu-runner

Conversation

@VitorSouzaLNLS
Copy link
Copy Markdown
Contributor

@VitorSouzaLNLS VitorSouzaLNLS commented Apr 30, 2025

The latest Trackcpp commits and PRs have been failing to build on GitHub Actions. All failures show the same message: "This is a scheduled Ubuntu 20.04 retirement. Ubuntu 20.04 LTS runner will be removed on 2025-04-15. For more details, see actions/runner-images#11101"

According to this, the GitHub runner image ubuntu-20.04 has been deprecated and was deactivated on April 15th, 2025.

This PR updates the image to ubuntu-latest as suggested.

Alternatively, we can also choose a specific version among ubuntu-22.04 or ubuntu-24.04.

@VitorSouzaLNLS VitorSouzaLNLS marked this pull request as ready for review April 30, 2025 13:16
@VitorSouzaLNLS VitorSouzaLNLS marked this pull request as draft April 30, 2025 13:40
Adjust BEAR command input: now BEAR requires two dashes and a space before the command itself.
Changed `bear make -j(nproc)` to `bear -- make -j(nproc)`.
@VitorSouzaLNLS VitorSouzaLNLS marked this pull request as ready for review April 30, 2025 13:57
@fernandohds564
Copy link
Copy Markdown
Contributor

I think we should choose an specific version, probably the closest one to Debian 12. Actually, can we test it against Debian? What do you think @anacso17 and @xresende ?

@xresende
Copy link
Copy Markdown
Contributor

xresende commented May 1, 2025

I think we should choose an specific version, probably the closest one to Debian 12. Actually, can we test it against Debian? What do you think @anacso17 and @xresende ?

I agree in principle we chose choose the closest to debian 12. let us sse what @anacso17 says. they might have a software roadmap we migth not know yet.

@anacso17
Copy link
Copy Markdown
Contributor

Hi guys

Actually, can we test it against Debian?

The options for linux runners GitHub Actions make available are only ubuntu, not debian.

I had the same problem in dev-packages and mathphys, and we had moved to ubuntu-22.04 (https://github.com/lnls-sirius/dev-packages/blob/master/.github/workflows/test-siriuspy.yml#L7, https://github.com/lnls-fac/mathphys/blob/master/.github/workflows/test-mathphys.yml#L7), which is near to debian11 (which we are using for IOCs container images). Maybe we can test for both ubuntu-22.04 and ubuntu-24.04 (which is near to debian12).

ubuntu-latest -> ubuntu-22.04
@fernandohds564
Copy link
Copy Markdown
Contributor

@VitorSouzaLNLS , @anacso17 suggestion was to test on both, Ubuntu 22 and 24. Is it possible to do that?

@anacso17
Copy link
Copy Markdown
Contributor

anacso17 commented Jun 6, 2025

@VitorSouzaLNLS , @anacso17 suggestion was to test on both, Ubuntu 22 and 24. Is it possible to do that?

done!

@VitorSouzaLNLS VitorSouzaLNLS merged commit d2fb34e into master Jun 6, 2025
2 checks passed
@VitorSouzaLNLS VitorSouzaLNLS deleted the update-ubuntu-runner branch June 6, 2025 01:19
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.

4 participants