mirror of
https://github.com/minio/minio.git
synced 2024-12-25 22:55:54 -05:00
9dbfd84c5b
This commit replaces the KMS / KES environment variables with `MINIO_KMS_SECRET_KEY` when testing healing on CI. This change is necessary since KES `0.18.0` introduced some API breaking changes and the healing tests run a test (`verify-3604`) that requires an older MinIO version (e.g. `2021-11-24T23-19-33Z`) which is not able to parse a KES error as expected. This commit allows the KES instance at `https://play.min.io:7373` to get updated to newer versions. Signed-off-by: Andreas Auernhammer <hi@aead.dev>
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
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
|
|
|
|
jobs:
|
|
build:
|
|
name: Go ${{ matrix.go-version }} on ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
go-version: [1.17.x]
|
|
os: [ubuntu-latest]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
- uses: actions/cache@v2
|
|
with:
|
|
path: |
|
|
~/.cache/go-build
|
|
~/go/pkg/mod
|
|
key: ${{ runner.os }}-${{ matrix.go-version }}-go-${{ hashFiles('**/go.sum') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-${{ matrix.go-version }}-go-
|
|
- name: Build on ${{ matrix.os }}
|
|
if: matrix.os == 'ubuntu-latest'
|
|
env:
|
|
CGO_ENABLED: 0
|
|
GO111MODULE: on
|
|
MINIO_KMS_SECRET_KEY: "my-minio-key:oyArl7zlPECEduNbB1KXgdzDn2Bdpvvw0l8VO51HQnY="
|
|
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
|