adding conditional publish for only master and rename integ test step in pipeline

pull/3/head
josebarn 7 years ago
parent 7e65fd44b6
commit baa64b9790

@ -16,7 +16,7 @@ pipeline:
commands: commands:
- go test ./api - go test ./api
run-tests-in-compose: integration-tests:
image: michalpodeszwa/docker-compose:latest image: michalpodeszwa/docker-compose:latest
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
@ -30,7 +30,8 @@ pipeline:
dockerfile: ./docker/Dockerfile dockerfile: ./docker/Dockerfile
secrets: [ DOCKER_USERNAME, DOCKER_PASSWORD ] secrets: [ DOCKER_USERNAME, DOCKER_PASSWORD ]
# debug: true # debug: true
when:
branch: [master]
matrix: matrix:
IMAGE: IMAGE:
- golang:latest - golang:latest

@ -1 +1 @@
eyJhbGciOiJIUzI1NiJ9.IyBOT1RFOiBSZWZlciBkcm9uZSBHbyBleGFtcGxlIGh0dHA6Ly9yZWFkbWUuZHJvbmUuaW8vMC41L3VzYWdlL2dvbGFuZy1leGFtcGxlLwp3b3Jrc3BhY2U6CiAgYmFzZTogL2dvCiAgcGF0aDogc3JjL2dpdGh1Yi5jb20vam9zZWJhcm4vZHJvbmUtd2l0aC1nbwoKcGlwZWxpbmU6CiAgYnVpbGQ6CiAgICBpbWFnZTogJHtJTUFHRX0KICAgIGNvbW1hbmRzOgogICAgICAtIGdvIGdldCAuLy4uLgogICAgICAtIGdvIGJ1aWxkCiAgICBkZWJ1ZzogdHJ1ZQoKICB1bml0LXRlc3Q6CiAgICBpbWFnZTogJHtJTUFHRX0KICAgIGNvbW1hbmRzOgogICAgICAtIGdvIHRlc3QgLi9hcGkKCiAgcnVuLXRlc3RzLWluLWNvbXBvc2U6CiAgICBpbWFnZTogbWljaGFscG9kZXN6d2EvZG9ja2VyLWNvbXBvc2U6bGF0ZXN0CiAgICB2b2x1bWVzOgogICAgICAtIC92YXIvcnVuL2RvY2tlci5zb2NrOi92YXIvcnVuL2RvY2tlci5zb2NrCiAgICBjb21tYW5kczo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