mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-20 19:10:34 +00:00
Import Makefile.dapper downloaded from Shipyard
Instead of redefining the dapper file here, download it from Shiyard Also use the BASE_BRANCH env variable for the dapper file Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
This commit is contained in:
committed by
Daniel Farrell
parent
51975c6bc7
commit
50a2d3db29
@@ -1,3 +1,6 @@
|
||||
BASE_BRANCH ?= devel
|
||||
export BASE_BRANCH
|
||||
|
||||
ifneq (,$(DAPPER_HOST_ARCH))
|
||||
|
||||
# Running in Dapper
|
||||
@@ -54,9 +57,13 @@ else
|
||||
|
||||
# Not running in Dapper
|
||||
|
||||
Makefile.dapper:
|
||||
@echo Downloading $@
|
||||
@curl -sfLO https://raw.githubusercontent.com/submariner-io/shipyard/$(BASE_BRANCH)/$@
|
||||
|
||||
include Makefile.dapper
|
||||
|
||||
endif
|
||||
|
||||
# Disable rebuilding Makefile
|
||||
Makefile Makefile.dapper Makefile.inc: ;
|
||||
Makefile Makefile.inc: ;
|
||||
|
||||
Reference in New Issue
Block a user