From bb2b1bb4ae94eec3c29deb46944b8bbbedf8ae30 Mon Sep 17 00:00:00 2001 From: neel Date: Thu, 11 Jun 2026 09:31:11 +0000 Subject: [PATCH] ci: use ghcr image mirrors for postgres (17-alpine) and redis services Co-Authored-By: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> --- .github/workflows/test-integrations-dbs.yml | 2 +- .github/workflows/test-integrations-tasks.yml | 2 +- .github/workflows/test-integrations-web-1.yml | 2 +- scripts/split_tox_gh_actions/templates/test_group.jinja | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-integrations-dbs.yml b/.github/workflows/test-integrations-dbs.yml index 71753deef2..b8d83cff98 100644 --- a/.github/workflows/test-integrations-dbs.yml +++ b/.github/workflows/test-integrations-dbs.yml @@ -21,7 +21,7 @@ jobs: os: [ubuntu-22.04] services: postgres: - image: postgres + image: ghcr.io/getsentry/image-mirror-library-postgres:17-alpine env: POSTGRES_PASSWORD: sentry # Set health checks to wait until postgres has started diff --git a/.github/workflows/test-integrations-tasks.yml b/.github/workflows/test-integrations-tasks.yml index c652f02dcb..f1beae7012 100644 --- a/.github/workflows/test-integrations-tasks.yml +++ b/.github/workflows/test-integrations-tasks.yml @@ -21,7 +21,7 @@ jobs: os: [ubuntu-22.04] services: redis: - image: redis + image: ghcr.io/getsentry/image-mirror-library-redis:7.0.8-bullseye options: >- --health-cmd "redis-cli ping" --health-interval 10s diff --git a/.github/workflows/test-integrations-web-1.yml b/.github/workflows/test-integrations-web-1.yml index e5831a8397..0208e4fe14 100644 --- a/.github/workflows/test-integrations-web-1.yml +++ b/.github/workflows/test-integrations-web-1.yml @@ -21,7 +21,7 @@ jobs: os: [ubuntu-22.04] services: postgres: - image: postgres + image: ghcr.io/getsentry/image-mirror-library-postgres:17-alpine env: POSTGRES_PASSWORD: sentry # Set health checks to wait until postgres has started diff --git a/scripts/split_tox_gh_actions/templates/test_group.jinja b/scripts/split_tox_gh_actions/templates/test_group.jinja index 5b14f701a4..0e1409c1bd 100644 --- a/scripts/split_tox_gh_actions/templates/test_group.jinja +++ b/scripts/split_tox_gh_actions/templates/test_group.jinja @@ -17,7 +17,7 @@ {% endif %} {% if needs_postgres %} postgres: - image: postgres + image: ghcr.io/getsentry/image-mirror-library-postgres:17-alpine env: POSTGRES_PASSWORD: sentry # Set health checks to wait until postgres has started @@ -32,7 +32,7 @@ {% endif %} {% if needs_redis %} redis: - image: redis + image: ghcr.io/getsentry/image-mirror-library-redis:7.0.8-bullseye options: >- --health-cmd "redis-cli ping" --health-interval 10s