Skip to content

Commit f6029ab

Browse files
author
Paulo Gomes
committed
Set MINIO tag that supports arm64
Signed-off-by: Paulo Gomes <[email protected]>
1 parent 7608449 commit f6029ab

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.github/workflows/e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ jobs:
4646
fi
4747
- name: Run E2E tests
4848
env:
49-
MINIO_VER: ${{ 'v6.3.1' }}
5049
CREATE_CLUSTER: false
5150
run: make e2e
5251

@@ -75,6 +74,7 @@ jobs:
7574
KUBECONFIG: /tmp/${{ steps.prep.outputs.CLUSTER }}
7675
CREATE_CLUSTER: false
7776
BUILD_PLATFORM: linux/arm64
77+
MINIO_TAG: RELEASE.2020-09-17T04-49-20Z-arm64
7878
run: make e2e
7979
- name: Cleanup
8080
if: always()

hack/ci/e2e.sh

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@
22

33
set -eoux pipefail
44

5-
MINIO_VER="${MINIO_VER:-v6.3.1}"
65
CREATE_CLUSTER="${CREATE_CLUSTER:-true}"
76
KIND_CLUSTER_NAME="${KIND_CLUSTER_NAME:-kind}"
87
LOAD_IMG_INTO_KIND="${LOAD_IMG_INTO_KIND:-true}"
98
BUILD_PLATFORM="${BUILD_PLATFORM:-linux/amd64}"
9+
MINIO_HELM_VER="${MINIO_HELM_VER:-v6.3.1}"
10+
# Older tags do not bundle multiple architectures. Newer tags are 5-6 times larger.
11+
MINIO_TAG="${MINIO_TAG:-RELEASE.2020-09-17T04-49-20Z}"
1012

1113
IMG=test/source-controller
1214
TAG=latest
15+
1316
MC_RELEASE=mc.RELEASE.2021-12-16T23-38-39Z
1417
MC_AMD64_SHA256=d14302bbdaa180a073c1627ff9fbf55243221e33d47e32df61a950f635810978
1518
MC_ARM64_SHA256=00791995bf8d102e3159e23b3af2f5e6f4c784fafd88c60161dcf3f0169aa217
@@ -38,7 +41,7 @@ function cleanup(){
3841
kubectl -n source-system get all
3942
kubectl -n source-system logs deploy/source-controller
4043
kubectl -n minio get all
41-
kubectl -n minio logs -l app=minio
44+
kubectl -n minio describe pods
4245
else
4346
echo "All E2E tests passed!"
4447
fi
@@ -79,16 +82,14 @@ kubectl -n source-system delete -f "${ROOT_DIR}/config/testdata/helmchart-values
7982
echo "Setup Minio"
8083
kubectl create ns minio
8184
helm repo add minio https://helm.min.io/
82-
83-
# minio seems to hang on arm64 with 128Mi
84-
# hence the increase to 192Mi
85-
helm upgrade --wait -i minio minio/minio \
86-
--version "${MINIO_VER}" \
85+
helm upgrade minio minio/minio --wait -i \
86+
--version "${MINIO_HELM_VER}" \
8787
--namespace minio \
8888
--set accessKey=myaccesskey \
8989
--set secretKey=mysecretkey \
90-
--set resources.requests.memory=192Mi \
91-
--set persistence.enable=false
90+
--set resources.requests.memory=128Mi \
91+
--set persistence.enable=false \
92+
--set image.tag="${MINIO_TAG}"
9293
kubectl -n minio port-forward svc/minio 9000:9000 &>/dev/null &
9394

9495
sleep 2

0 commit comments

Comments
 (0)