File tree Expand file tree Collapse file tree 4 files changed +25
-1
lines changed Expand file tree Collapse file tree 4 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ SENTRY_IMAGE=getsentry/sentry:nightly
13
13
SNUBA_IMAGE = getsentry/snuba:nightly
14
14
RELAY_IMAGE = getsentry/relay:nightly
15
15
SYMBOLICATOR_IMAGE = getsentry/symbolicator:nightly
16
+ TASKBROKER_IMAGE = getsentry/taskbroker:nightly
16
17
VROOM_IMAGE = getsentry/vroom:nightly
17
18
HEALTHCHECK_INTERVAL = 30s
18
19
HEALTHCHECK_TIMEOUT = 1m30s
Original file line number Diff line number Diff line change 15
15
- [ ] [`snuba`](https://github.com/getsentry/snuba/actions/workflows/release.yml)
16
16
- [ ] [`symbolicator`](https://github.com/getsentry/symbolicator/actions/workflows/release.yml)
17
17
- [ ] [`vroom`](https://github.com/getsentry/vroom/actions/workflows/release.yaml)
18
+ - [ ] [`taskbroker`](https://github.com/getsentry/taskbroker/actions/workflows/release.yml)
18
19
- [ ] Release self-hosted.
19
20
- [ ] [Prepare the `self-hosted` release](https://github.com/getsentry/self-hosted/actions/workflows/release.yml) (_replace with publish issue repo link_).
20
21
- [ ] Check to make sure the new release branch in self-hosted includes the appropriate CalVer images.
Original file line number Diff line number Diff line change @@ -487,6 +487,24 @@ services:
487
487
<< : *depends_on-healthy
488
488
web :
489
489
<< : *depends_on-healthy
490
+ taskbroker :
491
+ << : *restart_policy
492
+ image : " $TASKBROKER_IMAGE"
493
+ environment :
494
+ TASKBROKER_KAFKA_CLUSTER : " kafka:9092"
495
+ TASKBROKER_KAFKA_DEADLETTER_CLUSTER : " kafka:9092"
496
+ TASKBROKER_DB_PATH : " /opt/sqlite/taskbroker-activations.sqlite"
497
+ volumes :
498
+ - sentry-taskbroker:/opt/sqlite
499
+ depends_on :
500
+ kafka :
501
+ << : *depends_on-healthy
502
+ taskscheduler :
503
+ << : *sentry_defaults
504
+ command : run taskworker-scheduler
505
+ taskworker :
506
+ << : *sentry_defaults
507
+ command : run taskworker --concurrency=4 --rpc-host=taskbroker:50051 --num-brokers=1
490
508
vroom :
491
509
<< : *restart_policy
492
510
image : " $VROOM_IMAGE"
@@ -541,6 +559,10 @@ volumes:
541
559
# Not being external will still persist data across restarts.
542
560
# It won't persist if someone does a docker compose down -v.
543
561
sentry-vroom :
562
+ # This volume stores task data that is inflight
563
+ # It should persist across restarts. If this volume is
564
+ # deleted, up to ~2048 tasks will be lost.
565
+ sentry-taskbroker :
544
566
# These store ephemeral data that needn't persist across restarts.
545
567
# That said, volumes will be persisted across restarts until they are deleted.
546
568
sentry-secrets :
Original file line number Diff line number Diff line change 4
4
OLD_VERSION=" $1 "
5
5
NEW_VERSION=" $2 "
6
6
7
- sed -i -e " s/^\(SENTRY\|SNUBA\|RELAY\|SYMBOLICATOR\|VROOM\)_IMAGE=\([^:]\+\):.\+\$ /\1_IMAGE=\2:$NEW_VERSION /" .env
7
+ sed -i -e " s/^\(SENTRY\|SNUBA\|RELAY\|SYMBOLICATOR\|TASKBROKER\| VROOM\)_IMAGE=\([^:]\+\):.\+\$ /\1_IMAGE=\2:$NEW_VERSION /" .env
8
8
sed -i -e " s/^\# Self-Hosted Sentry .*/# Self-Hosted Sentry $NEW_VERSION /" README.md
9
9
10
10
echo " New version: $NEW_VERSION "
You can’t perform that action at this time.
0 commit comments