update tests

This commit is contained in:
ILoveYaToo 2020-12-27 03:10:11 -05:00
parent 1b6b127461
commit c3a697c483

View File

@ -15,7 +15,7 @@ blocks:
- artifact pull workflow postal-alpine-container.tar - artifact pull workflow postal-alpine-container.tar
- docker load -i postal-alpine-container.tar - docker load -i postal-alpine-container.tar
- docker-compose up -d - docker-compose up -d
- for i in {1..20}; do if [[ $(docker inspect postal | jq '.[].State.Health.Status') == "healthy" ]]; then break; else sleep 15; fi; done; - for i in {1..20}; do if [[ $(docker inspect postal | jq '.[].State.Health.Status') == "healthy" ]]; then break; elif [[ $i -eq 20 ]]; then exit 1; else sleep 15; fi; done;
- artifact yank workflow postal-alpine-container.tar - artifact yank workflow postal-alpine-container.tar
- name: 'Ubuntu Test' - name: 'Ubuntu Test'
commands: commands:
@ -24,5 +24,5 @@ blocks:
- artifact pull workflow postal-ubuntu-container.tar - artifact pull workflow postal-ubuntu-container.tar
- docker load -i postal-ubuntu-container.tar - docker load -i postal-ubuntu-container.tar
- docker-compose up -d - docker-compose up -d
- for i in {1..20}; do if [[ $(docker inspect postal | jq '.[].State.Health.Status') == "healthy" ]]; then break; else sleep 15; fi; done; - for i in {1..20}; do if [[ $(docker inspect postal | jq '.[].State.Health.Status') == "healthy" ]]; then break; elif [[ $i -eq 20 ]]; then exit 1; else sleep 15; fi; done;
- artifact yank workflow postal-ubuntu-container.tar - artifact yank workflow postal-ubuntu-container.tar