Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# Sentry release helper used by GitHub + Gitea CI to tag releases,
|
||||
# upload source-maps, correlate commits and mark deploys against our
|
||||
# self-hosted Sentry (https://sentry.boiler.saas-ctrl.com).
|
||||
# self-hosted Sentry (https://sentry.saas-ctrl.com).
|
||||
#
|
||||
# Usage:
|
||||
# scripts/ci/sentry-release.sh \
|
||||
@@ -120,7 +120,15 @@ if [ "$SOURCEMAPS" != "none" ]; then
|
||||
sentry_cli sourcemaps upload --release "$RELEASE" "$SOURCEMAPS"
|
||||
fi
|
||||
|
||||
sentry_cli releases set-commits "$RELEASE" --auto
|
||||
# Commit association (suspect-commits) needs a configured repository
|
||||
# integration in Sentry (Org Settings -> Source Code Management). On the
|
||||
# self-hosted instance this is not set up, so `set-commits --auto` makes the
|
||||
# server return HTTP 500. Keep it non-fatal: the release tag, finalize and
|
||||
# deploy marker (what error grouping relies on) still apply. Once a repo
|
||||
# integration is configured in Sentry, this starts working automatically.
|
||||
if ! sentry_cli releases set-commits "$RELEASE" --auto; then
|
||||
echo "sentry-release: set-commits skipped (no repo integration / commit association rejected)"
|
||||
fi
|
||||
sentry_cli releases finalize "$RELEASE"
|
||||
sentry_cli releases deploys "$RELEASE" new -e "$ENVIRONMENT"
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ test_happy_path_with_sourcemaps() {
|
||||
SENTRY_CLI="$stub" \
|
||||
SENTRY_AUTH_TOKEN="t" SENTRY_ORG="sentry" SENTRY_URL="https://sentry.example" \
|
||||
bash "$HELPER" \
|
||||
--project boilerplate-web \
|
||||
--project hivegrid-web \
|
||||
--environment production \
|
||||
--release abc123 \
|
||||
--sourcemaps "$sourcemaps" >/dev/null
|
||||
@@ -100,7 +100,7 @@ test_happy_path_without_sourcemaps() {
|
||||
SENTRY_CLI="$stub" \
|
||||
SENTRY_AUTH_TOKEN="t" SENTRY_ORG="sentry" SENTRY_URL="https://sentry.example" \
|
||||
bash "$HELPER" \
|
||||
--project boilerplate-api \
|
||||
--project hivegrid-api \
|
||||
--environment staging \
|
||||
--release deadbeef \
|
||||
--sourcemaps none >/dev/null
|
||||
@@ -123,7 +123,7 @@ test_missing_env_var_fails() {
|
||||
SENTRY_CLI="$stub" \
|
||||
SENTRY_ORG="sentry" SENTRY_URL="https://sentry.example" \
|
||||
bash "$HELPER" \
|
||||
--project boilerplate-api \
|
||||
--project hivegrid-api \
|
||||
--environment staging \
|
||||
--release deadbeef \
|
||||
--sourcemaps none >/dev/null 2>&1
|
||||
@@ -174,7 +174,7 @@ test_missing_sourcemap_dir_fails() {
|
||||
SENTRY_CLI="$stub" \
|
||||
SENTRY_AUTH_TOKEN="t" SENTRY_ORG="sentry" SENTRY_URL="https://sentry.example" \
|
||||
bash "$HELPER" \
|
||||
--project boilerplate-web \
|
||||
--project hivegrid-web \
|
||||
--environment production \
|
||||
--release abc \
|
||||
--sourcemaps "$tmp/does-not-exist" >/dev/null 2>&1
|
||||
|
||||
Reference in new issue
Block a user