Send sourcemaps to our sentry instance
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
bc81b1830d
commit
ad9d9d33bc
@ -4,6 +4,7 @@ stages:
|
|||||||
- install
|
- install
|
||||||
- check
|
- check
|
||||||
- build-js
|
- build-js
|
||||||
|
- sentry
|
||||||
- test
|
- test
|
||||||
- docker
|
- docker
|
||||||
- package
|
- package
|
||||||
@ -94,6 +95,21 @@ build-frontend:
|
|||||||
needs:
|
needs:
|
||||||
- lint-front
|
- lint-front
|
||||||
|
|
||||||
|
sentry-commit:
|
||||||
|
stage: sentry
|
||||||
|
image: getsentry/sentry-cli
|
||||||
|
script:
|
||||||
|
- echo "Create a new release $CI_COMMIT_TAG"
|
||||||
|
- sentry-cli releases new $CI_COMMIT_TAG
|
||||||
|
- sentry-cli releases set-commits $CI_COMMIT_TAG --auto
|
||||||
|
- sentry-cli releases files $CI_COMMIT_TAG upload-sourcemaps priv/static/assets/
|
||||||
|
- sentry-cli releases finalize $CI_COMMIT_TAG
|
||||||
|
- echo "Finalized release for $CI_COMMIT_TAG"
|
||||||
|
needs:
|
||||||
|
- build-frontend
|
||||||
|
only:
|
||||||
|
- tags@framasoft/mobilizon
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
stage: check
|
stage: check
|
||||||
before_script:
|
before_script:
|
||||||
|
Loading…
Reference in New Issue
Block a user