From 74a4de1727c7db695529467e841256c9e31c79bc Mon Sep 17 00:00:00 2001 From: Willard Nilges Date: Sun, 3 Nov 2024 18:04:11 -0500 Subject: [PATCH] fix github action --- .github/workflows/playwright.yml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 2a937a3..9f9276f 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -16,16 +16,28 @@ jobs: ports: - '9000:9000' - '9001:9001' + #networks: + # - api volumes: - 'minio_data:/data' - command: | - server /data + command: server /data --console-address ":9001" environment: - - MINIO_ROOT_USER=admin - - MINIO_ROOT_PASSWORD=admin1234 + - MINIO_ROOT_USER=sampleaccesskey + - MINIO_ROOT_PASSWORD=samplesecretkey - MINIO_DEFAULT_BUCKETS=meshdb-join-form-log - - MINIO_ACCESS_KEY=sampleaccesskey - - MINIO_SECRET_KEY=samplesecretkey + + # I hate computers: https://github.com/minio/minio/issues/4769 + createbuckets: + image: minio/mc + depends_on: + - minio + entrypoint: > + /bin/sh -c " + /usr/bin/mc config host add myminio http://minio:9000 sampleaccesskey samplesecretkey; + /usr/bin/mc mb myminio/meshdb-join-form-log; + exit 0; + " + steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6