mirror of
https://github.com/getsentry/self-hosted.git
synced 2026-02-06 10:57:17 +00:00
Rename onpremise to self-hosted (#1169)
This commit is contained in:
parent
459323354e
commit
c258a1e939
2
.env
2
.env
@ -1,4 +1,4 @@
|
||||
COMPOSE_PROJECT_NAME=sentry_onpremise
|
||||
COMPOSE_PROJECT_NAME=sentry-self-hosted
|
||||
SENTRY_EVENT_RETENTION_DAYS=90
|
||||
# You can either use a port number or an IP:PORT combo for SENTRY_BIND
|
||||
# See https://docs.docker.com/compose/compose-file/#ports for more
|
||||
|
||||
6
.github/ISSUE_TEMPLATE/feature-request.yml
vendored
6
.github/ISSUE_TEMPLATE/feature-request.yml
vendored
@ -5,9 +5,9 @@ body:
|
||||
id: problem
|
||||
attributes:
|
||||
label: Problem Statement
|
||||
description: What problem could `onpremise` solve that it doesn't?
|
||||
description: What problem could `self-hosted` solve that it doesn't?
|
||||
placeholder: |-
|
||||
I want to make whirled peas, but `onpremise` doesn't blend.
|
||||
I want to make whirled peas, but `self-hosted` doesn't blend.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
@ -16,7 +16,7 @@ body:
|
||||
label: Solution Brainstorm
|
||||
description: We know you have bright ideas to share ... share away, friend.
|
||||
placeholder: |-
|
||||
Add a blender to `onpremise`.
|
||||
Add a blender to `self-hosted`.
|
||||
validations:
|
||||
required: false
|
||||
- type: markdown
|
||||
|
||||
@ -56,5 +56,5 @@ sudo SENTRY_IMAGE=us.gcr.io/sentryio/sentry:83b1380 ./install.sh
|
||||
|
||||
Where you replace `83b1380` with the sha you want to use.
|
||||
|
||||
[build-status-image]: https://github.com/getsentry/onpremise/workflows/test/badge.svg
|
||||
[build-status-image]: https://github.com/getsentry/self-hosted/workflows/test/badge.svg
|
||||
[build-status-url]: https://git.io/JUYkh
|
||||
|
||||
@ -9,7 +9,7 @@ x-healthcheck-defaults: &healthcheck_defaults
|
||||
# Related issues:
|
||||
# https://github.com/moby/moby/issues/39102
|
||||
# https://github.com/moby/moby/issues/39388
|
||||
# https://github.com/getsentry/onpremise/issues/1000
|
||||
# https://github.com/getsentry/self-hosted/issues/1000
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
@ -252,7 +252,7 @@ services:
|
||||
command: subscriptions --auto-offset-reset=latest --consumer-group=snuba-transactions-subscriptions-consumers --topic=events --result-topic=transactions-subscription-results --dataset=transactions --commit-log-topic=snuba-commit-log --commit-log-group=transactions_group --delay-seconds=60 --schedule-ttl=60
|
||||
snuba-cleanup:
|
||||
<<: *snuba_defaults
|
||||
image: snuba-cleanup-onpremise-local
|
||||
image: snuba-cleanup-self-hosted-local
|
||||
build:
|
||||
context: ./cron
|
||||
args:
|
||||
@ -260,7 +260,7 @@ services:
|
||||
command: '"*/5 * * * * gosu snuba snuba cleanup --storage errors --dry-run False"'
|
||||
snuba-transactions-cleanup:
|
||||
<<: *snuba_defaults
|
||||
image: snuba-cleanup-onpremise-local
|
||||
image: snuba-cleanup-self-hosted-local
|
||||
build:
|
||||
context: ./cron
|
||||
args:
|
||||
@ -278,7 +278,7 @@ services:
|
||||
command: run -c /etc/symbolicator/config.yml
|
||||
symbolicator-cleanup:
|
||||
<<: *restart_policy
|
||||
image: symbolicator-cleanup-onpremise-local
|
||||
image: symbolicator-cleanup-self-hosted-local
|
||||
build:
|
||||
context: ./cron
|
||||
args:
|
||||
@ -317,7 +317,7 @@ services:
|
||||
command: run query-subscription-consumer --commit-batch-size 1 --topic transactions-subscription-results
|
||||
sentry-cleanup:
|
||||
<<: *sentry_defaults
|
||||
image: sentry-cleanup-onpremise-local
|
||||
image: sentry-cleanup-self-hosted-local
|
||||
build:
|
||||
context: ./cron
|
||||
args:
|
||||
@ -357,6 +357,7 @@ services:
|
||||
web:
|
||||
<<: *depends_on-healthy
|
||||
volumes:
|
||||
# These store application data that should persist across restarts.
|
||||
sentry-data:
|
||||
external: true
|
||||
sentry-postgres:
|
||||
@ -371,6 +372,8 @@ volumes:
|
||||
external: true
|
||||
sentry-symbolicator:
|
||||
external: true
|
||||
|
||||
# These store ephemeral data that needn't persist across restarts.
|
||||
sentry-secrets:
|
||||
sentry-smtp:
|
||||
sentry-zookeeper-log:
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
set -euo pipefail
|
||||
source "$(dirname $0)/_lib.sh"
|
||||
|
||||
rm -rf /tmp/sentry-onpremise-test-sandbox.*
|
||||
_SANDBOX="$(mktemp -d /tmp/sentry-onpremise-test-sandbox.XXX)"
|
||||
rm -rf /tmp/sentry-self-hosted-test-sandbox.*
|
||||
_SANDBOX="$(mktemp -d /tmp/sentry-self-hosted-test-sandbox.XXX)"
|
||||
|
||||
report_success() {
|
||||
echo "$(basename $0) - Success 👍"
|
||||
|
||||
@ -6,7 +6,7 @@ replace_tsdb() {
|
||||
! grep -xq 'SENTRY_TSDB = "sentry.tsdb.redissnuba.RedisSnubaTSDB"' "$SENTRY_CONFIG_PY"
|
||||
); then
|
||||
# Do NOT indent the following string as it would be reflected in the end result,
|
||||
# breaking the final config file. See getsentry/onpremise#624.
|
||||
# breaking the final config file. See getsentry/self-hosted#624.
|
||||
tsdb_settings="\
|
||||
SENTRY_TSDB = \"sentry.tsdb.redissnuba.RedisSnubaTSDB\"
|
||||
|
||||
@ -37,7 +37,7 @@ SENTRY_TSDB_OPTIONS = {\"switchover_timestamp\": $(date +%s) + (90 * 24 * 3600)}
|
||||
echo ""
|
||||
echo "$tsdb_settings"
|
||||
echo ""
|
||||
echo "For more information please refer to https://github.com/getsentry/onpremise/pull/430"
|
||||
echo "For more information please refer to https://github.com/getsentry/self-hosted/pull/430"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@ -5,9 +5,6 @@ if [[ -n "$MINIMIZE_DOWNTIME" ]]; then
|
||||
$dc rm -fsv $($dc config --services | grep -v -E '^(nginx|relay)$')
|
||||
else
|
||||
# Clean up old stuff and ensure nothing is working while we install/update
|
||||
# This is for older versions of on-premise:
|
||||
$dc -p onpremise down -t $STOP_TIMEOUT --rmi local --remove-orphans
|
||||
# This is for newer versions
|
||||
$dc down -t $STOP_TIMEOUT --rmi local --remove-orphans
|
||||
fi
|
||||
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
echo "${_group}Fetching and updating Docker images ..."
|
||||
|
||||
# We tag locally built images with an '-onpremise-local' suffix. `docker
|
||||
# We tag locally built images with a '-self-hosted-local' suffix. `docker
|
||||
# compose pull` tries to pull these too and shows a 404 error on the console
|
||||
# which is confusing and unnecessary. To overcome this, we add the
|
||||
# stderr>stdout redirection below and pass it through grep, ignoring all lines
|
||||
# having this '-onpremise-local' suffix.
|
||||
|
||||
$dc pull -q --ignore-pull-failures 2>&1 | grep -v -- -onpremise-local || true
|
||||
$dc pull -q --ignore-pull-failures 2>&1 | grep -v -- -self-hosted-local || true
|
||||
|
||||
# We may not have the set image on the repo (local images) so allow fails
|
||||
docker pull ${SENTRY_IMAGE} || true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user