Skip to content

Commit

Permalink
use a boolean flag to swap calico/base for the pinned version of ubi-…
Browse files Browse the repository at this point in the history
…minimal
  • Loading branch information
aaaaaaaalex committed Jan 14, 2025
1 parent f5fab9b commit b1bbb26
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .semaphore/semaphore.yml.d/blocks/20-typha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
commands:
- ../.semaphore/run-and-monitor make-fv-ubi.log make clean image fv
env_vars:
- name: CALICO_BASE
value: registry.access.redhat.com/ubi8/ubi-minimal
- name: USE_UBI_AS_CALICO_BASE
value: 1
epilogue:
always:
commands:
Expand Down
4 changes: 4 additions & 0 deletions lib.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,11 @@ REPO_ROOT := $(shell git rev-parse --show-toplevel)
CERTS_PATH := $(REPO_ROOT)/hack/test/certs

# The image to use for building calico/base-dependent modules (e.g. apiserver, typha).
ifdef USE_UBI_AS_CALICO_BASE
CALICO_BASE ?= $(UBI_IMAGE)
else
CALICO_BASE ?= calico/base
endif

QEMU_IMAGE ?= calico/qemu-user-static:latest

Expand Down

0 comments on commit b1bbb26

Please sign in to comment.