Commit 9fc6f1ed authored by mingyard's avatar mingyard

feat:dev gitlab ci

parent c5388658
image: docker:stable
variables:
IMAGE_NAME: "work-server"
IMAGE_TAG: "prod-${CI_PIPELINE_IID}"
TITLE: "translation-server正式环境更新"
IMAGE_TAG: "dev-${CI_PIPELINE_IID}"
TITLE: "translation-server测试环境更新"
CONTENT: ${CI_COMMIT_TITLE// /-}
VIEW_URL: "https://beta.laihua.com"
PIPELINES_URL: "https://gitlab.laihua.com/qinmingyuan/translation-server/pipelines"
......@@ -19,7 +19,7 @@ test_job:
tags:
- admin-api-runner
only:
- release
- dev
script:
- echo "开始单元测试..."
- echo "单元测试完成!"
......@@ -29,7 +29,7 @@ docker_job:
tags:
- admin-api-runner
only:
- release
- dev
script:
- echo "开始docker镜像构建..."
- docker login -u $CN_HUAWEIYUNAK -p $CN_HUAWEIYUNSK swr.cn-south-1.myhuaweicloud.com;
......@@ -46,7 +46,7 @@ deploy_job:
tags:
- admin-api-runner
only:
- release
- dev
script:
- echo "请在rancher中部署..."
dependencies:
......
Markdown is supported
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