Skip to content

Commit 63c6d89

Browse files
authored
Implemented AGPL MinIO Object Browser simplified Console (#3509)
Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
1 parent 33a7fbb commit 63c6d89

File tree

718 files changed

+4972
-114736
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

718 files changed

+4972
-114736
lines changed

.github/workflows/jobs.yaml

Lines changed: 1 addition & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -441,54 +441,6 @@ jobs:
441441
timeout-minutes: 10
442442
run: npx testcafe "firefox:headless" web-app/tests/permissions-4/ --skip-js-errors
443443

444-
all-permissions-5:
445-
name: Permissions Tests Part 5
446-
needs:
447-
- compile-binary
448-
runs-on: [ubuntu-latest]
449-
strategy:
450-
matrix:
451-
go-version: [1.23.x]
452-
os: [ubuntu-latest]
453-
steps:
454-
- name: Check out code
455-
uses: actions/checkout@v3
456-
- name: Read .nvmrc
457-
id: node_version
458-
run: echo "$(cat .nvmrc)" && echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV
459-
- name: Enable Corepack
460-
run: corepack enable
461-
- uses: actions/setup-node@v4
462-
with:
463-
node-version: ${{ env.NVMRC }}
464-
- name: Install MinIO JS
465-
working-directory: ./
466-
continue-on-error: false
467-
run: |
468-
yarn add minio
469-
- uses: actions/cache@v4
470-
name: Console Binary Cache
471-
with:
472-
path: |
473-
./console
474-
key: ${{ runner.os }}-binary-${{ github.run_id }}
475-
476-
- name: clean-previous-containers-if-any
477-
run: |
478-
docker stop minio || true;
479-
docker container prune -f || true;
480-
481-
- name: Start Console, front-end app and initialize users/policies
482-
run: |
483-
(./console server) & (make initialize-permissions)
484-
485-
- name: Install TestCafe
486-
run: npm install testcafe@3.5.0
487-
488-
- name: Run TestCafe Tests
489-
timeout-minutes: 5
490-
run: npx testcafe "firefox:headless" web-app/tests/permissions-5/ --skip-js-errors
491-
492444
all-permissions-6:
493445
name: Permissions Tests Part 6
494446
needs:
@@ -537,57 +489,6 @@ jobs:
537489
timeout-minutes: 5
538490
run: npx testcafe "firefox:headless" web-app/tests/permissions-6/ --skip-js-errors
539491

540-
all-permissions-A:
541-
name: Permissions Tests Part A
542-
needs:
543-
- compile-binary
544-
runs-on: [ubuntu-latest]
545-
strategy:
546-
matrix:
547-
go-version: [1.23.x]
548-
os: [ubuntu-latest]
549-
steps:
550-
- name: Check out code
551-
uses: actions/checkout@v3
552-
- name: Read .nvmrc
553-
id: node_version
554-
run: echo "$(cat .nvmrc)" && echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV
555-
- name: Enable Corepack
556-
run: corepack enable
557-
- uses: actions/setup-node@v4
558-
with:
559-
node-version: ${{ env.NVMRC }}
560-
- name: Install MinIO JS
561-
working-directory: ./
562-
continue-on-error: false
563-
run: |
564-
yarn add minio
565-
- uses: actions/cache@v4
566-
name: Console Binary Cache
567-
with:
568-
path: |
569-
./console
570-
key: ${{ runner.os }}-binary-${{ github.run_id }}
571-
572-
- name: clean-previous-containers-if-any
573-
run: |
574-
docker stop minio || true;
575-
docker container prune -f || true;
576-
577-
- name: Start Console, front-end app and initialize users/policies
578-
run: |
579-
(./console server) & (make initialize-permissions)
580-
581-
- name: Install TestCafe
582-
run: npm install testcafe@3.5.0
583-
584-
- name: Run TestCafe Tests
585-
run: npx testcafe "firefox:headless" web-app/tests/permissions-A/ --skip-js-errors -c 3
586-
587-
- name: Clean up users & policies
588-
run: |
589-
make cleanup-permissions
590-
591492
all-permissions-B:
592493
name: Permissions Tests Part B
593494
needs:
@@ -1282,20 +1183,4 @@ jobs:
12821183
yarn remove playwright
12831184
yarn add --dev @playwright/test
12841185
echo "npx playwright test"
1285-
npx playwright test # To run the tests
1286-
echo "npx nyc report"
1287-
npx nyc report # To see report printed in logs as text
1288-
echo "npx nyc report --reporter=html"
1289-
npx nyc report --reporter=html # to see report in ./coverage/index.html
1290-
- uses: actions/upload-artifact@v4
1291-
if: always()
1292-
with:
1293-
name: playwright-report
1294-
path: playwright-report/
1295-
retention-days: 30
1296-
- uses: actions/upload-artifact@v4
1297-
if: always()
1298-
with:
1299-
name: coverage
1300-
path: coverage/
1301-
retention-days: 30
1186+
npx playwright test --reporter github # To run the tests

Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,6 @@ test-permissions-4:
206206
@(env bash $(PWD)/web-app/tests/scripts/permissions.sh "web-app/tests/permissions-4/")
207207
@(docker stop minio)
208208

209-
test-permissions-5:
210-
@(docker run -v /data1 -v /data2 -v /data3 -v /data4 -d --name minio --rm -p 9000:9000 quay.io/minio/minio:latest server /data{1...4})
211-
@(env bash $(PWD)/web-app/tests/scripts/permissions.sh "web-app/tests/permissions-5/")
212-
@(docker stop minio)
213-
214209
test-permissions-6:
215210
@(docker run -v /data1 -v /data2 -v /data3 -v /data4 -d --name minio --rm -p 9000:9000 quay.io/minio/minio:latest server /data{1...4})
216211
@(env bash $(PWD)/web-app/tests/scripts/permissions.sh "web-app/tests/permissions-6/")

api/admin_arns.go

Lines changed: 0 additions & 70 deletions
This file was deleted.

api/admin_arns_test.go

Lines changed: 0 additions & 97 deletions
This file was deleted.

0 commit comments

Comments
 (0)