Commit 8e1ab982 authored by Georgi Petkov's avatar Georgi Petkov
Browse files

chore: sentry-release-ignore-missing in attempt to solve failing...

chore: sentry-release-ignore-missing in attempt to solve failing document-service sentry-release job
parent a73926b7
Pipeline #32432 passed with stages
in 23 seconds
sentry_release_production:
stage: post-deploy
variables:
NODE_ENV: production
SENTRY_AUTH_TOKEN: ${SENTRY_AUTH_TOKEN}
SENTRY_ORG: brickblock
SENTRY_PROJECT: ${CI_PROJECT_NAME}
extends:
- .cache-pull-only
dependencies:
- build
script:
- node -v
- yarn global add @sentry/cli
- sentry-cli releases new "$CI_COMMIT_TAG"
- sentry-cli releases set-commits --auto "$CI_COMMIT_TAG"
- sentry-cli releases finalize "$CI_COMMIT_TAG"
- sentry-cli releases deploys "$CI_COMMIT_TAG" new -e "$NODE_ENV"
only:
- tags
sentry_release_staging:
stage: post-deploy
variables:
NODE_ENV: staging
SENTRY_AUTH_TOKEN: ${SENTRY_AUTH_TOKEN}
SENTRY_ORG: brickblock
SENTRY_PROJECT: ${CI_PROJECT_NAME}
SENTRY_LOG_LEVEL: info
extends:
- .cache-pull-only
- .except-ci-release
dependencies:
- build
script:
- node -v
- echo "$CI_COMMIT_SHORT_SHA"
- yarn global add @sentry/cli
- sentry-cli releases new "$CI_COMMIT_SHORT_SHA"
- sentry-cli releases files "$CI_COMMIT_SHORT_SHA" upload-sourcemaps ./build
- sentry-cli releases set-commits --auto --ignore-missing "$CI_COMMIT_SHORT_SHA"
- sentry-cli releases finalize "$CI_COMMIT_SHORT_SHA"
- sentry-cli releases deploys "$CI_COMMIT_SHORT_SHA" new -e "$NODE_ENV"
only:
- master
......@@ -26,7 +26,6 @@ sentry_release_staging:
SENTRY_AUTH_TOKEN: ${SENTRY_AUTH_TOKEN}
SENTRY_ORG: brickblock
SENTRY_PROJECT: ${CI_PROJECT_NAME}
SENTRY_LOG_LEVEL: info
extends:
- .cache-pull-only
- .except-ci-release
......@@ -34,7 +33,6 @@ sentry_release_staging:
- build
script:
- node -v
- echo "$CI_COMMIT_SHORT_SHA"
- yarn global add @sentry/cli
- sentry-cli releases new "$CI_COMMIT_SHORT_SHA"
- sentry-cli releases files "$CI_COMMIT_SHORT_SHA" upload-sourcemaps ./build
......
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