Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(CI): Update minio image to same as stable24
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Jul 1, 2024
commit e6623fb048d1d002fad8ac369bf8d972a4da681a
10 changes: 8 additions & 2 deletions .github/workflows/s3-primary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ on:
- master
- stable*


jobs:
s3-primary-tests-minio:
runs-on: ubuntu-20.04

if: ${{ github.repository_owner != 'nextcloud-gmbh' }}

strategy:
# do not stop on another job's failure
fail-fast: false
Expand All @@ -25,7 +26,7 @@ jobs:
env:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
image: bitnami/minio:2021.10.6
image: bitnami/minio:2021.12.29
ports:
- "9000:9000"

Expand All @@ -49,6 +50,11 @@ jobs:
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -f index.php

- name: Wait for S3
run: |
sleep 10
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://localhost:9000/minio/health/ready

- name: PHPUnit
working-directory: tests
run: phpunit --configuration phpunit-autotest.xml --group DB,SLOWDB
Expand Down