mirror of
https://github.com/getsentry/self-hosted.git
synced 2025-12-08 19:46:14 +00:00
This reverts commit 3abbb3e8bd3a4d1d2ecbdb0f4fb255507c55aca0.
This commit is contained in:
parent
3abbb3e8bd
commit
da8f4903e4
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -32,12 +32,8 @@ jobs:
|
||||
include:
|
||||
- compose_version: '1.28.0'
|
||||
compose_path: '/usr/local/bin'
|
||||
- compose_version: '1.29.2'
|
||||
compose_path: '/usr/local/bin'
|
||||
- compose_version: 'v2.0.1'
|
||||
compose_path: '/usr/local/lib/docker/cli-plugins'
|
||||
- compose_version: 'v2.2.3'
|
||||
compose_path: '/usr/local/lib/docker/cli-plugins'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
@ -2,7 +2,7 @@ echo "${_group}Creating additional Kafka topics ..."
|
||||
|
||||
# NOTE: This step relies on `kafka` being available from the previous `snuba-api bootstrap` step
|
||||
# XXX(BYK): We cannot use auto.create.topics as Confluence and Apache hates it now (and makes it very hard to enable)
|
||||
EXISTING_KAFKA_TOPICS=$($dcr --no-TTY kafka kafka-topics --list --bootstrap-server kafka:9092 2>/dev/null)
|
||||
EXISTING_KAFKA_TOPICS=$($dcr kafka kafka-topics --list --bootstrap-server kafka:9092 2>/dev/null)
|
||||
NEEDED_KAFKA_TOPICS="ingest-attachments ingest-transactions ingest-events"
|
||||
for topic in $NEEDED_KAFKA_TOPICS; do
|
||||
if ! echo "$EXISTING_KAFKA_TOPICS" | grep -wq $topic; then
|
||||
|
||||
@ -14,7 +14,7 @@ if [[ ! -f "$RELAY_CREDENTIALS_JSON" ]]; then
|
||||
# creating an empty credentials file before relay runs.
|
||||
|
||||
$dcr \
|
||||
--no-deps --no-TTY \
|
||||
--no-deps \
|
||||
--volume "$(pwd)/$RELAY_CONFIG_YML:/tmp/config.yml" \
|
||||
relay --config /tmp credentials generate --stdout \
|
||||
> "$RELAY_CREDENTIALS_JSON"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user