chore: publish gce images with releases (#809)
Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
This commit is contained in:
parent
7162d116ff
commit
c29e5aec93
18
.drone.yml
18
.drone.yml
@ -140,6 +140,23 @@ steps:
|
||||
## Should change to e2e once we get things more stable
|
||||
- basic-integration
|
||||
|
||||
- name: gce
|
||||
image: autonomy/build-container:latest
|
||||
pull: always
|
||||
environment:
|
||||
BUILDKIT_HOST: tcp://buildkitd.ci.svc:1234
|
||||
BINDIR: /usr/local/bin
|
||||
commands:
|
||||
- make talos-gce
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
when:
|
||||
event: tag
|
||||
depends_on:
|
||||
## Should change to e2e once we get things more stable
|
||||
- basic-integration
|
||||
|
||||
- name: push
|
||||
image: autonomy/build-container:latest
|
||||
pull: always
|
||||
@ -180,6 +197,7 @@ steps:
|
||||
## Should change to e2e once we get things more stable
|
||||
- basic-integration
|
||||
- iso
|
||||
- gce
|
||||
|
||||
volumes:
|
||||
- name: dockersock
|
||||
|
4
Makefile
4
Makefile
@ -172,8 +172,8 @@ proto: buildkitd
|
||||
.PHONY: talos-gce
|
||||
talos-gce:
|
||||
@docker run --rm -v /dev:/dev -v $(PWD)/build:/out --privileged $(DOCKER_ARGS) autonomy/installer:$(TAG) install -n disk -r -p googlecloud -u none
|
||||
@tar -C $(PWD)/build -Sczf $(PWD)/build/$@.tar.gz disk.raw
|
||||
@rm $(PWD)/build/disk.raw
|
||||
@tar -C $(PWD)/build -czf $(PWD)/build/$@.tar.gz disk.raw
|
||||
@rm -rf $(PWD)/build/disk.raw
|
||||
|
||||
.PHONY: talos-iso
|
||||
talos-iso:
|
||||
|
Loading…
x
Reference in New Issue
Block a user