2022-07-04 14:02:54 -07:00
|
|
|
name: MinIO advanced tests
|
2021-11-10 18:18:09 -08:00
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
2024-05-23 04:37:14 +05:30
|
|
|
- master
|
2021-11-10 18:18:09 -08:00
|
|
|
|
|
|
|
# This ensures that previous jobs for the PR are canceled when the PR is
|
|
|
|
# updated.
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.head_ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2022-04-11 04:45:59 -05:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-11-10 18:18:09 -08:00
|
|
|
jobs:
|
|
|
|
replication-test:
|
2022-07-04 14:02:54 -07:00
|
|
|
name: Advanced Tests with Go ${{ matrix.go-version }}
|
2021-11-10 18:18:09 -08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2024-11-14 12:33:18 -08:00
|
|
|
go-version: [1.23.x]
|
2021-11-10 18:18:09 -08:00
|
|
|
|
|
|
|
steps:
|
2024-03-28 16:44:49 -07:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-go@v5
|
2021-11-10 18:18:09 -08:00
|
|
|
with:
|
|
|
|
go-version: ${{ matrix.go-version }}
|
2022-03-25 19:56:04 +04:00
|
|
|
check-latest: true
|
2022-07-04 14:02:54 -07:00
|
|
|
- name: Test Decom
|
|
|
|
run: |
|
|
|
|
sudo sysctl net.ipv6.conf.all.disable_ipv6=0
|
|
|
|
sudo sysctl net.ipv6.conf.default.disable_ipv6=0
|
|
|
|
make test-decom
|
|
|
|
|
2024-04-19 05:48:19 -07:00
|
|
|
- name: Test ILM
|
|
|
|
run: |
|
|
|
|
sudo sysctl net.ipv6.conf.all.disable_ipv6=0
|
|
|
|
sudo sysctl net.ipv6.conf.default.disable_ipv6=0
|
|
|
|
make test-ilm
|
2024-10-31 15:10:24 -07:00
|
|
|
make test-ilm-transition
|
2024-04-19 05:48:19 -07:00
|
|
|
|
2024-05-14 21:13:07 +05:30
|
|
|
- name: Test PBAC
|
|
|
|
run: |
|
|
|
|
sudo sysctl net.ipv6.conf.all.disable_ipv6=0
|
|
|
|
sudo sysctl net.ipv6.conf.default.disable_ipv6=0
|
|
|
|
make test-pbac
|
|
|
|
|
2023-12-08 12:04:54 -08:00
|
|
|
- name: Test Config File
|
|
|
|
run: |
|
|
|
|
sudo sysctl net.ipv6.conf.all.disable_ipv6=0
|
|
|
|
sudo sysctl net.ipv6.conf.default.disable_ipv6=0
|
|
|
|
make test-configfile
|
|
|
|
|
2021-11-10 18:18:09 -08:00
|
|
|
- name: Test Replication
|
|
|
|
run: |
|
|
|
|
sudo sysctl net.ipv6.conf.all.disable_ipv6=0
|
|
|
|
sudo sysctl net.ipv6.conf.default.disable_ipv6=0
|
|
|
|
make test-replication
|
2022-07-04 14:02:54 -07:00
|
|
|
|
2022-01-07 19:11:54 -08:00
|
|
|
- name: Test MinIO IDP for automatic site replication
|
|
|
|
run: |
|
|
|
|
sudo sysctl net.ipv6.conf.all.disable_ipv6=0
|
|
|
|
sudo sysctl net.ipv6.conf.default.disable_ipv6=0
|
|
|
|
make test-site-replication-minio
|
|
|
|
|
2024-01-02 15:08:18 -08:00
|
|
|
- name: Test Versioning
|
|
|
|
run: |
|
|
|
|
sudo sysctl net.ipv6.conf.all.disable_ipv6=0
|
|
|
|
sudo sysctl net.ipv6.conf.default.disable_ipv6=0
|
|
|
|
make test-versioning
|
2024-09-06 03:51:23 -07:00
|
|
|
|
|
|
|
- name: Test Multipart upload with failures
|
|
|
|
run: |
|
|
|
|
sudo sysctl net.ipv6.conf.all.disable_ipv6=0
|
|
|
|
sudo sysctl net.ipv6.conf.default.disable_ipv6=0
|
|
|
|
make test-multipart
|