Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Tag xenial builds as latest#409

Merged
vbrown608 merged 1 commit intoxenialfrom
tag-xenial-with-latest
May 4, 2020
Merged

Tag xenial builds as latest#409
vbrown608 merged 1 commit intoxenialfrom
tag-xenial-with-latest

Conversation

@vbrown608
Copy link
Copy Markdown
Contributor

For now, xenial represents our most up-to-date build image. We should follow Docker conventions and tag it as latest.

Application of the latest tag is based on https://www.jenkins.io/doc/book/pipeline/docker/. I'm not a jenkins expert so feedback is welcome!

@vbrown608 vbrown608 requested a review from a team as a code owner May 1, 2020 01:53
@vbrown608 vbrown608 added the type: chore work needed to keep the product and development running smoothly label May 1, 2020
@mheffner
Copy link
Copy Markdown
Contributor

mheffner commented May 1, 2020

Could we stop referencing the latest tag in our CI instead and explicitly reference xenial? I always felt latest was somewhat a misnomer, so referencing directly by the branch/version we want might be clearer? 🤷

@Benaiah
Copy link
Copy Markdown
Contributor

Benaiah commented May 1, 2020

@mheffner in the buildbot we reference a specific tagged release, not latest. The problem with not keeping latest up to date is that it's the default tag used by the docker CLI if you don't specify a tag. This leads to people running docker pull netlify/build and getting an image that was significantly out of date. We've had multiple users run into this in the past.

@vbrown608 I tried doing this myself, but I was trying to get the latest tagged release to get pushed to latest, and couldn't find a good way to do that (there's buildingTag(), but how do you tell if it's the latest tag being built?). Basing it on the xenial branch means people will sometimes get changes that have been merged but not released, but since I couldn't find a good alternative this seems to be the best solution.

@mheffner
Copy link
Copy Markdown
Contributor

mheffner commented May 1, 2020

@Benaiah That's fair, I noticed the README mentions the explicit tags even. Can we update the test-build.sh script to use the xenial tag though? It looks like it's defaulting to latest.

@vbrown608
Copy link
Copy Markdown
Contributor Author

@mheffner that's handled by #408

@vbrown608 vbrown608 merged commit 3e24191 into xenial May 4, 2020
@kitop kitop deleted the tag-xenial-with-latest branch May 11, 2022 14:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

type: chore work needed to keep the product and development running smoothly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants