-
Notifications
You must be signed in to change notification settings - Fork 0
/
Justfile
77 lines (60 loc) · 2.04 KB
/
Justfile
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
export DOCKER_DEFAULT_PLATFORM := "linux/amd64"
fmt: tidy
just --unstable lib/fmt
just --unstable work-supplier/fmt
just --unstable work-consumer/fmt
just --unstable infrastructure/fmt
tidy:
just --unstable lib/tidy
just --unstable work-supplier/tidy
just --unstable work-consumer/tidy
just --unstable infrastructure/tidy
generate:
just --unstable lib/generate
just --unstable work-supplier/generate
just --unstable work-consumer/generate
just --unstable infrastructure/generate
test: generate
just --unstable lib/test
just --unstable work-supplier/test
just --unstable work-consumer/test
just --unstable infrastructure/test
update:
just --unstable lib/update
just --unstable work-supplier/update
just --unstable work-consumer/update
just --unstable infrastructure/update
vulnerability-check:
just --unstable lib/vulnerability-check
just --unstable work-supplier/vulnerability-check
just --unstable work-consumer/vulnerability-check
just --unstable infrastructure/vulnerability-check
clean:
git clean -Xdf
just --unstable lib/clean-go
just --unstable work-supplier/clean-go
just --unstable work-consumer/clean-go
just --unstable infrastructure/clean-go
docker-compose down
docker volume prune --all --force
synth:
just --unstable infrastructure/synth
deploy: test
just --unstable infrastructure/deploy
local:
docker compose up --build -d
docker compose logs --follow
diff:
just --unstable infrastructure/diff
destroy:
just --unstable infrastructure/destroy
bootstrap:
just --unstable infrastructure/bootstrap
print-sqs-queue-url:
aws cloudformation describe-stacks --stack SimpleIngestionPipelineStack | jq -r '.Stacks[].Outputs[] | select(.ExportName == "QueueURL") | .OutputValue'
print-function-url:
aws cloudformation describe-stacks --stack SimpleIngestionPipelineStack | jq -r '.Stacks[].Outputs[] | select(.ExportName == "IngestionURL") | .OutputValue'
push-ingestion-event:
curl -XPOST `just print-function-url`task/foobar
check-ingestion-reachable:
curl `just print-function-url`