From c06e8c8d619dd17c27ce124280af6756c759bec6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=E5=98=89=E9=98=B3?= Date: Wed, 27 Nov 2019 15:48:40 +0800 Subject: [PATCH] =?UTF-8?q?ci=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 5 ++--- manifests/deployment.yaml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 341ac37..512949d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,9 +60,8 @@ deploy_live: url: https://cms.fjy8018.xin script: - kubectl version - - kubectl get pods -n hmdt + - kubectl get pods -n cms - cd manifests/ - sed -i "s/__IMAGE_VERSION_SLUG__/${IMAGE_VERSION}/" deployment.yaml - - sed -i "s/__IMAGE_SLUG__/${CI_REGISTRY_IMAGE}/" deployment.yaml - kubectl apply -f deployment.yaml - - kubectl get pods -n hmdt + - kubectl get pods -n cms diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml index 3347f89..8095e4c 100644 --- a/manifests/deployment.yaml +++ b/manifests/deployment.yaml @@ -38,7 +38,7 @@ spec: - name: harbor-login containers: - name: cms - image: __IMAGE_SLUG__:__IMAGE_VERSION_SLUG__ + image: harbor.fjy8018.top:8883/fjy8018/cms:__IMAGE_VERSION_SLUG__ ports: - containerPort: 8080 ---