forked from flynn/flynn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTupfile
8 lines (8 loc) · 863 Bytes
/
Tupfile
1
2
3
4
5
6
7
8
include_rules
: |> sed 's/{{TUF-ROOT-KEYS}}/@(TUF_ROOT_KEYS)/g' cli/root_keys.go.tmpl > %o |> cli/root_keys.go
: cli/root_keys.go |> !go |> bin/flynn-host
: bin/flynn-host |> gzip -9 --keep bin/flynn-host |> bin/flynn-host.gz
: |> !go ./flynn-init |> bin/flynn-init
: | $(ROOT)/<layer0> |> ^ LAYER 0^ cat $(ROOT)/log/docker-layer0/* > %o |> $(ROOT)/log/docker-layer0.log
: $(ROOT)/util/release/flynn-release $(ROOT)/log/docker-layer0.log |> ^ host_manifest.json^ cat $(ROOT)/log/docker-layer0.log > /dev/null && $(ROOT)/util/release/flynn-release manifest --output=%o --image-repository=@(IMAGE_REPOSITORY) manifest_template.json |> bin/manifest.json
: bin/flynn-host.gz $(ROOT)/script/install-flynn.tmpl |> sed "s/{{FLYNN-HOST-CHECKSUM}}/\$(sha512sum bin/flynn-host.gz | cut -d " " -f 1)/g" $(ROOT)/script/install-flynn.tmpl > %o |> $(ROOT)/script/install-flynn