Skip to content

Commit

Permalink
support for arm64
Browse files Browse the repository at this point in the history
with the developer preview of ARM available for 4.9, adding support in it for SNC so we can work toward having crc support for macs
  • Loading branch information
Prashanth684 committed Jul 14, 2021
1 parent 1c03932 commit 89516a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion snc-library.sh
Expand Up @@ -281,7 +281,7 @@ function wait_till_cluster_stable() {
done

# Wait till all the pods are either running or complete state
while oc get pod --no-headers --all-namespaces | grep -v Running | grep -v Completed; do
while ${OC} get pod --no-headers --all-namespaces | grep -v Running | grep -v Completed; do
sleep 2
done
}
Expand Down
5 changes: 5 additions & 0 deletions tools.sh
Expand Up @@ -24,6 +24,11 @@ case "${ARCH}" in
SNC_GENERATE_MACOS_BUNDLE=1
SNC_GENERATE_WINDOWS_BUNDLE=1
;;
aarch64)
yq_ARCH="arm64"
SNC_GENERATE_MACOS_BUNDLE=1
SNC_GENERATE_WINDOWS_BUNDLE=
;;
*)
yq_ARCH=${ARCH}
SNC_GENERATE_MACOS_BUNDLE=
Expand Down

0 comments on commit 89516a9

Please sign in to comment.