2021-12-21 13:08:26 -05:00
|
|
|
name: Healing Functional Tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
# 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 05:45:59 -04:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-12-21 13:08:26 -05:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Go ${{ matrix.go-version }} on ${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2023-08-10 10:13:58 -04:00
|
|
|
go-version: [1.21.x]
|
2021-12-21 13:08:26 -05:00
|
|
|
os: [ubuntu-latest]
|
|
|
|
steps:
|
2023-03-03 13:15:03 -05:00
|
|
|
- uses: actions/checkout@v3
|
2022-03-25 11:56:04 -04:00
|
|
|
- uses: actions/setup-go@v3
|
2021-12-21 13:08:26 -05:00
|
|
|
with:
|
|
|
|
go-version: ${{ matrix.go-version }}
|
2022-03-25 11:56:04 -04:00
|
|
|
check-latest: true
|
2021-12-21 13:08:26 -05:00
|
|
|
- name: Build on ${{ matrix.os }}
|
|
|
|
if: matrix.os == 'ubuntu-latest'
|
|
|
|
env:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
2022-03-09 13:48:29 -05:00
|
|
|
MINIO_KMS_SECRET_KEY: "my-minio-key:oyArl7zlPECEduNbB1KXgdzDn2Bdpvvw0l8VO51HQnY="
|
2021-12-21 13:08:26 -05:00
|
|
|
MINIO_KMS_AUTO_ENCRYPTION: on
|
|
|
|
run: |
|
|
|
|
sudo sysctl net.ipv6.conf.all.disable_ipv6=0
|
|
|
|
sudo sysctl net.ipv6.conf.default.disable_ipv6=0
|
|
|
|
make verify-healing
|
2022-04-20 15:49:05 -04:00
|
|
|
make verify-healing-inconsistent-versions
|
2022-07-13 19:29:44 -04:00
|
|
|
make verify-healing-with-root-disks
|
2022-08-03 02:10:22 -04:00
|
|
|
make verify-healing-with-rewrite
|