Moving /app tree in ignition to gzipped file
This commit is contained in:
9
Makefile
9
Makefile
@@ -66,6 +66,12 @@ restic-env: $(apps_config) make-restic-generated.sh
|
||||
restic-password: $(apps_config) make-restic-password.sh
|
||||
./make-restic-password.sh $(apps_config) > restic-password
|
||||
|
||||
app.tar.gz: app/.dirstamp \
|
||||
app/.env \
|
||||
app/lb/lb.env \
|
||||
app/lb/Caddyfile
|
||||
tar cfz app.tar.gz app/
|
||||
|
||||
ignition.json: cl.yaml app/.dirstamp \
|
||||
$(IMAGE_DEPS) \
|
||||
app/lb/lb.env \
|
||||
@@ -75,7 +81,8 @@ restic-password \
|
||||
restic-restore.sh \
|
||||
restic-snapshot.sh \
|
||||
app/.env \
|
||||
$(config_dir)ssh-keys
|
||||
$(config_dir)ssh-keys \
|
||||
app.tar.gz
|
||||
cat cl.yaml | docker run --rm --volume $(config_dir)/ssh-keys:/pwd/ssh-keys --volume ${PWD}:/pwd --workdir /pwd -i quay.io/coreos/butane:latest -d /pwd > ignition.json
|
||||
|
||||
generated.tfvars: $(apps_config) make-generated.sh
|
||||
|
||||
Reference in New Issue
Block a user