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

Handle GitHub's 18.04 runner image deprecation #87

Closed
sudara opened this issue Aug 19, 2022 · 6 comments
Closed

Handle GitHub's 18.04 runner image deprecation #87

sudara opened this issue Aug 19, 2022 · 6 comments

Comments

@sudara
Copy link
Collaborator

sudara commented Aug 19, 2022

Unfortunately, it looks like like 18.04 is actively being deprecated.

GitHub will actually brownout (periodically fail jobs) during this deprecation period actions/runner-images#6002

Perhaps building on 20.04 would be good enough for backwards compat with 18.04?... I don't have a way of testing this otherwise I'd make the change.

@drowaudio
Copy link
Contributor

Unfortunately I don’t think it will. We’ll probably have to go down the Docker route.

that should be straightforward but I was having problems with outdated Git versions in the Docker image last time I tried this.

@sudara sudara changed the title Update Linux Runner to 20.04 Handle GitHub's 18.04 runner image deprecation Aug 27, 2022
@sudara
Copy link
Collaborator Author

sudara commented Aug 27, 2022

Looks like we might be able to try out the official 18.04 container, might just need some config wrangling to making the container option only kick in for linux...

actions/runner-images#6002 (comment)

@drowaudio
Copy link
Contributor

I don't know if you can see this but I'm trying it out here: https://github.com/Tracktion/pluginval/runs/8089795529?check_suite_focus=true

The problem seems to be that that Docker image has an old version of Git and I'm not sure how to update it. Ideally we'd use a Docker image that was the same as the GitHub Actions one but I don't know if such a thing exists.

@sudara
Copy link
Collaborator Author

sudara commented Aug 30, 2022

Should be able to add git to the list of deps and move deps to install before action/checkout. See actions/checkout#238

@drowaudio
Copy link
Contributor

I can't see from that thread what the obvious answer is?
I think I tried doing a sudo apt-get update but I then got an error saying sh isn't recognised or something similar..

@sudara
Copy link
Collaborator Author

sudara commented Aug 30, 2022

Sorry, was short because I was on mobile. The bottom of that issue has a "workaround on Ubuntu 18.04" which adds the ppa for git and apt-get installs git.

Since we're already doing a lot of apt installing, I was suggesting we add the git stuff "Install Linux Deps" step and move that before the actions/checkout step.

However, looks like the linux env will need some more serious setup. For example, sudo isn't installed (I think that's the error you saw, we can just avoid sudo) and neither is add-apt-repository and who knows what else.... here's a run in progress with a few things added https://github.com/sudara/pluginval/runs/8095827716?check_suite_focus=true

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