Commit 4cb6a392 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Improved naming

parent 301aa9e0
...@@ -16,7 +16,17 @@ kibana: ...@@ -16,7 +16,17 @@ kibana:
- helm repo add elastic https://helm.elastic.co - helm repo add elastic https://helm.elastic.co
- helm install kibana elastic/kibana --set elasticsearchHosts=$ES_HOST || true - helm install kibana elastic/kibana --set elasticsearchHosts=$ES_HOST || true
hiphop-container: secrets:
stage: prepare
script:
- kubectl delete secret gitlab-registry-credentials || true
- "kubectl create secret docker-registry gitlab-registry-credentials \
--docker-server=$CI_REGISTRY \
--docker-username=image-registry \
--docker-password=$REGISTRY_READ_TOKEN \
"
hiphop:
stage: build stage: build
image: image:
name: gcr.io/kaniko-project/executor:debug name: gcr.io/kaniko-project/executor:debug
...@@ -32,7 +42,7 @@ hiphop-container: ...@@ -32,7 +42,7 @@ hiphop-container:
- cd hiphop - cd hiphop
- /kaniko/executor --context . --destination $CI_REGISTRY_IMAGE/hiphop:latest - /kaniko/executor --context . --destination $CI_REGISTRY_IMAGE/hiphop:latest
space-container: space:
stage: build stage: build
image: image:
name: gcr.io/kaniko-project/executor:debug name: gcr.io/kaniko-project/executor:debug
...@@ -48,17 +58,7 @@ space-container: ...@@ -48,17 +58,7 @@ space-container:
- cd space - cd space
- /kaniko/executor --context . --destination $CI_REGISTRY_IMAGE/space:latest - /kaniko/executor --context . --destination $CI_REGISTRY_IMAGE/space:latest
secrets: space-svc:
stage: build
script:
- kubectl delete secret gitlab-registry-credentials || true
- "kubectl create secret docker-registry gitlab-registry-credentials \
--docker-server=$CI_REGISTRY \
--docker-username=image-registry \
--docker-password=$REGISTRY_READ_TOKEN \
"
space:
stage: deploy stage: deploy
when: manual when: manual
script: script:
...@@ -67,7 +67,7 @@ space: ...@@ -67,7 +67,7 @@ space:
- kubectl delete -f deploy/space-deploy+svc.yaml || true - kubectl delete -f deploy/space-deploy+svc.yaml || true
- kubectl apply -f deploy/space-deploy+svc.yaml - kubectl apply -f deploy/space-deploy+svc.yaml
hiphop: hiphop-svc:
stage: deploy stage: deploy
when: manual when: manual
script: script:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment