ansible: retire Alpine 3.6, introduce 3.8 #1446
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is just a copy of the Alpine 3.7 Dockerfile, local testing suggests it's good as is for 3.8.
I'll confirm locally that it's good for our major branches before pushing into our infra. Updating our infra involves the following steps FYI:
test-digitalocean-alpine38_container-x64-1
and grabbing the secrets.alpine36
lines and adding newalpine38
lines like this:- { name: 'test-digitalocean-alpine38_container-x64-1', os: 'alpine38', secret: '<secret here>' }
(theos
descriptor here fetches the right Dockerfile).alpine-latest
andalpine-last-latest
(or whatever they are) labels in Jenkins to point to 3.8 and 3.7 respectively. We only use labels in jobs so no need to go editing jobs manually.a.
systemctl stop jenkins-test-digitalocean-alpine37_container-x64-1
b.
systemctl disable jenkins-test-digitalocean-alpine37_container-x64-1
c.
rm /lib/systemd/system/jenkins-test-digitalocean-alpine37_container-x64-1.service
d.
systemctl daemon-reload
e.
systemctl reset-failed
(aren't you so happy that systemd is our overlord now? this is all perfectly intuitive)f.
docker rmi test-digitalocean-alpine37_container-x64-1
g.
docker system prune -f
It's been a while since some of the images we have deployed were updated so it might be a good chance to flush out all images and rebuild from scratch, but that's going to have to happen one machine at a time so as not to cause disruption.