From e45dd2d3f16cad4e98bf107f9edc531acee8afef Mon Sep 17 00:00:00 2001 From: Evan Rusackas Date: Fri, 21 Aug 2026 04:11:37 -0700 Subject: [PATCH] ci: pull CI service images from GHCR mirror (fork-safe) [depends on #40880] (#40882) Co-authored-by: Claude Opus 4.8 --- .github/workflows/superset-e2e.yml | 8 ++++---- .../workflows/superset-python-integrationtest.yml | 12 +++++------- .github/workflows/superset-python-presto-hive.yml | 10 +++++----- 3 files changed, 14 insertions(+), 16 deletions(-) diff --git a/.github/workflows/superset-e2e.yml b/.github/workflows/superset-e2e.yml index cd7198374da..7c00ce36c3a 100644 --- a/.github/workflows/superset-e2e.yml +++ b/.github/workflows/superset-e2e.yml @@ -78,14 +78,14 @@ jobs: USE_DASHBOARD: ${{ github.event.inputs.use_dashboard == 'true' || 'false' }} services: postgres: - image: postgres:17-alpine + image: ghcr.io/apache/superset/ci/postgres:17-alpine env: POSTGRES_USER: superset POSTGRES_PASSWORD: superset ports: - 15432:5432 redis: - image: redis:7-alpine + image: ghcr.io/apache/superset/ci/redis:7-alpine ports: - 16379:6379 steps: @@ -186,14 +186,14 @@ jobs: GITHUB_TOKEN: ${{ github.token }} services: postgres: - image: postgres:17-alpine + image: ghcr.io/apache/superset/ci/postgres:17-alpine env: POSTGRES_USER: superset POSTGRES_PASSWORD: superset ports: - 15432:5432 redis: - image: redis:7-alpine + image: ghcr.io/apache/superset/ci/redis:7-alpine ports: - 16379:6379 steps: diff --git a/.github/workflows/superset-python-integrationtest.yml b/.github/workflows/superset-python-integrationtest.yml index 62239f6425a..ee898202b50 100644 --- a/.github/workflows/superset-python-integrationtest.yml +++ b/.github/workflows/superset-python-integrationtest.yml @@ -53,9 +53,7 @@ jobs: mysql+mysqldb://superset:superset@127.0.0.1:13306/superset?charset=utf8mb4&binary_prefix=true services: mysql: - image: mysql:8.0 - # Authenticated pulls use our higher Docker Hub rate limit. Empty on - # fork PRs (secrets unavailable) -> runner falls back to anonymous. + image: ghcr.io/apache/superset/ci/mysql:8.0 env: MYSQL_ROOT_PASSWORD: root ports: @@ -66,7 +64,7 @@ jobs: --health-timeout=5s --health-retries=5 redis: - image: redis:7-alpine + image: ghcr.io/apache/superset/ci/redis:7-alpine options: --entrypoint redis-server ports: - 16379:6379 @@ -143,7 +141,7 @@ jobs: SUPERSET__SQLALCHEMY_DATABASE_URI: postgresql+psycopg2://superset:superset@127.0.0.1:15432/superset services: postgres: - image: postgres:17-alpine + image: ghcr.io/apache/superset/ci/postgres:17-alpine env: POSTGRES_USER: superset POSTGRES_PASSWORD: superset @@ -152,7 +150,7 @@ jobs: # GitHub action runner's default installations - 15432:5432 redis: - image: redis:7-alpine + image: ghcr.io/apache/superset/ci/redis:7-alpine ports: - 16379:6379 steps: @@ -202,7 +200,7 @@ jobs: sqlite:///${{ github.workspace }}/.temp/examples.db?check_same_thread=true services: redis: - image: redis:7-alpine + image: ghcr.io/apache/superset/ci/redis:7-alpine ports: - 16379:6379 steps: diff --git a/.github/workflows/superset-python-presto-hive.yml b/.github/workflows/superset-python-presto-hive.yml index 363dea34e02..373970d2d2b 100644 --- a/.github/workflows/superset-python-presto-hive.yml +++ b/.github/workflows/superset-python-presto-hive.yml @@ -52,7 +52,7 @@ jobs: SUPERSET__SQLALCHEMY_EXAMPLES_URI: presto://localhost:15433/memory/default services: postgres: - image: postgres:17-alpine + image: ghcr.io/apache/superset/ci/postgres:17-alpine env: POSTGRES_USER: superset POSTGRES_PASSWORD: superset @@ -61,7 +61,7 @@ jobs: # GitHub action runner's default installations - 15432:5432 presto: - image: starburstdata/presto:350-e.6 + image: ghcr.io/apache/superset/ci/presto:350-e.6 env: POSTGRES_USER: superset POSTGRES_PASSWORD: superset @@ -70,7 +70,7 @@ jobs: # GitHub action runner's default installations - 15433:8080 redis: - image: redis:7-alpine + image: ghcr.io/apache/superset/ci/redis:7-alpine ports: - 16379:6379 steps: @@ -116,7 +116,7 @@ jobs: UPLOAD_FOLDER: /tmp/.superset/uploads/ services: postgres: - image: postgres:17-alpine + image: ghcr.io/apache/superset/ci/postgres:17-alpine env: POSTGRES_USER: superset POSTGRES_PASSWORD: superset @@ -125,7 +125,7 @@ jobs: # GitHub action runner's default installations - 15432:5432 redis: - image: redis:7-alpine + image: ghcr.io/apache/superset/ci/redis:7-alpine ports: - 16379:6379 steps: