-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
53 lines (36 loc) · 1.92 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
51
52
53
testw::
RUST_LOG=debug RUST_BACKTRACE=1 ./cargo watch -x test
test::
RUST_LOG=debug RUST_BACKTRACE=1 ./cargo test --verbose
fmt::
./cargo fmt
fmt-check::
./cargo fmt --check
lint::
./cargo clippy -- -D warnings
doc::
./cargo doc --no-deps
docw::
./cargo watch -x doc --no-deps
build-release::
./cargo build --release
login-01::
RUST_LOG=debug RUST_BACKTRACE=1 ./cargo run -- docker login --config tests/01_trivial-backend-no-storage/opday.toml -f ./.secrets/docker-config.json
all-01::
RUST_LOG=debug RUST_BACKTRACE=1 ./cargo run -- docker build-push-deploy --build-arg BACKEND_TAG=0.0.4 --config tests/01_trivial-backend-no-storage/opday.toml
build-01::
RUST_LOG=debug RUST_BACKTRACE=1 ./cargo run -- docker build --build-arg BACKEND_TAG=0.0.4 --config tests/01_trivial-backend-no-storage/opday.toml
push-01::
RUST_LOG=debug RUST_BACKTRACE=1 ./cargo run -- docker push --build-arg BACKEND_TAG=0.0.4 --config tests/01_trivial-backend-no-storage/opday.toml
deploy-01::
RUST_LOG=debug RUST_BACKTRACE=1 ./cargo run -- docker deploy --build-arg BACKEND_TAG=0.0.4 --config tests/01_trivial-backend-no-storage/opday.toml
all-02::
RUST_LOG=debug RUST_BACKTRACE=1 ./cargo run -- docker build-push-deploy --build-arg BACKEND_TAG=0.0.4 --build-arg NGINX_TAG=0.0.1 --config tests/02_simple-backend-with-database/opday.toml
build-02::
RUST_LOG=debug RUST_BACKTRACE=1 ./cargo run -- docker build --build-arg BACKEND_TAG=0.0.4 --build-arg NGINX_TAG=0.0.1 --config tests/02_simple-backend-with-database/opday.toml
push-02::
RUST_LOG=debug RUST_BACKTRACE=1 ./cargo run -- docker push --build-arg BACKEND_TAG=0.0.4 --build-arg NGINX_TAG=0.0.1 --config tests/02_simple-backend-with-database/opday.toml
deploy-02::
RUST_LOG=debug RUST_BACKTRACE=1 ./cargo run -- docker deploy --build-arg BACKEND_TAG=0.0.4 --build-arg NGINX_TAG=0.0.1 --config tests/02_simple-backend-with-database/opday.toml
curl-02::
curl http://46.101.98.131/api/v1/make-database-call