Skip to content

Commit

Permalink
fix(ci): Use docker image mirror (#4372)
Browse files Browse the repository at this point in the history
This uses the Sentry docker mirror for Redis, Kafka, and Zookeeper.

Fixes #3918.
  • Loading branch information
loewenheim authored Dec 11, 2024
1 parent 2f3b713 commit 64038ef
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ jobs:

services:
redis: # https://docs.github.com/en/actions/guides/creating-redis-service-containers
image: redis
image: ghcr.io/getsentry/image-mirror-library-redis:5.0-alpine
ports:
- 6379:6379
redis_secondary:
image: redis
image: ghcr.io/getsentry/image-mirror-library-redis:5.0-alpine
ports:
- 6380:6379

Expand Down Expand Up @@ -503,24 +503,21 @@ jobs:

services:
redis: # https://docs.github.com/en/actions/guides/creating-redis-service-containers
image: redis
image: ghcr.io/getsentry/image-mirror-library-redis:5.0-alpine
ports:
- 6379:6379
redis_secondary:
image: redis
image: ghcr.io/getsentry/image-mirror-library-redis:5.0-alpine
ports:
- 6380:6379

# Kafka + Zookeeper version synced with
# https://github.com/getsentry/sentry/blob/363509c242aff197409207ce4990fb061f3534a3/.github/actions/setup-sentry/action.yml#L174

zookeeper:
image: confluentinc/cp-zookeeper:4.1.0
image: ghcr.io/getsentry/image-mirror-confluentinc-cp-zookeeper:6.2.0
env:
ZOOKEEPER_CLIENT_PORT: 2181

kafka:
image: confluentinc/cp-kafka:5.1.2
image: ghcr.io/getsentry/image-mirror-confluentinc-cp-kafka:6.2.0
env:
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://127.0.0.1:9092
Expand Down

0 comments on commit 64038ef

Please sign in to comment.