Content-Length: 440552 | pFad | https://github.com/payloadcms/payload/commit/d04d47e

17 ci: backport test service image pinning to ghcr on 3.x (#17162) · payloadcms/payload@d04d47e · GitHub
Skip to content

Commit d04d47e

Browse files
ci: backport test service image pinning to ghcr on 3.x (#17162)
`mongot-payload-test` is going unhealthy during `start-services` on `3.x` before E2E tests run, which blocks setup; this backport removes the floating/externally rate-limited image pulls in that path by pinning the affected test-service images to `ghcr.io/payloadcms/*` and pinning Supabase CLI. Backported from `main`: - [`0318f87928`](0318f87) (`ci: pull test service images from GHCR instead of Docker Hub`) - [`b3e877c3da`](b3e877c) (`ci: avoid registry rate limits for supabase cli and azurite image`) Manual port note: - `0318f87928` conflicted because `3.x` does not include the `redis` service block present on `main`; only the overlapping image-pin changes for existing `3.x` services were applied. Related context: #17152 (blocked by the same infra-wide CI failure pattern). --------- Co-authored-by: Elliot DeNolf <denolfe@users.noreply.github.com>
1 parent f76d670 commit d04d47e

3 files changed

Lines changed: 11 additions & 7 deletions

File tree

.github/actions/start-services/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,10 @@ runs:
8585
if: inputs.database == 'supabase'
8686
uses: supabase/setup-cli@v1
8787
with:
88-
version: latest
88+
# Pinned instead of `latest` to skip setup-cli's GitHub API release lookup,
89+
# which flakes on shared CI runners with "rate limit exceeded" (unauthenticated
90+
# 60 req/hr limit). A fixed version short-circuits that call entirely.
91+
version: 2.104.0
8992

9093
- name: Initialize Supabase
9194
if: inputs.database == 'supabase'

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
- 'templates/**'
4545
needs_tests:
4646
- '.github/workflows/main.yml'
47+
- '.github/actions/start-services/**'
4748
- 'packages/**'
4849
- 'test/**'
4950
- 'pnpm-lock.yaml'

test/docker-compose.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ services:
8282
# Connection: mongodb://payload:payload@localhost:27018/payload?authSource=admin&directConnection=true&replicaSet=rs0
8383
mongodb:
8484
profiles: [all, mongodb]
85-
image: mongodb/mongodb-community-server:8.2-ubi9
85+
image: ghcr.io/payloadcms/mongodb-community-server:8.2.9-ubi9
8686
container_name: mongodb-payload-test
8787
ports:
8888
- '27018:27017'
@@ -115,7 +115,7 @@ services:
115115
# mongot - MongoDB Community Search for $search and $vectorSearch
116116
mongot:
117117
profiles: [all, mongodb]
118-
image: mongodb/mongodb-community-search:latest
118+
image: ghcr.io/payloadcms/mongodb-community-search:1.67.1
119119
container_name: mongot-payload-test
120120
depends_on:
121121
mongodb:
@@ -144,7 +144,7 @@ services:
144144
# Connection: mongodb://localhost:27019/payload?directConnection=true&replicaSet=mongodb-atlas-local
145145
mongodb-atlas:
146146
profiles: [all, mongodb-atlas]
147-
image: mongodb/mongodb-atlas-local:latest
147+
image: ghcr.io/payloadcms/mongodb-atlas-local:8.2.4
148148
container_name: mongodb-atlas-payload-test
149149
hostname: mongodb-atlas-local
150150
ports:
@@ -166,7 +166,7 @@ services:
166166
# ── LocalStack (S3 emulator) ────────────────────────────────
167167
localstack:
168168
profiles: [all, storage]
169-
image: localstack/localstack:4.14.0
169+
image: ghcr.io/payloadcms/localstack:4.14.0
170170
container_name: localstack_demo
171171
ports:
172172
- '4563-4599:4563-4599'
@@ -184,7 +184,7 @@ services:
184184
# ── Azure Storage (Azurite emulator) ────────────────────────
185185
azure-storage:
186186
profiles: [all, storage]
187-
image: mcr.microsoft.com/azure-storage/azurite:latest
187+
image: ghcr.io/payloadcms/azurite:3.35.0
188188
platform: linux/amd64
189189
restart: always
190190
command: 'azurite --loose --blobHost 0.0.0.0 --tableHost 0.0.0.0 --queueHost 0.0.0.0 --skipApiVersionCheck'
@@ -198,7 +198,7 @@ services:
198198
# ── Google Cloud Storage (fake-gcs-server) ──────────────────
199199
google-cloud-storage:
200200
profiles: [all, storage]
201-
image: fsouza/fake-gcs-server
201+
image: ghcr.io/payloadcms/fake-gcs-server:1.54.0
202202
restart: always
203203
command:
204204
[

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/payloadcms/payload/commit/d04d47e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy