-
Notifications
You must be signed in to change notification settings - Fork 57
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
Comments
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. |
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... |
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. |
Should be able to add git to the list of deps and move deps to install before action/checkout. See actions/checkout#238 |
I can't see from that thread what the obvious answer is? |
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 |
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.
The text was updated successfully, but these errors were encountered: