Skip to content

Implemented AGPL MinIO Object Browser simplified Console #3509

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
117 changes: 1 addition & 116 deletions .github/workflows/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -441,54 +441,6 @@ jobs:
timeout-minutes: 10
run: npx testcafe "firefox:headless" web-app/tests/permissions-4/ --skip-js-errors

all-permissions-5:
name: Permissions Tests Part 5
needs:
- compile-binary
runs-on: [ubuntu-latest]
strategy:
matrix:
go-version: [1.23.x]
os: [ubuntu-latest]
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Read .nvmrc
id: node_version
run: echo "$(cat .nvmrc)" && echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV
- name: Enable Corepack
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NVMRC }}
- name: Install MinIO JS
working-directory: ./
continue-on-error: false
run: |
yarn add minio
- uses: actions/cache@v4
name: Console Binary Cache
with:
path: |
./console
key: ${{ runner.os }}-binary-${{ github.run_id }}

- name: clean-previous-containers-if-any
run: |
docker stop minio || true;
docker container prune -f || true;

- name: Start Console, front-end app and initialize users/policies
run: |
(./console server) & (make initialize-permissions)

- name: Install TestCafe
run: npm install testcafe@3.5.0

- name: Run TestCafe Tests
timeout-minutes: 5
run: npx testcafe "firefox:headless" web-app/tests/permissions-5/ --skip-js-errors

all-permissions-6:
name: Permissions Tests Part 6
needs:
Expand Down Expand Up @@ -537,57 +489,6 @@ jobs:
timeout-minutes: 5
run: npx testcafe "firefox:headless" web-app/tests/permissions-6/ --skip-js-errors

all-permissions-A:
name: Permissions Tests Part A
needs:
- compile-binary
runs-on: [ubuntu-latest]
strategy:
matrix:
go-version: [1.23.x]
os: [ubuntu-latest]
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Read .nvmrc
id: node_version
run: echo "$(cat .nvmrc)" && echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV
- name: Enable Corepack
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NVMRC }}
- name: Install MinIO JS
working-directory: ./
continue-on-error: false
run: |
yarn add minio
- uses: actions/cache@v4
name: Console Binary Cache
with:
path: |
./console
key: ${{ runner.os }}-binary-${{ github.run_id }}

- name: clean-previous-containers-if-any
run: |
docker stop minio || true;
docker container prune -f || true;

- name: Start Console, front-end app and initialize users/policies
run: |
(./console server) & (make initialize-permissions)

- name: Install TestCafe
run: npm install testcafe@3.5.0

- name: Run TestCafe Tests
run: npx testcafe "firefox:headless" web-app/tests/permissions-A/ --skip-js-errors -c 3

- name: Clean up users & policies
run: |
make cleanup-permissions

all-permissions-B:
name: Permissions Tests Part B
needs:
Expand Down Expand Up @@ -1282,20 +1183,4 @@ jobs:
yarn remove playwright
yarn add --dev @playwright/test
echo "npx playwright test"
npx playwright test # To run the tests
echo "npx nyc report"
npx nyc report # To see report printed in logs as text
echo "npx nyc report --reporter=html"
npx nyc report --reporter=html # to see report in ./coverage/index.html
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- uses: actions/upload-artifact@v4
if: always()
with:
name: coverage
path: coverage/
retention-days: 30
npx playwright test --reporter github # To run the tests
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,6 @@ test-permissions-4:
@(env bash $(PWD)/web-app/tests/scripts/permissions.sh "web-app/tests/permissions-4/")
@(docker stop minio)

test-permissions-5:
@(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})
@(env bash $(PWD)/web-app/tests/scripts/permissions.sh "web-app/tests/permissions-5/")
@(docker stop minio)

test-permissions-6:
@(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})
@(env bash $(PWD)/web-app/tests/scripts/permissions.sh "web-app/tests/permissions-6/")
Expand Down
70 changes: 0 additions & 70 deletions api/admin_arns.go

This file was deleted.

97 changes: 0 additions & 97 deletions api/admin_arns_test.go

This file was deleted.

Loading
Loading