-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
39 lines (29 loc) · 1014 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
PATH := node_modules/.bin:$(PATH)
.NOTPARALLEL:
.ONESHELL:
tmp := $(shell mktemp -u)
default: tools
tools:
docker build --build-arg http_proxy=$(http_proxy) -t quay.io/mojodna/marblecutter-tools .
node_modules/.bin/interp:
npm install
compute-environment: node_modules/.bin/interp
interp < aws/[email protected] > $(tmp)
aws batch create-compute-environment --cli-input-json file://$(tmp)
rm -f $(tmp)
job-queue: node_modules/.bin/interp
interp < aws/[email protected] > $(tmp)
aws batch create-job-queue --cli-input-json file://$(tmp)
rm -f $(tmp)
transcode-job-definition: node_modules/.bin/interp
interp < aws/[email protected] > $(tmp)
aws batch register-job-definition --cli-input-json file://$(tmp)
rm -f $(tmp)
tiling-job-definition: node_modules/.bin/interp
interp < aws/[email protected] > $(tmp)
aws batch register-job-definition --cli-input-json file://$(tmp)
rm -f $(tmp)
submit-job: node_modules/.bin/interp
interp < $(job) > $(tmp)
aws batch submit-job --cli-input-json file://$(tmp)
rm -f $(tmp)