forked from travelping/upg-vpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
50 lines (37 loc) · 1.02 KB
/
Makefile
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
39
40
41
42
43
44
45
46
47
48
49
50
IMAGE_BASE ?= upg
TEST_VERBOSITY ?= 2
install-hooks:
hack/install-hooks.sh
vpp:
hack/update-vpp.sh
# this will run regardless of existence of the 'vpp' directory
update-vpp:
hack/update-vpp.sh
ci-build: vpp
hack/ci-build.sh
ensure-build-image: vpp
bash -x hack/ensure-build-image.sh
update-build-image-tag: vpp
hack/update-build-image-tag.sh
image-debug: vpp
DOCKER_BUILDKIT=1 \
docker build -t $(IMAGE_BASE):debug \
-f Dockerfile.devel .
image-release: vpp
DOCKER_BUILDKIT=1 \
docker build -t $(IMAGE_BASE):release \
-f Dockerfile .
test-debug:
hack/buildenv.sh make test-debug TEST=test_upf V=$(TEST_VERBOSITY) \
EXTERN_TESTS=../../upf/test
test-release:
hack/buildenv.sh make test TEST=test_upf V=$(TEST_VERBOSITY) \
EXTERN_TESTS=../../upf/test
retest-debug:
hack/buildenv.sh make retest-debug TEST=test_upf V=$(TEST_VERBOSITY) \
EXTERN_TESTS=../../upf/test
retest-release:
hack/buildenv.sh make retest TEST=test_upf V=$(TEST_VERBOSITY) \
EXTERN_TESTS=../../upf/test
buildenv:
hack/buildenv.sh