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

Ubuntu 22.10 is end of life #4

Closed
yorickpeterse opened this issue Oct 6, 2023 · 3 comments
Closed

Ubuntu 22.10 is end of life #4

yorickpeterse opened this issue Oct 6, 2023 · 3 comments

Comments

@yorickpeterse
Copy link

The CI job used to build the image uses the 22.10 version of Ubuntu, which is end of life (https://fridge.ubuntu.com/2023/06/14/ubuntu-22-10-kinetic-kudu-reaches-end-of-life-on-july-20-2023/). It seems this results in apt update failing, as seen in https://github.com/inko-lang/freebsd-builder/actions/runs/6436773502/job/17480859221.

My workaround is to use ubuntu:latest instead, but this should probably be incorporated into this repository as well. If that's OK I'd be happy to set up a pull request for it 😄

@yorickpeterse
Copy link
Author

To add to that: given the container version is the same as the host Ubuntu runner (I think at least), it begs the question if the container is actually necessary in the first place. Perhaps it's easier to just run on the runner directly?

@jacob-carlborg
Copy link
Contributor

The runner is already ubuntu:latest:

runs-on: ubuntu-latest

But I guess the container needs to be updated.

GitHub has a tendency to break the runners, like removing packages/libraries. This happened recently [1]. By running inside a container we're in more control of what packages and libraries are available and hopefully mitigate that issue.

[1] cross-platform-actions/action#62 (comment)

@yorickpeterse
Copy link
Author

@jacob-carlborg Ah gotcha. The fix I applied was to just use ubuntu:latest for the container. That seems to work fine, though using a fixed LTS version may be better for stability/consistency.

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

No branches or pull requests

2 participants