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
1313SNUBA_IMAGE = getsentry/snuba:nightly
1414RELAY_IMAGE = getsentry/relay:nightly
1515SYMBOLICATOR_IMAGE = getsentry/symbolicator:nightly
16+ TASKBROKER_IMAGE = getsentry/taskbroker:nightly
1617VROOM_IMAGE = getsentry/vroom:nightly
1718HEALTHCHECK_INTERVAL = 30s
1819HEALTHCHECK_TIMEOUT = 1m30s
Original file line number Diff line number Diff line change 1515 - [ ] [`snuba`](https://github.com/getsentry/snuba/actions/workflows/release.yml)
1616 - [ ] [`symbolicator`](https://github.com/getsentry/symbolicator/actions/workflows/release.yml)
1717 - [ ] [`vroom`](https://github.com/getsentry/vroom/actions/workflows/release.yaml)
18+ - [ ] [`taskbroker`](https://github.com/getsentry/taskbroker/actions/workflows/release.yml)
1819 - [ ] Release self-hosted.
1920 - [ ] [Prepare the `self-hosted` release](https://github.com/getsentry/self-hosted/actions/workflows/release.yml) (_replace with publish issue repo link_).
2021 - [ ] 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:
487487 << : *depends_on-healthy
488488 web :
489489 << : *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
490508 vroom :
491509 << : *restart_policy
492510 image : " $VROOM_IMAGE"
@@ -541,6 +559,10 @@ volumes:
541559 # Not being external will still persist data across restarts.
542560 # It won't persist if someone does a docker compose down -v.
543561 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 :
544566 # These store ephemeral data that needn't persist across restarts.
545567 # That said, volumes will be persisted across restarts until they are deleted.
546568 sentry-secrets :
Original file line number Diff line number Diff line change 44OLD_VERSION=" $1 "
55NEW_VERSION=" $2 "
66
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
88sed -i -e " s/^\# Self-Hosted Sentry .*/# Self-Hosted Sentry $NEW_VERSION /" README.md
99
1010echo " New version: $NEW_VERSION "
You can’t perform that action at this time.
0 commit comments