fixed race condition for password entry
This commit is contained in:
parent
277ca32367
commit
db49753a2c
|
@ -1,5 +1,5 @@
|
||||||
version: v1.0
|
version: v1.0
|
||||||
name: Initial Pipeline
|
name: Docker Build
|
||||||
agent:
|
agent:
|
||||||
machine:
|
machine:
|
||||||
type: e1-standard-2
|
type: e1-standard-2
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
version: v1.0
|
version: v1.0
|
||||||
name: Pipeline 2
|
name: Docker Image Testing
|
||||||
agent:
|
agent:
|
||||||
machine:
|
machine:
|
||||||
type: e1-standard-2
|
type: e1-standard-2
|
||||||
|
@ -16,7 +16,6 @@ blocks:
|
||||||
- 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 -r '.[].State.Health.Status') == "healthy" ]]; then break; elif [[ $i -eq 20 ]]; then exit 1; else sleep 15; fi; done;
|
- for i in {1..20}; do if [[ $(docker inspect postal | jq -r '.[].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
|
|
||||||
- name: 'Ubuntu Test'
|
- name: 'Ubuntu Test'
|
||||||
commands:
|
commands:
|
||||||
- checkout
|
- checkout
|
||||||
|
@ -25,7 +24,6 @@ blocks:
|
||||||
- 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 -r '.[].State.Health.Status') == "healthy" ]]; then break; elif [[ $i -eq 20 ]]; then exit 1; else sleep 15; fi; done;
|
- for i in {1..20}; do if [[ $(docker inspect postal | jq -r '.[].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
|
|
||||||
promotions:
|
promotions:
|
||||||
- name: Default Promotion
|
- name: Default Promotion
|
||||||
pipeline_file: upload.yml
|
pipeline_file: upload.yml
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
version: v1.0
|
version: v1.0
|
||||||
name: Pipeline 3
|
name: Docker Image Upload
|
||||||
agent:
|
agent:
|
||||||
machine:
|
machine:
|
||||||
type: e1-standard-2
|
type: e1-standard-2
|
||||||
|
@ -19,6 +19,7 @@ blocks:
|
||||||
- docker tag catdeployed/postal:alpine docker.pkg.github.com/CatDeployed/docker-postal/postal:latest
|
- docker tag catdeployed/postal:alpine docker.pkg.github.com/CatDeployed/docker-postal/postal:latest
|
||||||
- docker push docker.pkg.github.com/CatDeployed/docker-postal/postal:alpine
|
- docker push docker.pkg.github.com/CatDeployed/docker-postal/postal:alpine
|
||||||
- docker push docker.pkg.github.com/CatDeployed/docker-postal/postal:latest
|
- docker push docker.pkg.github.com/CatDeployed/docker-postal/postal:latest
|
||||||
|
- artifact yank workflow postal-alpine-container.tar
|
||||||
- name: 'Ubuntu Upload'
|
- name: 'Ubuntu Upload'
|
||||||
commands:
|
commands:
|
||||||
- checkout
|
- checkout
|
||||||
|
@ -28,3 +29,4 @@ blocks:
|
||||||
- echo "$DOCKER_GITHUB_PASS" | docker login docker.pkg.github.com -u "$DOCKER_GITHUB_USER" --password-stdin
|
- echo "$DOCKER_GITHUB_PASS" | docker login docker.pkg.github.com -u "$DOCKER_GITHUB_USER" --password-stdin
|
||||||
- docker tag catdeployed/postal:ubuntu docker.pkg.github.com/CatDeployed/docker-postal/postal:ubuntu
|
- docker tag catdeployed/postal:ubuntu docker.pkg.github.com/CatDeployed/docker-postal/postal:ubuntu
|
||||||
- docker push docker.pkg.github.com/CatDeployed/docker-postal/postal:ubuntu
|
- docker push docker.pkg.github.com/CatDeployed/docker-postal/postal:ubuntu
|
||||||
|
- artifact yank workflow postal-ubuntu-container.tar
|
||||||
|
|
Loading…
Reference in New Issue
Block a user