forked from cwtch.im/cwtch
Removed K8S section from gitlab-ci
This commit is contained in:
parent
48fa6f386c
commit
77bac24202
|
@ -33,8 +33,6 @@ test-client:
|
||||||
|
|
||||||
gitlab-registry:
|
gitlab-registry:
|
||||||
stage: docker-push
|
stage: docker-push
|
||||||
#only:
|
|
||||||
# - master
|
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
|
@ -60,15 +58,3 @@ docker-hub:
|
||||||
- docker push registry.hub.docker.com/${DOCKER_HUB_ID}/cwtch:${CI_COMMIT_SHA:0:8}
|
- docker push registry.hub.docker.com/${DOCKER_HUB_ID}/cwtch:${CI_COMMIT_SHA:0:8}
|
||||||
dependencies:
|
dependencies:
|
||||||
- test-server
|
- 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
|
|
||||||
|
|
Loading…
Reference in New Issue