Moving /app tree in ignition to gzipped file

This commit is contained in:
2026-07-10 18:04:13 -07:00
parent 7ff7be6819
commit 4115922257
2 changed files with 36 additions and 4 deletions

View File

@@ -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