mirror of
https://github.com/getsentry/self-hosted.git
synced 2025-12-08 19:46:14 +00:00
In this PR, we change the send-event function to write out more information into the envelope we send via sentry-cli, particularly adding breadcrumbs with the end of the log and giving the stack trace in a format Sentry self-hosted can understand. Fixes getsentry/team-ospo#54 and getsentry/team-ospo#53 Example issue with this formatting: https://self-hosted.getsentry.net/organizations/self-hosted/issues/227/?query=is%3Aunresolved
14 lines
669 B
Bash
14 lines
669 B
Bash
echo "${_group}Building and tagging Docker images ..."
|
|
|
|
echo ""
|
|
# Build any service that provides the image sentry-self-hosted-local first,
|
|
# as it is used as the base image for sentry-cleanup-self-hosted-local.
|
|
$dc build --build-arg "http_proxy=${http_proxy:-}" --build-arg "https_proxy=${https_proxy:-}" --build-arg "no_proxy=${no_proxy:-}" --force-rm web
|
|
$dc build --build-arg "http_proxy=${http_proxy:-}" --build-arg "https_proxy=${https_proxy:-}" --build-arg "no_proxy=${no_proxy:-}" --force-rm
|
|
# Used in error-handling.sh for error envelope payloads
|
|
docker build -t sentry-self-hosted-jq-local $basedir/jq
|
|
echo ""
|
|
echo "Docker images built."
|
|
|
|
echo "${_endgroup}"
|