Skip to content

Commit cdf5618

Browse files
committed
Merge branch 'remove-swagger-ui-deployment' into 'master'
Remove swagger-ui deployment See merge request postgres-ai/database-lab!1047
2 parents 3d7d512 + 56e4847 commit cdf5618

File tree

2 files changed

+0
-58
lines changed

2 files changed

+0
-58
lines changed

engine/.gitlab-ci.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ stages:
88
- build-binary
99
- build
1010
- integration-test
11-
- deploy
1211

1312
## Conditions.
1413
.only_engine: &only_engine
@@ -498,26 +497,3 @@ integration-test:
498497
script:
499498
- cd engine
500499
- 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}"

engine/deploy/swagger-ui.yaml

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)