|  | 
| 8 | 8 |  - build-binary | 
| 9 | 9 |  - build | 
| 10 | 10 |  - integration-test | 
| 11 |  | - - deploy | 
| 12 | 11 | 
 | 
| 13 | 12 | ## Conditions. | 
| 14 | 13 | .only_engine: &only_engine | 
| @@ -498,26 +497,3 @@ integration-test: | 
| 498 | 497 |  script: | 
| 499 | 498 |  - cd engine | 
| 500 | 499 |  - make test-ci-integration | 
| 501 |  | - | 
| 502 |  | -## Deploy | 
| 503 |  | -.deploy-definition: &deploy_definition | 
| 504 |  | - stage: deploy | 
| 505 |  | - image: | 
| 506 |  | - name: dtzar/helm-kubectl:2.14.1 | 
| 507 |  | - pull_policy: if-not-present | 
| 508 |  | - script: | 
| 509 |  | - - bash ./engine/scripts/do.sh subs_envs ./engine/deploy/swagger-ui.yaml /tmp/swagger-ui.yaml | 
| 510 |  | - - kubectl apply --filename /tmp/swagger-ui.yaml -n $NAMESPACE | 
| 511 |  | - | 
| 512 |  | -deploy-swagger-ui-tag-release: | 
| 513 |  | - <<: *only_tag_release | 
| 514 |  | - <<: *deploy_definition | 
| 515 |  | - environment: | 
| 516 |  | - name: production | 
| 517 |  | - variables: | 
| 518 |  | - ENV: production | 
| 519 |  | - NAMESPACE: production | 
| 520 |  | - DOCKER_IMAGE_NAME: "registry.gitlab.com/postgres-ai/database-lab/dblab-swagger-ui" | 
| 521 |  | - before_script: | 
| 522 |  | - - export CLEAN_TAG=$(echo ${CI_COMMIT_TAG#"v"}) | 
| 523 |  | - - export TAG="${DOCKER_IMAGE_NAME}:${CLEAN_TAG}" | 
0 commit comments