Skip to content

Commit

Permalink
Make OperatorHub tests work on Apple silicon
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <[email protected]>
  • Loading branch information
stefanprodan committed Jun 5, 2024
1 parent 885a6c0 commit 1bc9169
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions config/operatorhub/flux-operator/scripts/opm-index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARCH=""
case $(uname -m) in
x86_64) ARCH="x86_64" ;;
aarch64) ARCH="aarch64" ;;
arm64) ARCH="aaarch64" ;;
arm64) ARCH="aarch64" ;;
*) echo "Unsupported architecture"
exit 1
;;
Expand All @@ -35,4 +35,3 @@ docker run --rm -it \
--container-tool docker \
--bundles "$list" \
--tag ghcr.io/controlplaneio-fluxcd/openshift-flux-operator-index:latest

2 changes: 1 addition & 1 deletion config/operatorhub/flux-operator/scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ IMG=ghcr.io/controlplaneio-fluxcd/openshift-flux-operator-catalog:bundle-v"${VER
OPM=ghcr.io/controlplaneio-fluxcd/openshift-flux-operator-index:latest

# create kind cluster
kind create cluster --name=flux-operator-olm
kind create cluster --name=flux-operator-olm --wait=5m

# load images
kind load docker-image --name=flux-operator-olm ${IMG}
Expand Down

0 comments on commit 1bc9169

Please sign in to comment.