feat: Use $USER_EMAIL instead of mine
This commit is contained in:
parent
e3744d5577
commit
7ae450ee94
4
Makefile
4
Makefile
|
@ -20,7 +20,9 @@ clean:
|
||||||
cat definition.yaml $< | python -c "import sys, yaml, json; json.dump(yaml.load(sys.stdin), sys.stdout, indent=2)" | sed "s|TIMESTAMP|$(shell date -Iseconds --utc)|g" | snap sign -k "$(USER_KEY)" > $@
|
cat definition.yaml $< | python -c "import sys, yaml, json; json.dump(yaml.load(sys.stdin), sys.stdout, indent=2)" | sed "s|TIMESTAMP|$(shell date -Iseconds --utc)|g" | snap sign -k "$(USER_KEY)" > $@
|
||||||
snaps/%: deps/%.yaml
|
snaps/%: deps/%.yaml
|
||||||
node build-tool.js --env $(ENV) --channel $(CHANNEL) --board $*
|
node build-tool.js --env $(ENV) --channel $(CHANNEL) --board $*
|
||||||
%.img: %.model snaps/% $(ENV).cloud-init.yaml # build an image
|
.cloud-init.yaml: $(ENV).cloud-init.yaml
|
||||||
|
cat $(ENV).cloud-init.yaml | USER_EMAIL=$(USER_EMAIL) envsubst > .cloud-init.yaml
|
||||||
|
%.img: %.model snaps/% .cloud-init.yaml # build an image
|
||||||
sudo ubuntu-image snap -o $@ --cloud-init $(ENV).cloud-init.yaml -c $(CHANNEL) $<
|
sudo ubuntu-image snap -o $@ --cloud-init $(ENV).cloud-init.yaml -c $(CHANNEL) $<
|
||||||
|
|
||||||
# VM stuff
|
# VM stuff
|
||||||
|
|
|
@ -13,4 +13,4 @@ network:
|
||||||
nameservers:
|
nameservers:
|
||||||
addresses: [1.1.1.1, 1.0.0.1]
|
addresses: [1.1.1.1, 1.0.0.1]
|
||||||
snappy:
|
snappy:
|
||||||
email: mkg20001@gmail.com
|
email: $USER_EMAIL
|
||||||
|
|
Loading…
Reference in New Issue