Commit fd688ed4 authored by 胡凯旋's avatar 胡凯旋

test ci

parent 9bcf4f18
Pipeline #3 canceled with stages
......@@ -40,34 +40,34 @@ build_image:
- docker push ${IMAGE_TAG}
deploy_rpc_integration:
stage: deploy_integration
only:
- master
tags:
- deploy-integration
script:
- kubectl -n xyz set image deploy/examples-rpc "app=${IMAGE_TAG}" --record
deploy_staging:
stage: deploy_staging
only:
- master
tags:
- deploy-production
when: manual
script:
- kubectl -n xyz-staging set image deploy/examples-celery "app=${IMAGE_TAG}" --record
- kubectl -n xyz-staging set image deploy/examples-rpc "app=${IMAGE_TAG}" --record
deploy_production:
stage: deploy_production
only:
- master
tags:
- deploy-production
when: manual
script:
- kubectl -n xyz set image deploy/examples-celery "app=${IMAGE_TAG}" --record
- kubectl -n xyz set image deploy/examples-rpc "app=${IMAGE_TAG}" --record
#deploy_rpc_integration:
# stage: deploy_integration
# only:
# - master
# tags:
# - deploy-integration
# script:
# - kubectl -n xyz set image deploy/examples-rpc "app=${IMAGE_TAG}" --record
#
#deploy_staging:
# stage: deploy_staging
# only:
# - master
# tags:
# - deploy-production
# when: manual
# script:
# - kubectl -n xyz-staging set image deploy/examples-celery "app=${IMAGE_TAG}" --record
# - kubectl -n xyz-staging set image deploy/examples-rpc "app=${IMAGE_TAG}" --record
#
#deploy_production:
# stage: deploy_production
# only:
# - master
# tags:
# - deploy-production
# when: manual
# script:
# - kubectl -n xyz set image deploy/examples-celery "app=${IMAGE_TAG}" --record
# - kubectl -n xyz set image deploy/examples-rpc "app=${IMAGE_TAG}" --record
#
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