-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Pin calico/base to release tags #9867
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
Conversation
@@ -204,7 +204,7 @@ endif | |||
python:3 \ | |||
bash -c '/usr/local/bin/python release/get-contributors.py >> /code/AUTHORS.md' | |||
|
|||
update-pins: update-go-build-pin | |||
update-pins: update-go-build-pin update-calico-base-pin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Normally, we update calico/base together with calico/go-build before each release. This update-pins
target will be triggered once we have a new calico/go-build release. Both calico/go-build and calico/base versions will be updated to the latest.
@@ -199,7 +199,7 @@ ifeq ($(BUILDARCH),amd64) | |||
# *-amd64 tagged images for etcd are not available until v3.5.0 | |||
ETCD_IMAGE = quay.io/coreos/etcd:$(ETCD_VERSION) | |||
endif | |||
UBI_IMAGE ?= registry.access.redhat.com/ubi8/ubi-minimal:$(UBI_VERSION) | |||
UBI_IMAGE ?= registry.access.redhat.com/ubi8/ubi-minimal:latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do microdnf upgrade
when building the container image. It essentially moves the tag to latest
. We are not really pinning to the UBI_VERSION
defined in metadata.mk
.
c68ee6c
to
546af2a
Compare
@echo "latest CALICO_BASE_VER=$(new_ver)" | ||
|
||
bash -c '\ | ||
if [[ "$(new_ver)" > "$(old_ver)" ]]; then \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
today I learned that this "just works" for strings
calico/base release tags are pushed in projectcalico/go-build#652. |
546af2a
to
71a0087
Compare
This change pins calico/base version to a particular tag instead of `latest`. It resolves issues during a (hash) release when non-amd64 components accidentally pull in amd64 bases.
71a0087
to
b2e64e8
Compare
Description
This change pins calico/base version to a particular tag instead of
latest
. It resolves issues during a (hash) release when non-amd64 components accidentally pull in amd64 bases.Related issues/PRs
Todos
Release Note
Reminder for the reviewer
Make sure that this PR has the correct labels and milestone set.
Every PR needs one
docs-*
label.docs-pr-required
: This change requires a change to the documentation that has not been completed yet.docs-completed
: This change has all necessary documentation completed.docs-not-required
: This change has no user-facing impact and requires no docs.Every PR needs one
release-note-*
label.release-note-required
: This PR has user-facing changes. Most PRs should have this label.release-note-not-required
: This PR has no user-facing changes.Other optional labels:
cherry-pick-candidate
: This PR should be cherry-picked to an earlier release. For bug fixes only.needs-operator-pr
: This PR is related to install and requires a corresponding change to the operator.