Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use bitnami MInio oci chart for e2e #1301

Merged
merged 2 commits into from
Nov 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 9 additions & 12 deletions hack/ci/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@ CREATE_CLUSTER="${CREATE_CLUSTER:-true}"
KIND_CLUSTER_NAME="${KIND_CLUSTER_NAME:-kind}"
LOAD_IMG_INTO_KIND="${LOAD_IMG_INTO_KIND:-true}"
BUILD_PLATFORM="${BUILD_PLATFORM:-linux/amd64}"
MINIO_HELM_VER="${MINIO_HELM_VER:-v6.3.1}"
# Older tags do not bundle multiple architectures. Newer tags are 5-6 times larger.
MINIO_TAG="${MINIO_TAG:-RELEASE.2020-09-17T04-49-20Z}"
MINIO_HELM_VER="${MINIO_HELM_VER:-12.10.3}"

IMG=test/source-controller
TAG=latest

MC_RELEASE=mc.RELEASE.2021-12-16T23-38-39Z
MC_AMD64_SHA256=d14302bbdaa180a073c1627ff9fbf55243221e33d47e32df61a950f635810978
MC_ARM64_SHA256=00791995bf8d102e3159e23b3af2f5e6f4c784fafd88c60161dcf3f0169aa217
MC_RELEASE=mc.RELEASE.2023-11-20T16-30-59Z
MC_AMD64_SHA256=fdd901a5169d676f32483f9a2de977b7ff3a4fe83e254dcbc35e7a1545591565
MC_ARM64_SHA256=09816180f560875d344dc436ed4ec1348b3ff0c836ae9cf0415fef602489cc11

ROOT_DIR="$(git rev-parse --show-toplevel)"
BUILD_DIR="${ROOT_DIR}/build"
Expand Down Expand Up @@ -87,15 +85,14 @@ kubectl -n source-system delete -f "${ROOT_DIR}/config/testdata/helmchart-values

echo "Setup Minio"
kubectl create ns minio
helm repo add minio https://helm.min.io/ --force-update
helm upgrade minio minio/minio --wait -i \
helm upgrade minio oci://registry-1.docker.io/bitnamicharts/minio --wait -i \
--version "${MINIO_HELM_VER}" \
--timeout 10m0s \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adjusted timeout due to error in pipeline. Pipeline passing now with new timeout

Release "minio" does not exist. Installing it now.
Pulled: registry-1.docker.io/bitnamicharts/minio:12.10.3
Digest: sha256:530b2db8981088ab479a4503fa88e211f6808038f6b0177e4715d3d44f7510b2
Error: timed out waiting for the condition

--namespace minio \
--set accessKey=myaccesskey \
--set secretKey=mysecretkey \
--set auth.rootUser=myaccesskey \
--set auth.rootPassword=mysecretkey \
--set resources.requests.memory=128Mi \
--set persistence.enable=false \
--set image.tag="${MINIO_TAG}"
--set persistence.enable=false
kubectl -n minio port-forward svc/minio 9000:9000 &>/dev/null &

sleep 2
Expand Down
Loading