forked from submariner-io/admiral
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (24 loc) · 678 Bytes
/
Makefile
File metadata and controls
38 lines (24 loc) · 678 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
BASE_BRANCH ?= devel
export BASE_BRANCH
ifneq (,$(DAPPER_HOST_ARCH))
# Running in Dapper
include $(SHIPYARD_DIR)/Makefile.inc
TARGETS := $(shell ls -p scripts | grep -v -e /)
export SETTINGS = $(DAPPER_SOURCE)/.shipyard.e2e.yml
export LAZY_DEPLOY = false
override E2E_ARGS += cluster1 cluster2
override UNIT_TEST_ARGS += test/e2e
deploy: clusters
./scripts/$@
e2e: deploy
./scripts/$@ $(E2E_ARGS)
.PHONY: $(TARGETS) test
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.inc: ;