Add Sentry Release Reporting (attempt 1)
This commit is contained in:
parent
35a4f4a122
commit
809adee778
1 changed files with 16 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
stages:
|
||||
- build
|
||||
- ops
|
||||
- deploy
|
||||
|
||||
before_script:
|
||||
|
@ -19,6 +20,17 @@ build:
|
|||
- dotnet test Tests
|
||||
- dotnet publish --version-suffix ${CI_COMMIT_SHA:0:8} --configuration Release -o Binaries ./
|
||||
|
||||
sentry:
|
||||
stage: ops
|
||||
image: getsentry/sentry-cli
|
||||
only:
|
||||
- master
|
||||
dependencies:
|
||||
- build
|
||||
script:
|
||||
- sentry-cli releases new -p geekbot 4.0.0-${CI_COMMIT_SHA:0:8}
|
||||
- sentry-cli releases set-commits --auto 4.0.0-${CI_COMMIT_SHA:0:8}
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
image: runebaas/rsync-ssh-git
|
||||
|
@ -26,6 +38,7 @@ deploy:
|
|||
- master
|
||||
dependencies:
|
||||
- build
|
||||
- sentry
|
||||
environment:
|
||||
name: Production
|
||||
url: https://discordapp.com/oauth2/authorize?client_id=171249478546882561&scope=bot&permissions=1416834054
|
||||
|
@ -44,6 +57,8 @@ mirror:
|
|||
image: runebaas/rsync-ssh-git
|
||||
only:
|
||||
- master
|
||||
dependencies:
|
||||
- build
|
||||
- sentry
|
||||
script:
|
||||
- git push https://runebaas:$TOKEN@github.com/pizzaandcoffee/Geekbot.net.git origin/master:master -f
|
||||
|
Loading…
Reference in a new issue