Skip to content

Commit

Permalink
test: fail at init variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Bailey committed Oct 23, 2024
1 parent 91f5256 commit 1165a8a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion vhdbuilder/packer/init-variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ VHD_BUILD_TIMESTAMP_JSON="${VHD_BUILD_TIMESTAMP_JSON:-./vhdbuilder/vhd_build_tim
SUBSCRIPTION_ID="${SUBSCRIPTION_ID:-$(az account show -o json --query="id" | tr -d '"')}"
CREATE_TIME="$(date +%s)"
STORAGE_ACCOUNT_NAME="aksimages${CREATE_TIME}$RANDOM"

exit 1
# This variable will only be set if a VHD build is triggered from an official branch
VHD_BUILD_TIMESTAMP=""

Expand Down
2 changes: 0 additions & 2 deletions vhdbuilder/packer/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,6 @@ cacheKubePackageFromPrivateUrl() {
fi
}

exit 1

if [[ $OS == $UBUNTU_OS_NAME ]]; then
# remove snapd, which is not used by container stack
apt_get_purge 20 30 120 snapd || exit 1
Expand Down

0 comments on commit 1165a8a

Please sign in to comment.