2021-12-21 13:08:26 -05:00
|
|
|
name: Healing Functional Tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
2024-05-22 19:07:14 -04:00
|
|
|
- master
|
2021-12-21 13:08:26 -05: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 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:
|
2024-05-09 04:36:00 -04:00
|
|
|
go-version: [1.22.x]
|
2021-12-21 13:08:26 -05:00
|
|
|
os: [ubuntu-latest]
|
|
|
|
steps:
|
2024-03-28 19:44:49 -04:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-go@v5
|
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
|