-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (35 loc) · 762 Bytes
/
Makefile
File metadata and controls
44 lines (35 loc) · 762 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
39
40
41
42
43
44
all: format lint test build
# Format code for each service
format:
make -C manager format
make -C overseer format
make -C worker format
# Lint code for each service
lint:
make -C manager lint
make -C overseer lint
make -C worker lint
# Run unit tests for each service
test:
make -C manager test
make -C worker test
# Run unit tests with coverage for each service
cover:
make -C manager cover
make -C worker cover
# Run smoke tests
smoke:
make -C worker smoke
# Run screenshotting
snaps:
make -C manager snaps
# Build all images for all services
build:
docker-compose build
# Run all services on localhost
run:
docker-compose up
# Run in a Minikube cluster
run-in-minikube:
eval $$(minikube docker-env) && docker-compose build
kompose up