From 9dbfd84c5b43d29a0be114b343ce09d4f2e2eeb7 Mon Sep 17 00:00:00 2001 From: Andreas Auernhammer Date: Wed, 9 Mar 2022 19:48:29 +0100 Subject: [PATCH] CI: use `MINIO_KMS_SECRET_KEY` when verify healing (#14511) 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 --- .github/workflows/go-healing.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/go-healing.yml b/.github/workflows/go-healing.yml index c033e4253..f77a040ca 100644 --- a/.github/workflows/go-healing.yml +++ b/.github/workflows/go-healing.yml @@ -37,10 +37,7 @@ jobs: env: CGO_ENABLED: 0 GO111MODULE: on - MINIO_KMS_KES_CERT_FILE: /home/runner/work/minio/minio/.github/workflows/root.cert - MINIO_KMS_KES_KEY_FILE: /home/runner/work/minio/minio/.github/workflows/root.key - MINIO_KMS_KES_ENDPOINT: "https://play.min.io:7373" - MINIO_KMS_KES_KEY_NAME: "my-minio-key" + MINIO_KMS_SECRET_KEY: "my-minio-key:oyArl7zlPECEduNbB1KXgdzDn2Bdpvvw0l8VO51HQnY=" MINIO_KMS_AUTO_ENCRYPTION: on run: | sudo sysctl net.ipv6.conf.all.disable_ipv6=0