Skip to content

Commit

Permalink
fixes cilium and image-builder builds (#2533)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxesn authored Oct 11, 2023
1 parent a8d8e87 commit 5923677
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion projects/cilium/cilium/build/create_manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ function build::cilium::manifests(){
--set operator.image.tag=$TAG --set image.tag=$TAG --set image.repository="$REGISTRY/cilium" --set operator.image.repository="$REGISTRY/operator" > _output/manifests/cilium/${TAG}/cilium.yaml
}

build::install::helm
# Temp: workaround issue in helm latest which breaks pulling from public ecr
if ! command -v helm &> /dev/null; then
build::install::helm
fi

build::cilium::manifests

cp -rf _output/manifests $ARTIFACTS_PATH
4 changes: 4 additions & 0 deletions projects/kubernetes-sigs/image-builder/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ SKIP_ON_RELEASE_BRANCH=$(if $(filter bottlerocket,$(IMAGE_OS)),false,true)

include $(BASE_DIRECTORY)/Common.mk

# TEMP: work around for using older ansible verison in builder-base
ifeq ($(IS_ON_BUILDER_BASE),true)
export ANSIBLE_CONFIG=$(MAKE_ROOT)/ansible.cfg
endif

export PATH:=$(MAKE_ROOT)/$(IMAGE_BUILDER_DIR)/.local/bin:$(PATH)
export GOVC_INSECURE?=true
Expand Down
2 changes: 2 additions & 0 deletions projects/kubernetes-sigs/image-builder/ansible.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[galaxy]
server = https://old-galaxy.ansible.com/

0 comments on commit 5923677

Please sign in to comment.