mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-22 10:50:35 +00:00
Use 'preload-images' from Shipyard
Now that it's a standard target, use it instead of having specific code here Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
This commit is contained in:
committed by
Daniel Farrell
parent
8d326e660e
commit
51975c6bc7
@@ -2,6 +2,8 @@ ifneq (,$(DAPPER_HOST_ARCH))
|
|||||||
|
|
||||||
# Running in Dapper
|
# Running in Dapper
|
||||||
|
|
||||||
|
PRELOAD_IMAGES := submariner-gateway submariner-operator submariner-route-agent lighthouse-agent lighthouse-coredns
|
||||||
|
|
||||||
include $(SHIPYARD_DIR)/Makefile.inc
|
include $(SHIPYARD_DIR)/Makefile.inc
|
||||||
|
|
||||||
CLUSTER_SETTINGS_FLAG = --cluster_settings $(DAPPER_SOURCE)/cluster_settings
|
CLUSTER_SETTINGS_FLAG = --cluster_settings $(DAPPER_SOURCE)/cluster_settings
|
||||||
@@ -31,18 +33,8 @@ endif
|
|||||||
|
|
||||||
# Targets to make
|
# Targets to make
|
||||||
|
|
||||||
deploy: clusters preload-images
|
|
||||||
|
|
||||||
e2e: E2E_ARGS=cluster1 cluster2
|
e2e: E2E_ARGS=cluster1 cluster2
|
||||||
|
|
||||||
preload-images:
|
|
||||||
source $(SCRIPTS_DIR)/lib/debug_functions; \
|
|
||||||
source $(SCRIPTS_DIR)/lib/deploy_funcs; \
|
|
||||||
set -e; \
|
|
||||||
for image in submariner-gateway submariner-route-agent submariner-operator lighthouse-agent submariner-globalnet lighthouse-coredns; do \
|
|
||||||
import_image quay.io/submariner/$${image}; \
|
|
||||||
done
|
|
||||||
|
|
||||||
%.tgz:
|
%.tgz:
|
||||||
helm dep update $(subst -$(CHARTS_VERSION),,$(basename $(@F)))
|
helm dep update $(subst -$(CHARTS_VERSION),,$(basename $(@F)))
|
||||||
helm package --version $(CHARTS_VERSION) $(subst -$(CHARTS_VERSION),,$(basename $(@F)))
|
helm package --version $(CHARTS_VERSION) $(subst -$(CHARTS_VERSION),,$(basename $(@F)))
|
||||||
@@ -56,7 +48,7 @@ release: submariner-$(CHARTS_VERSION).tgz submariner-k8s-broker-$(CHARTS_VERSION
|
|||||||
helm repo index $(CHARTS_DIR) --url $(GH_URL); \
|
helm repo index $(CHARTS_DIR) --url $(GH_URL); \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
.PHONY: preload-images release
|
.PHONY: release
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user