Compare commits
103 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 21704bfafe | |||
| 2e9d2c9382 | |||
| e18b3efcd8 | |||
| 17fe00754a | |||
|
f22ae8da58
|
|||
| 20f2c72087 | |||
| 80364db698 | |||
| d338dacf75 | |||
|
2ed2c6c002
|
|||
| 74b633964b | |||
| d03273aec8 | |||
| b992c751af | |||
| 4fef16342f | |||
| 56267c400b | |||
| 4205a041a4 | |||
| d4ed5929c1 | |||
| 9531a85085 | |||
| 355a8c4b44 | |||
| 73b67f9bd7 | |||
| 4fe1f962b4 | |||
| 9cdfdb306a | |||
|
7d3027dff8
|
|||
| b9549f5b76 | |||
| 440cada50a | |||
|
574412ceab
|
|||
| 5515ca8871 | |||
| d2068b9b56 | |||
| 55a93f6b16 | |||
| 8fb3bc0bc4 | |||
| bef57dfa9f | |||
| e12678e8a6 | |||
| e83d11e4d7 | |||
| 611a12cebe | |||
| 2fb9574239 | |||
| 6f97b32470 | |||
| 87eb9b8541 | |||
| e303bddf10 | |||
| 527d724ad0 | |||
| ce268c9881 | |||
| 07ddf8c0b3 | |||
|
745554f926
|
|||
| a6f00992f9 | |||
| 2481e37ef8 | |||
| 0c29ecdd37 | |||
| 896f67b9b3 | |||
| 1b79083834 | |||
| 317c7f4dc2 | |||
| fcdfd66bc8 | |||
| f23fd0f547 | |||
| e9db66377a | |||
| e63d7a2f78 | |||
| 9c85f00ce4 | |||
| cd89e0ec57 | |||
| b186f41410 | |||
| 083cbecf87 | |||
| c54e329c55 | |||
| c2117efaf6 | |||
| a17aa60dc1 | |||
| ad616a26db | |||
| 36a0660374 | |||
| b8e3ae0986 | |||
| 1566b434b0 | |||
| a39def6156 | |||
| 1a597824b5 | |||
| 0429746ec5 | |||
| 9674c2bb72 | |||
|
d3b4ed7572
|
|||
| 193e39409d | |||
| 60c0c6c1b7 | |||
| e6b2a811e8 | |||
| 6ee067ed33 | |||
| 508df4247d | |||
| 7c98af2a00 | |||
| 04a159cb13 | |||
| d6827caf63 | |||
| ef8aa739c6 | |||
| 4219456fe3 | |||
| d9a760e625 | |||
| 8bcfc0f36d | |||
| 1a314802b5 | |||
| 6b9adcb959 | |||
| 7313374a23 | |||
| cea2045b12 | |||
| bfbec75aa9 | |||
| 96d4f3c2fd | |||
| f0c1a66729 | |||
|
3e8f7cd7e4
|
|||
| ba836dde7c | |||
| 3729f1f35a | |||
| 8dfe0bc370 | |||
| 5f2b986f45 | |||
| 99c4e9f0a9 | |||
| 2dee45e3bf | |||
| 0df1392f3e | |||
| 3f96abbe06 | |||
| 053bdab30d | |||
| 3d72e88ead | |||
| 26ff4918a4 | |||
| 229d562871 | |||
| 7f4114f20e | |||
| 9c29614fac | |||
| d95a2bb845 | |||
| bccb9722c7 |
+6
-16
@@ -1,28 +1,18 @@
|
|||||||
include:
|
include:
|
||||||
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
|
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
|
||||||
|
- project: unboundsoftware/ci-templates
|
||||||
|
file: Defaults.gitlab-ci.yml
|
||||||
- project: unboundsoftware/ci-templates
|
- project: unboundsoftware/ci-templates
|
||||||
file: Release.gitlab-ci.yml
|
file: Release.gitlab-ci.yml
|
||||||
|
- project: unboundsoftware/ci-templates
|
||||||
|
file: Pre-Commit-Go.gitlab-ci.yml
|
||||||
|
|
||||||
image: golang:1.23.2
|
image: amd64/golang:1.24.3@sha256:f255a7d417e3733c9514bf8dd9c708b15b0ccd2543a850bed1d1198f42e476e2
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- deps
|
- deps
|
||||||
- test
|
- test
|
||||||
|
|
||||||
run-pre-commit:
|
|
||||||
stage: .pre
|
|
||||||
image: unbound/pre-commit
|
|
||||||
variables:
|
|
||||||
PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit
|
|
||||||
cache:
|
|
||||||
- key:
|
|
||||||
files:
|
|
||||||
- .pre-commit-config.yaml
|
|
||||||
paths:
|
|
||||||
- ${PRE_COMMIT_HOME}
|
|
||||||
script:
|
|
||||||
- pre-commit run --all-files
|
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
stage: deps
|
stage: deps
|
||||||
script:
|
script:
|
||||||
@@ -42,7 +32,7 @@ test:
|
|||||||
|
|
||||||
vulnerabilities:
|
vulnerabilities:
|
||||||
stage: test
|
stage: test
|
||||||
image: golang:1.23.2
|
image: amd64/golang:1.24.3@sha256:f255a7d417e3733c9514bf8dd9c708b15b0ccd2543a850bed1d1198f42e476e2
|
||||||
script:
|
script:
|
||||||
- go install golang.org/x/vuln/cmd/govulncheck@latest
|
- go install golang.org/x/vuln/cmd/govulncheck@latest
|
||||||
- govulncheck ./...
|
- govulncheck ./...
|
||||||
|
|||||||
@@ -1,2 +1,22 @@
|
|||||||
|
version: "2"
|
||||||
run:
|
run:
|
||||||
allow-parallel-runners: true
|
allow-parallel-runners: true
|
||||||
|
linters:
|
||||||
|
exclusions:
|
||||||
|
generated: lax
|
||||||
|
presets:
|
||||||
|
- comments
|
||||||
|
- common-false-positives
|
||||||
|
- legacy
|
||||||
|
- std-error-handling
|
||||||
|
paths:
|
||||||
|
- third_party$
|
||||||
|
- builtin$
|
||||||
|
- examples$
|
||||||
|
formatters:
|
||||||
|
exclusions:
|
||||||
|
generated: lax
|
||||||
|
paths:
|
||||||
|
- third_party$
|
||||||
|
- builtin$
|
||||||
|
- examples$
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# See https://pre-commit.com/hooks.html for more hooks
|
# See https://pre-commit.com/hooks.html for more hooks
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.6.0
|
rev: v5.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
@@ -18,7 +18,7 @@ repos:
|
|||||||
- --project
|
- --project
|
||||||
- unboundsoftware/shiny/sentrysetup
|
- unboundsoftware/shiny/sentrysetup
|
||||||
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
||||||
rev: v9.18.0
|
rev: v9.22.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: commitlint
|
- id: commitlint
|
||||||
stages: [ commit-msg ]
|
stages: [ commit-msg ]
|
||||||
@@ -30,17 +30,17 @@ repos:
|
|||||||
- id: go-imports
|
- id: go-imports
|
||||||
args:
|
args:
|
||||||
- -local
|
- -local
|
||||||
- gitlab.com/unboundsoftware/shiny/authz_client
|
- gitlab.com/unboundsoftware/shiny/sentrysetup
|
||||||
- repo: https://github.com/lietu/go-pre-commit
|
- repo: https://github.com/lietu/go-pre-commit
|
||||||
rev: v0.1.0
|
rev: v0.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: go-test
|
- id: go-test
|
||||||
- id: gofumpt
|
- id: gofumpt
|
||||||
- repo: https://github.com/golangci/golangci-lint
|
- repo: https://github.com/golangci/golangci-lint
|
||||||
rev: v1.61.0
|
rev: v2.1.6
|
||||||
hooks:
|
hooks:
|
||||||
- id: golangci-lint-full
|
- id: golangci-lint-full
|
||||||
- repo: https://github.com/gitleaks/gitleaks
|
- repo: https://github.com/gitleaks/gitleaks
|
||||||
rev: v8.20.0
|
rev: v8.27.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: gitleaks
|
- id: gitleaks
|
||||||
|
|||||||
+75
-29
@@ -2,6 +2,52 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## [0.3.3] - 2025-05-15
|
||||||
|
|
||||||
|
### 🐛 Bug Fixes
|
||||||
|
|
||||||
|
- *(deps)* Update module github.com/getsentry/sentry-go to v0.33.0
|
||||||
|
|
||||||
|
### 🚜 Refactor
|
||||||
|
|
||||||
|
- *(ci)* Update CI templates for better structure
|
||||||
|
|
||||||
|
## [0.3.2] - 2025-04-11
|
||||||
|
|
||||||
|
### 🐛 Bug Fixes
|
||||||
|
|
||||||
|
- *(ci)* Update golang image to use amd64 architecture
|
||||||
|
- Update go-imports repository reference for sentrysetup
|
||||||
|
- *(deps)* Update module github.com/getsentry/sentry-go to v0.32.0
|
||||||
|
|
||||||
|
## [0.3.1] - 2025-01-03
|
||||||
|
|
||||||
|
### 🐛 Bug Fixes
|
||||||
|
|
||||||
|
- *(deps)* Update module github.com/getsentry/sentry-go to v0.31.0
|
||||||
|
- *(deps)* Update module github.com/getsentry/sentry-go to v0.31.1
|
||||||
|
|
||||||
|
## [0.3.0] - 2025-01-01
|
||||||
|
|
||||||
|
### 🚀 Features
|
||||||
|
|
||||||
|
- *(golangci)* Increase timeout for parallel runners to 5m
|
||||||
|
|
||||||
|
### 🐛 Bug Fixes
|
||||||
|
|
||||||
|
- *(deps)* Update module github.com/stretchr/testify to v1.10.0
|
||||||
|
- *(deps)* Update module github.com/getsentry/sentry-go to v0.30.0
|
||||||
|
|
||||||
|
### ⚙️ Miscellaneous Tasks
|
||||||
|
|
||||||
|
- *(ci)* Remove pre-commit job and include new template
|
||||||
|
|
||||||
|
## [0.2.2] - 2024-10-21
|
||||||
|
|
||||||
|
### 🐛 Bug Fixes
|
||||||
|
|
||||||
|
- *(deps)* Update module github.com/getsentry/sentry-go to v0.29.1
|
||||||
|
|
||||||
## [0.2.1] - 2024-10-05
|
## [0.2.1] - 2024-10-05
|
||||||
|
|
||||||
### 🐛 Bug Fixes
|
### 🐛 Bug Fixes
|
||||||
@@ -26,6 +72,13 @@ All notable changes to this project will be documented in this file.
|
|||||||
|
|
||||||
- *(deps)* Update module github.com/stretchr/testify to v1.9.0
|
- *(deps)* Update module github.com/stretchr/testify to v1.9.0
|
||||||
|
|
||||||
|
### 💼 Other
|
||||||
|
|
||||||
|
- *(deps)* Bump github.com/getsentry/sentry-go from 0.24.0 to 0.24.1
|
||||||
|
- *(deps)* Bump github.com/getsentry/sentry-go from 0.24.1 to 0.25.0
|
||||||
|
- *(deps)* Bump github.com/getsentry/sentry-go from 0.25.0 to 0.26.0
|
||||||
|
- *(deps)* Bump github.com/getsentry/sentry-go from 0.26.0 to 0.27.0
|
||||||
|
|
||||||
### ⚙️ Miscellaneous Tasks
|
### ⚙️ Miscellaneous Tasks
|
||||||
|
|
||||||
- Update to Go 1.21.1 for vulnerabilities
|
- Update to Go 1.21.1 for vulnerabilities
|
||||||
@@ -37,21 +90,20 @@ All notable changes to this project will be documented in this file.
|
|||||||
- Remove Dependabot config
|
- Remove Dependabot config
|
||||||
- Add gitleaks to pre-commit setup
|
- Add gitleaks to pre-commit setup
|
||||||
|
|
||||||
### Build
|
|
||||||
|
|
||||||
- *(deps)* Bump github.com/getsentry/sentry-go from 0.24.0 to 0.24.1
|
|
||||||
- *(deps)* Bump github.com/getsentry/sentry-go from 0.24.1 to 0.25.0
|
|
||||||
- *(deps)* Bump github.com/getsentry/sentry-go from 0.25.0 to 0.26.0
|
|
||||||
- *(deps)* Bump github.com/getsentry/sentry-go from 0.26.0 to 0.27.0
|
|
||||||
|
|
||||||
## [0.0.6] - 2023-09-06
|
## [0.0.6] - 2023-09-06
|
||||||
|
|
||||||
### Build
|
### 💼 Other
|
||||||
|
|
||||||
- *(deps)* Bump github.com/getsentry/sentry-go from 0.23.0 to 0.24.0
|
- *(deps)* Bump github.com/getsentry/sentry-go from 0.23.0 to 0.24.0
|
||||||
|
|
||||||
## [0.0.5] - 2023-09-05
|
## [0.0.5] - 2023-09-05
|
||||||
|
|
||||||
|
### 💼 Other
|
||||||
|
|
||||||
|
- *(deps)* Bump github.com/getsentry/sentry-go from 0.21.0 to 0.22.0
|
||||||
|
- *(deps)* Bump github.com/getsentry/sentry-go from 0.22.0 to 0.23.0
|
||||||
|
- *(deps)* Bump github.com/getsentry/sentry-go from 0.23.0 to 0.24.0
|
||||||
|
|
||||||
### ⚙️ Miscellaneous Tasks
|
### ⚙️ Miscellaneous Tasks
|
||||||
|
|
||||||
- Update Go version
|
- Update Go version
|
||||||
@@ -60,44 +112,33 @@ All notable changes to this project will be documented in this file.
|
|||||||
- Update pre-commit versions
|
- Update pre-commit versions
|
||||||
- Update to Golang 1.21.0 for vulnerabilities
|
- Update to Golang 1.21.0 for vulnerabilities
|
||||||
|
|
||||||
### Build
|
|
||||||
|
|
||||||
- *(deps)* Bump github.com/getsentry/sentry-go from 0.21.0 to 0.22.0
|
|
||||||
- *(deps)* Bump github.com/getsentry/sentry-go from 0.22.0 to 0.23.0
|
|
||||||
- *(deps)* Bump github.com/getsentry/sentry-go from 0.23.0 to 0.24.0
|
|
||||||
|
|
||||||
## [0.0.4] - 2023-06-04
|
## [0.0.4] - 2023-06-04
|
||||||
|
|
||||||
|
### 💼 Other
|
||||||
|
|
||||||
|
- *(deps)* Bump github.com/stretchr/testify from 1.8.2 to 1.8.3
|
||||||
|
- *(deps)* Bump github.com/stretchr/testify from 1.8.3 to 1.8.4
|
||||||
|
|
||||||
### ⚙️ Miscellaneous Tasks
|
### ⚙️ Miscellaneous Tasks
|
||||||
|
|
||||||
- Update pre-commit and fix golangci-lint
|
- Update pre-commit and fix golangci-lint
|
||||||
- Update golangci-lint
|
- Update golangci-lint
|
||||||
|
|
||||||
### Build
|
|
||||||
|
|
||||||
- *(deps)* Bump github.com/stretchr/testify from 1.8.2 to 1.8.3
|
|
||||||
- *(deps)* Bump github.com/stretchr/testify from 1.8.3 to 1.8.4
|
|
||||||
|
|
||||||
## [0.0.3] - 2023-05-08
|
## [0.0.3] - 2023-05-08
|
||||||
|
|
||||||
|
### 💼 Other
|
||||||
|
|
||||||
|
- *(deps)* Bump github.com/getsentry/sentry-go from 0.20.0 to 0.21.0
|
||||||
|
|
||||||
### ⚙️ Miscellaneous Tasks
|
### ⚙️ Miscellaneous Tasks
|
||||||
|
|
||||||
- Update to Go 1.20.3
|
- Update to Go 1.20.3
|
||||||
- Fix Gitlab CI lint
|
- Fix Gitlab CI lint
|
||||||
- Update Go version for vulnerabilities
|
- Update Go version for vulnerabilities
|
||||||
|
|
||||||
### Build
|
|
||||||
|
|
||||||
- *(deps)* Bump github.com/getsentry/sentry-go from 0.20.0 to 0.21.0
|
|
||||||
|
|
||||||
## [0.0.2] - 2023-03-31
|
## [0.0.2] - 2023-03-31
|
||||||
|
|
||||||
### ⚙️ Miscellaneous Tasks
|
### 💼 Other
|
||||||
|
|
||||||
- Update to golang 1.20.1
|
|
||||||
- Update Go verion for vulnerabilities scan
|
|
||||||
|
|
||||||
### Build
|
|
||||||
|
|
||||||
- *(deps)* Bump github.com/stretchr/testify from 1.7.2 to 1.8.1
|
- *(deps)* Bump github.com/stretchr/testify from 1.7.2 to 1.8.1
|
||||||
- *(deps)* Bump github.com/getsentry/sentry-go from 0.17.0 to 0.18.0
|
- *(deps)* Bump github.com/getsentry/sentry-go from 0.17.0 to 0.18.0
|
||||||
@@ -105,6 +146,11 @@ All notable changes to this project will be documented in this file.
|
|||||||
- *(deps)* Bump github.com/getsentry/sentry-go from 0.18.0 to 0.19.0
|
- *(deps)* Bump github.com/getsentry/sentry-go from 0.18.0 to 0.19.0
|
||||||
- *(deps)* Bump github.com/getsentry/sentry-go from 0.19.0 to 0.20.0
|
- *(deps)* Bump github.com/getsentry/sentry-go from 0.19.0 to 0.20.0
|
||||||
|
|
||||||
|
### ⚙️ Miscellaneous Tasks
|
||||||
|
|
||||||
|
- Update to golang 1.20.1
|
||||||
|
- Update Go verion for vulnerabilities scan
|
||||||
|
|
||||||
## [0.0.1] - 2023-01-29
|
## [0.0.1] - 2023-01-29
|
||||||
|
|
||||||
### 🚀 Features
|
### 🚀 Features
|
||||||
|
|||||||
@@ -3,16 +3,15 @@ module gitlab.com/unboundsoftware/shiny/sentrysetup
|
|||||||
go 1.21
|
go 1.21
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/getsentry/sentry-go v0.29.0
|
github.com/getsentry/sentry-go v0.40.0
|
||||||
github.com/stretchr/testify v1.9.0
|
github.com/stretchr/testify v1.10.0
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||||
github.com/kr/pretty v0.2.0 // indirect
|
github.com/kr/text v0.2.0 // indirect
|
||||||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||||
golang.org/x/sys v0.18.0 // indirect
|
golang.org/x/sys v0.18.0 // indirect
|
||||||
golang.org/x/text v0.14.0 // indirect
|
golang.org/x/text v0.14.0 // indirect
|
||||||
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
|
|
||||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,30 +1,34 @@
|
|||||||
|
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
|
||||||
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
||||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||||
github.com/getsentry/sentry-go v0.29.0 h1:YtWluuCFg9OfcqnaujpY918N/AhCCwarIDWOYSBAjCA=
|
github.com/getsentry/sentry-go v0.33.0 h1:YWyDii0KGVov3xOaamOnF0mjOrqSjBqwv48UEzn7QFg=
|
||||||
github.com/getsentry/sentry-go v0.29.0/go.mod h1:jhPesDAL0Q0W2+2YEuVOvdWmVtdsr1+jtBrlDEVWwLY=
|
github.com/getsentry/sentry-go v0.33.0/go.mod h1:C55omcY9ChRQIUcVcGcs+Zdy4ZpQGvNJ7JYHIoSWOtE=
|
||||||
github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA=
|
github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA=
|
||||||
github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og=
|
github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og=
|
||||||
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
|
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
|
||||||
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
|
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
|
||||||
github.com/kr/pretty v0.2.0 h1:s5hAObm+yFO5uHYt5dYjxi2rXrsnmRpJx4OYvIWUaQs=
|
github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0=
|
||||||
github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
|
github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk=
|
||||||
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
|
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
|
||||||
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
|
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
||||||
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
|
|
||||||
github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4=
|
github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4=
|
||||||
github.com/pingcap/errors v0.11.4/go.mod h1:Oi8TUi2kEtXXLMJk9l1cGmz20kV3TaQ0usTwv5KuLY8=
|
github.com/pingcap/errors v0.11.4/go.mod h1:Oi8TUi2kEtXXLMJk9l1cGmz20kV3TaQ0usTwv5KuLY8=
|
||||||
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
|
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
|
||||||
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
|
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
|
||||||
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
||||||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||||
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
|
github.com/rogpeppe/go-internal v1.8.0 h1:FCbCCtXNOY3UtUuHUYaghJg4y7Fd14rXifAYUAtL9R8=
|
||||||
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE=
|
||||||
|
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
|
||||||
|
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
||||||
|
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
|
||||||
|
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
|
||||||
golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
|
golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
|
||||||
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||||
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
|
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
|
||||||
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
|
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
|
||||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||||
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo=
|
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
|
||||||
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
|
||||||
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
||||||
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ func SetupSentry(logger *slog.Logger, releaseName string, args SentryConfig) err
|
|||||||
}
|
}
|
||||||
logger.Info(fmt.Sprintf("configured Sentry for env: %s", args.Environment))
|
logger.Info(fmt.Sprintf("configured Sentry for env: %s", args.Environment))
|
||||||
if cfg.Debug {
|
if cfg.Debug {
|
||||||
sentry.Logger = slog.NewLogLogger(logger.With("part", "sentry").Handler(), slog.LevelDebug)
|
sentry.DebugLogger = slog.NewLogLogger(logger.With("part", "sentry").Handler(), slog.LevelDebug)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user