forked from deviceplane/deviceplane
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (28 loc) · 848 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
test:
go test -v ./... -mod vendor
db-reset: state-reset
docker-compose down
docker-compose up -d
sleep 30
./scripts/seed
state-reset:
rm -rf ./cmd/controller/state
controller:
./scripts/build-controller
push-controller: controller
docker push deviceplane/controller:${CONTROLLER_VERSION}
controller-with-db:
./scripts/build-controller-with-db
push-controller-with-db: controller-with-db
docker push deviceplane/deviceplane:${CONTROLLER_WITH_DB_VERSION}
push-controller-with-db-latest: push-controller-with-db
docker tag deviceplane/deviceplane:${CONTROLLER_WITH_DB_VERSION} deviceplane/deviceplane:latest
docker push deviceplane/deviceplane:latest
agent-binaries:
./scripts/build-agent-binaries
cli:
./scripts/build-cli
push-cli: cli
docker push deviceplane/cli:${CLI_VERSION}
cli-binaries:
./scripts/build-cli-binaries