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

test ci

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