Skip to content

Commit c258a1e

Browse files
authored
Rename onpremise to self-hosted (#1169)
1 parent 4593233 commit c258a1e

File tree

9 files changed

+20
-20
lines changed

9 files changed

+20
-20
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
COMPOSE_PROJECT_NAME=sentry_onpremise
1+
COMPOSE_PROJECT_NAME=sentry-self-hosted
22
SENTRY_EVENT_RETENTION_DAYS=90
33
# You can either use a port number or an IP:PORT combo for SENTRY_BIND
44
# See https://docs.docker.com/compose/compose-file/#ports for more

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ body:
55
id: problem
66
attributes:
77
label: Problem Statement
8-
description: What problem could `onpremise` solve that it doesn't?
8+
description: What problem could `self-hosted` solve that it doesn't?
99
placeholder: |-
10-
I want to make whirled peas, but `onpremise` doesn't blend.
10+
I want to make whirled peas, but `self-hosted` doesn't blend.
1111
validations:
1212
required: true
1313
- type: textarea
@@ -16,7 +16,7 @@ body:
1616
label: Solution Brainstorm
1717
description: We know you have bright ideas to share ... share away, friend.
1818
placeholder: |-
19-
Add a blender to `onpremise`.
19+
Add a blender to `self-hosted`.
2020
validations:
2121
required: false
2222
- type: markdown

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ sudo SENTRY_IMAGE=us.gcr.io/sentryio/sentry:83b1380 ./install.sh
5656

5757
Where you replace `83b1380` with the sha you want to use.
5858

59-
[build-status-image]: https://github.com/getsentry/onpremise/workflows/test/badge.svg
59+
[build-status-image]: https://github.com/getsentry/self-hosted/workflows/test/badge.svg
6060
[build-status-url]: https://git.io/JUYkh

docker-compose.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ x-healthcheck-defaults: &healthcheck_defaults
99
# Related issues:
1010
# https://github.com/moby/moby/issues/39102
1111
# https://github.com/moby/moby/issues/39388
12-
# https://github.com/getsentry/onpremise/issues/1000
12+
# https://github.com/getsentry/self-hosted/issues/1000
1313
interval: 30s
1414
timeout: 5s
1515
retries: 5
@@ -252,15 +252,15 @@ services:
252252
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
253253
snuba-cleanup:
254254
<<: *snuba_defaults
255-
image: snuba-cleanup-onpremise-local
255+
image: snuba-cleanup-self-hosted-local
256256
build:
257257
context: ./cron
258258
args:
259259
BASE_IMAGE: "$SNUBA_IMAGE"
260260
command: '"*/5 * * * * gosu snuba snuba cleanup --storage errors --dry-run False"'
261261
snuba-transactions-cleanup:
262262
<<: *snuba_defaults
263-
image: snuba-cleanup-onpremise-local
263+
image: snuba-cleanup-self-hosted-local
264264
build:
265265
context: ./cron
266266
args:
@@ -278,7 +278,7 @@ services:
278278
command: run -c /etc/symbolicator/config.yml
279279
symbolicator-cleanup:
280280
<<: *restart_policy
281-
image: symbolicator-cleanup-onpremise-local
281+
image: symbolicator-cleanup-self-hosted-local
282282
build:
283283
context: ./cron
284284
args:
@@ -317,7 +317,7 @@ services:
317317
command: run query-subscription-consumer --commit-batch-size 1 --topic transactions-subscription-results
318318
sentry-cleanup:
319319
<<: *sentry_defaults
320-
image: sentry-cleanup-onpremise-local
320+
image: sentry-cleanup-self-hosted-local
321321
build:
322322
context: ./cron
323323
args:
@@ -357,6 +357,7 @@ services:
357357
web:
358358
<<: *depends_on-healthy
359359
volumes:
360+
# These store application data that should persist across restarts.
360361
sentry-data:
361362
external: true
362363
sentry-postgres:
@@ -371,6 +372,8 @@ volumes:
371372
external: true
372373
sentry-symbolicator:
373374
external: true
375+
376+
# These store ephemeral data that needn't persist across restarts.
374377
sentry-secrets:
375378
sentry-smtp:
376379
sentry-zookeeper-log:

install/_test_setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
set -euo pipefail
22
source "$(dirname $0)/_lib.sh"
33

4-
rm -rf /tmp/sentry-onpremise-test-sandbox.*
5-
_SANDBOX="$(mktemp -d /tmp/sentry-onpremise-test-sandbox.XXX)"
4+
rm -rf /tmp/sentry-self-hosted-test-sandbox.*
5+
_SANDBOX="$(mktemp -d /tmp/sentry-self-hosted-test-sandbox.XXX)"
66

77
report_success() {
88
echo "$(basename $0) - Success 👍"

install/replace-tsdb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ replace_tsdb() {
66
! grep -xq 'SENTRY_TSDB = "sentry.tsdb.redissnuba.RedisSnubaTSDB"' "$SENTRY_CONFIG_PY"
77
); then
88
# Do NOT indent the following string as it would be reflected in the end result,
9-
# breaking the final config file. See getsentry/onpremise#624.
9+
# breaking the final config file. See getsentry/self-hosted#624.
1010
tsdb_settings="\
1111
SENTRY_TSDB = \"sentry.tsdb.redissnuba.RedisSnubaTSDB\"
1212
@@ -37,7 +37,7 @@ SENTRY_TSDB_OPTIONS = {\"switchover_timestamp\": $(date +%s) + (90 * 24 * 3600)}
3737
echo ""
3838
echo "$tsdb_settings"
3939
echo ""
40-
echo "For more information please refer to https://github.com/getsentry/onpremise/pull/430"
40+
echo "For more information please refer to https://github.com/getsentry/self-hosted/pull/430"
4141
fi
4242
}
4343

install/turn-things-off.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ if [[ -n "$MINIMIZE_DOWNTIME" ]]; then
55
$dc rm -fsv $($dc config --services | grep -v -E '^(nginx|relay)$')
66
else
77
# Clean up old stuff and ensure nothing is working while we install/update
8-
# This is for older versions of on-premise:
9-
$dc -p onpremise down -t $STOP_TIMEOUT --rmi local --remove-orphans
10-
# This is for newer versions
118
$dc down -t $STOP_TIMEOUT --rmi local --remove-orphans
129
fi
1310

install/update-docker-images.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
echo "${_group}Fetching and updating Docker images ..."
22

3-
# We tag locally built images with an '-onpremise-local' suffix. `docker
3+
# We tag locally built images with a '-self-hosted-local' suffix. `docker
44
# compose pull` tries to pull these too and shows a 404 error on the console
55
# which is confusing and unnecessary. To overcome this, we add the
66
# stderr>stdout redirection below and pass it through grep, ignoring all lines
77
# having this '-onpremise-local' suffix.
88

9-
$dc pull -q --ignore-pull-failures 2>&1 | grep -v -- -onpremise-local || true
9+
$dc pull -q --ignore-pull-failures 2>&1 | grep -v -- -self-hosted-local || true
1010

1111
# We may not have the set image on the repo (local images) so allow fails
1212
docker pull ${SENTRY_IMAGE} || true;

reset.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# The purpose of this script is to make it easy to reset a local onpremise
3+
# The purpose of this script is to make it easy to reset a local self-hosted
44
# install to a clean state, optionally targeting a particular version.
55

66
set -euo pipefail

0 commit comments

Comments
 (0)