|
|
@ -33,8 +33,6 @@ test-client: |
|
|
|
|
|
|
|
gitlab-registry: |
|
|
|
stage: docker-push |
|
|
|
#only: |
|
|
|
# - master |
|
|
|
image: docker:latest |
|
|
|
services: |
|
|
|
- docker:dind |
|
|
@ -60,15 +58,3 @@ docker-hub: |
|
|
|
- docker push registry.hub.docker.com/${DOCKER_HUB_ID}/cwtch:${CI_COMMIT_SHA:0:8} |
|
|
|
dependencies: |
|
|
|
- test-server |
|
|
|
|
|
|
|
|
|
|
|
push-to-staging: |
|
|
|
stage: deploy-staging |
|
|
|
#only: |
|
|
|
# - master |
|
|
|
tags: |
|
|
|
- kube |
|
|
|
script: |
|
|
|
/usr/bin/sed "s/TAGNAME/${CI_COMMIT_SHA:0:8}/" k8s/cwtch.yml | /usr/bin/kubectl apply -f - |
|
|
|
environment: |
|
|
|
name: staging |
|
|
|