Skip to content

Commit

Permalink
Add staging deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitmouton committed Jun 19, 2021
1 parent 47dc4e8 commit 47a39bb
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,34 @@ build docker image:production:
only:
- tags

deploy:staging:
stage: deploy
environment:
name: staging
image:
name: lotta/ionos-helm-deploy:latest
script:
- /user/local/bin/setup.sh
- helm repo add lotta https://medienportal.gitlab.io/helm-charts
- helm repo update
- helm upgrade --install lotta-media-conversion-dispatcher lotta/lotta-media-conversion-dispatcher
--namespace lotta-staging --wait
--set appEnvironment=production
--set image.tag=${CI_COMMIT_TAG}
--set replicaCount=1
--set sentry.dsn=$SENTRY_DSN
--set coconut.apiKey=$COCONUT_API_KEY
--set rabbitmq.url=$RABBITMQ_URL
--set s3Compat.endpoint=$S3COMPAT_ENDPOINT
--set s3Compat.accessKeyId=$S3COMPAT_ACCESS_KEY_ID
--set s3Compat.secretAccessKey=$S3COMPAT_SECRET_ACCESS_KEY
--set s3Compat.bucket=$S3COMPAT_BUCKET
--set s3Compat.region=$S3COMPAT_REGION
--set s3Compat.cdnBaseUrl=$S3COMPAT_CDN_BASE_URL
only:
refs:
- develop

deploy:production:
stage: deploy
environment:
Expand Down

0 comments on commit 47a39bb

Please sign in to comment.