chore: publish gce images with releases (#809)

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
This commit is contained in:
Spencer Smith 2019-07-02 10:47:22 -04:00 committed by GitHub
parent 7162d116ff
commit c29e5aec93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 2 deletions

View File

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

View File

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