generated from ministryofjustice/hmpps-template-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
52 lines (35 loc) · 888 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
48
49
50
51
52
authenticate-docker:
./scripts/authenticate_docker.sh
build-dev:
#docker compose pull hmpps-auth
docker compose build
build:
docker build -t hmpps-integration-api .
serve-dependencies:
docker compose up prism local-stack-aws --build -d
serve: build-dev
docker compose up -d --wait
publish:
./scripts/publish.sh
stop:
docker compose down
unit-test:
./gradlew unitTest
smoke-test: serve
./gradlew smokeTest --warning-mode all
integration-test: serve
./gradlew integrationTest --warning-mode all
heartbeat:
./scripts/heartbeat.sh
test: unit-test smoke-test
e2e:
./gradlew integrationTest --warning-mode all
lint:
./gradlew ktlintCheck
format:
./gradlew ktlintFormat
check:
./gradlew check
generate-client-certificate:
cd ./scripts/client_certificates && ./generate.sh
.PHONY: authenticate-docker build-dev test serve publish unit-test smoke-test build lint