-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
47 lines (33 loc) · 774 Bytes
/
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
export GIT_SHA1 := $(shell git rev-parse --short HEAD)
export DOCKER_IMAGE_NAME := jolokia
export DOCKER_NAME_SPACE := ${USER}
export DOCKER_VERSION ?= latest
export BUILD_DATE := $(shell date +%Y-%m-%d)
export BUILD_VERSION := $(shell date +%y%m)
export BUILD_TYPE ?= stable
export TOMCAT_VERSION ?= 9.0.56
export JOLOKIA_VERSION ?= 1.7.1
export HAWTIO_VERSION ?= 2.14.1
.PHONY: build shell run exec start stop clean compose-file
default: build
build:
@hooks/build
shell:
@hooks/shell
run:
@hooks/run
exec:
@hooks/exec
start:
@hooks/start
stop:
@hooks/stop
clean:
@hooks/clean
compose-file:
@hooks/compose-file
linter:
@tests/linter.sh
integration_test:
@tests/integration_test.sh
test: linter integration_test