Commit c012d8f5 by 据说甜蜜呢

修改staging-major_job

parent d6a992d2
stages:
- build
- staging-release-major
- prod-release-major
build_job:
stage: build
......@@ -12,27 +11,24 @@ build_job:
tags:
- local
major-staging_job:
stage: major-staging
staging-major_job:
stage: staging-release-major
script:
# Continuous integration
- export RegistryHost='registry.geekbuying.com:8100'
- chmod +x ./build/CI.light.sh
- ./build/CI.light.sh
# Continuous delivery
# create config information
- export isCreateNamespace='1'
- export environment='Staging'
- export baseUrl='https://172.24.83.222:6443'
- export accessToken=''
- chmod +x ./build/CreateConfigMaps.sh
- ./build/CreateConfigMaps.sh
# create application component
- export kongServiceBaseUrl='http://127.0.0.1:81/services'
- export kongRouteBaseUrl='http://127.0.0.1:81/routes'
- export kongRouteDomain='staging-api.geekbuy.cn'
- chmod +x ./build/GrayRelease.sh
- ./build/GrayRelease.sh
- export Environment='Staging'
- export K8sApiServer='https://172.24.83.222:6443'
# 001 Continuous integration image to registry.
- bash ./devops/PipeLines/CI.sh
# 002 Create config information to k8s's configmap.
- bash ./devops/PipeLines/Creation/CreateConfig.sh
# 003 Release major to k8s's cluster.
- bash ./devops/PipeLines/Creation/ReleaseMajor.sh
# 004 Create gateway route.
- bash ./devops/PipeLines/Creation/Gateways/Kong/CreateGatewayRoute.sh
only:
- rel/major
tags:
......
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