Skip to content

Commit

Permalink
install oras after other critical packages
Browse files Browse the repository at this point in the history
  • Loading branch information
AlisonB319 committed Aug 7, 2024
1 parent 5f13fe2 commit 8cc300f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions vhdbuilder/packer/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,14 +198,6 @@ for p in ${packages[*]}; do
downloadDir=$(echo ${p} | jq .downloadLocation -r)
#download the package
case $name in
"oras")
for version in ${PACKAGE_VERSIONS[@]}; do
evaluatedURL=$(evalPackageDownloadURL ${PACKAGE_DOWNLOAD_URL})
installOras "${downloadDir}" "${evaluatedURL}" "${version}"
echo " - oras version ${version}" >> ${VHD_LOGS_FILEPATH}
# ORAS will be used to install other packages for network isolated clusters, it must go first.
done
;;
"cri-tools")
for version in ${PACKAGE_VERSIONS[@]}; do
evaluatedURL=$(evalPackageDownloadURL ${PACKAGE_DOWNLOAD_URL})
Expand Down Expand Up @@ -251,6 +243,14 @@ for p in ${packages[*]}; do
echo " - containerd version ${version}" >> ${VHD_LOGS_FILEPATH}
done
;;
"oras")
for version in ${PACKAGE_VERSIONS[@]}; do
evaluatedURL=$(evalPackageDownloadURL ${PACKAGE_DOWNLOAD_URL})
installOras "${downloadDir}" "${evaluatedURL}" "${version}"
echo " - oras version ${version}" >> ${VHD_LOGS_FILEPATH}
# ORAS will be used to install other packages for network isolated clusters, it must go first.
done
;;
"kubernetes-binaries")
# kubelet and kubectl
# need to cover previously supported version for VMAS scale up scenario
Expand Down

0 comments on commit 8cc300f

Please sign in to comment.