refactor: improve artifact names (#499)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
This commit is contained in:
parent
67d7abebd4
commit
82e56fa4a0
12
Makefile
12
Makefile
@ -125,13 +125,13 @@ proto: buildkitd
|
||||
--frontend-opt target=$@ \
|
||||
$(COMMON_ARGS)
|
||||
|
||||
talos-gcloud: installer
|
||||
talos-gce: installer
|
||||
@docker run --rm -v /dev:/dev -v $(PWD)/build:/out --privileged $(DOCKER_ARGS) autonomy/installer:$(TAG) disk -l -f -p googlecloud -u none -e 'random.trust_cpu=on'
|
||||
@tar -C $(PWD)/build -Sczf $(PWD)/build/talos.tar.gz disk.raw
|
||||
@tar -C $(PWD)/build -Sczf $(PWD)/build/$@.tar.gz disk.raw
|
||||
@rm $(PWD)/build/disk.raw
|
||||
|
||||
talos-vanilla: installer
|
||||
@docker run --rm -v /dev:/dev -v $(PWD)/build:/out --privileged $(DOCKER_ARGS) autonomy/installer:$(TAG) disk -n talos -l
|
||||
talos-raw: installer
|
||||
@docker run --rm -v /dev:/dev -v $(PWD)/build:/out --privileged $(DOCKER_ARGS) autonomy/installer:$(TAG) disk -n rootfs -l
|
||||
|
||||
talos: buildkitd
|
||||
@buildctl --addr $(BUILDKIT_HOST) \
|
||||
@ -144,8 +144,8 @@ talos: buildkitd
|
||||
$(COMMON_ARGS)
|
||||
@docker load < build/$@.tar
|
||||
|
||||
release: all talos-vanilla talos-gcloud talos
|
||||
xz -e9 ./build/disk.raw
|
||||
release: all talos-raw talos-gce talos
|
||||
xz -e9 ./build/rootfs.raw
|
||||
|
||||
test: buildkitd
|
||||
@buildctl --addr $(BUILDKIT_HOST) \
|
||||
|
@ -51,7 +51,7 @@
|
||||
"type": "shell",
|
||||
"inline": [
|
||||
"curl -fsSL get.docker.com | sudo sh",
|
||||
"sudo docker run --privileged --volume /dev:/dev talos-systems/talos:{{ user `version` }} image -b /dev/xvdf -f -p aws -u none -e 'random.trust_cpu=on'"
|
||||
"sudo docker run --privileged --volume /dev:/dev autonomy/installer:{{ user `version` }} image -b /dev/xvdf -f -p aws -u none -e 'random.trust_cpu=on'"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user