mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-12 09:56:08 +00:00
fix(ci): use bundled MinIO client for bucket setup
This commit is contained in:
@@ -214,10 +214,8 @@ jobs:
|
|||||||
# scripts/self-host-bootstrap.ts, not on the request path, so a missing
|
# scripts/self-host-bootstrap.ts, not on the request path, so a missing
|
||||||
# bucket would surface as a presigned PUT returning NoSuchBucket.
|
# bucket would surface as a presigned PUT returning NoSuchBucket.
|
||||||
run: |
|
run: |
|
||||||
curl -sSfL -o "$RUNNER_TEMP/mc" https://dl.min.io/client/mc/release/linux-amd64/mc
|
docker exec minio mc alias set ciminio "$R2_ENDPOINT" "$R2_ACCESS_KEY_ID" "$R2_SECRET_ACCESS_KEY"
|
||||||
chmod +x "$RUNNER_TEMP/mc"
|
docker exec minio mc mb --ignore-existing "ciminio/$R2_BUCKET_NAME"
|
||||||
"$RUNNER_TEMP/mc" alias set ciminio "$R2_ENDPOINT" "$R2_ACCESS_KEY_ID" "$R2_SECRET_ACCESS_KEY"
|
|
||||||
"$RUNNER_TEMP/mc" mb --ignore-existing "ciminio/$R2_BUCKET_NAME"
|
|
||||||
- name: Install the Playwright browser
|
- name: Install the Playwright browser
|
||||||
# Only chromium: playwright.config.ts runs a desktop Chromium project and
|
# Only chromium: playwright.config.ts runs a desktop Chromium project and
|
||||||
# a Pixel 7 project, and the mobile one is Chromium too.
|
# a Pixel 7 project, and the mobile one is Chromium too.
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ services:
|
|||||||
# would surface as a presigned PUT returning NoSuchBucket.
|
# would surface as a presigned PUT returning NoSuchBucket.
|
||||||
minio-test-init:
|
minio-test-init:
|
||||||
profiles: ['e2e']
|
profiles: ['e2e']
|
||||||
image: docker.io/minio/mc:latest
|
image: quay.io/minio/minio@sha256:14cea493d9a34af32f524e538b8346cf79f3321eff8e708c1e2960462bd8936e
|
||||||
container_name: openframe-minio-test-init
|
container_name: openframe-minio-test-init
|
||||||
depends_on:
|
depends_on:
|
||||||
minio-test:
|
minio-test:
|
||||||
|
|||||||
Reference in New Issue
Block a user