fix impropper workflow usage

This commit is contained in:
ILoveYaToo 2020-12-27 02:28:26 -05:00
parent 5668db5e23
commit af310105a9
2 changed files with 6 additions and 6 deletions

View File

@ -14,14 +14,14 @@ blocks:
- cd alpine
- 'docker build --network=host -t catdeployed/postal:alpine .'
- docker save -o postal-alpine-container.tar catdeployed/postal:alpine
- artifact push job postal-alpine-container.tar --expire-in 1d
- artifact push workflow postal-alpine-container.tar --expire-in 1d
- name: 'Ubuntu'
commands:
- checkout
- cd ubuntu
- 'docker build --network=host -t catdeployed/postal:ubuntu .'
- docker save -o postal-ubuntu-container.tar catdeployed/postal:ubuntu
- artifact push job postal-ubuntu-container.tar --expire-in 1d
- artifact push workflow postal-ubuntu-container.tar --expire-in 1d
promotions:
- name: Default Promotion
pipeline_file: tests.yml

View File

@ -12,17 +12,17 @@ blocks:
commands:
- checkout
- cd alpine
- artifact pull job postal-alpine-container.tar
- artifact pull workflow postal-alpine-container.tar
- docker load -i postal-alpine-container.tar
- docker-compose up -d
- 'for i in {1..20}; do [ $(docker inspect postal | jq ''.[].State.Health.Status'') == "healthy" ] && break || sleep 15; done'
- artifact yank job job postal-alpine-container.tar
- artifact yank workflow postal-alpine-container.tar
- name: 'Ubuntu Test'
commands:
- checkout
- cd ubuntu
- artifact pull job postal-ubuntu-container.tar
- artifact pull workflow postal-ubuntu-container.tar
- docker load -i postal-ubuntu-container.tar
- docker-compose up -d
- 'for i in {1..20}; do [ $(docker inspect postal | jq ''.[].State.Health.Status'') == "healthy" ] && break || sleep 15; done'
- artifact yank job job postal-ubuntu-container.tar
- artifact yank workflow postal-ubuntu-container.tar