-
-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(crons): Fully drop auth-token based check in support (#1969)
Co-authored-by: Daniel Szoke <szokeasaurusrex@users.noreply.github.com>
- Loading branch information
1 parent
01303af
commit 6a449c0
Showing
6 changed files
with
34 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
tests/integration/_cases/monitors/monitors-run-token-auth-win.trycmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
``` | ||
$ sentry-cli monitors run foo-monitor -- cmd.exe /C echo 123 | ||
? success | ||
WARN [..] Token auth is deprecated for cron monitor checkins and will be removed in the next major version. | ||
WARN [..] Please use DSN auth. | ||
123 | ||
? failed | ||
error: Token auth is no longer supported for cron monitor checkins. Please use DSN auth. | ||
See: https://docs.sentry.io/product/crons/getting-started/cli/#configuration | ||
|
||
Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output. | ||
Please attach the full debug log to all bug reports. | ||
|
||
``` |
10 changes: 6 additions & 4 deletions
10
tests/integration/_cases/monitors/monitors-run-token-auth.trycmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
``` | ||
$ sentry-cli monitors run foo-monitor -- echo 123 | ||
? success | ||
WARN [..] Token auth is deprecated for cron monitor checkins and will be removed in the next major version. | ||
WARN [..] Please use DSN auth. | ||
123 | ||
? failed | ||
error: Token auth is no longer supported for cron monitor checkins. Please use DSN auth. | ||
See: https://docs.sentry.io/product/crons/getting-started/cli/#configuration | ||
|
||
Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output. | ||
Please attach the full debug log to all bug reports. | ||
|
||
``` |