-
Notifications
You must be signed in to change notification settings - Fork 100
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (23 loc) · 778 Bytes
/
Makefile
File metadata and controls
32 lines (23 loc) · 778 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
INTEGRATION_TEST_ARGS ?=
INTEGRATION_TEST_DEBUG ?=
TEST_ARGS := $(INTEGRATION_TEST_ARGS)
ifeq ($(INTEGRATION_TEST_DEBUG),true)
# we likely want longer timeout
TEST_ARGS += -timeout=60m
# verbose to see KUBECONFIG path and steve URL
TEST_ARGS += -v
endif
build:
docker build -t steve .
build-bin:
bash scripts/build-bin.sh
run: build
docker run $(DOCKER_ARGS) --rm -p 8989:9080 -it -v ${HOME}/.kube:/root/.kube steve --https-listen-port 0
run-host: build
docker run $(DOCKER_ARGS) --net=host --uts=host --rm -it -v ${HOME}/.kube:/root/.kube steve --kubeconfig /root/.kube/config --http-listen-port 8989 --https-listen-port 0
test:
bash scripts/test.sh
integration-tests:
@TEST_ARGS="$(TEST_ARGS)" ./scripts/integration-tests.sh
validate:
bash scripts/validate.sh