mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-29 13:38:00 +00:00
Merge pull request #417 from nathanleclaire/editions_downstream_additions
Add modifications to help with downstream build
This commit is contained in:
commit
a832a83bde
@ -2,9 +2,8 @@
|
||||
|
||||
set -e
|
||||
|
||||
# When changing this value, ensure to change TAG_KEY_PREV to its old value.
|
||||
TAG_KEY="aws-1.12.0-beta-4"
|
||||
TAG_KEY_PREV="aws-1.12.0-rc3-beta-3-dev"
|
||||
TAG_KEY=${TAG_KEY:-editionsdev}
|
||||
TAG_KEY_PREV=${TAG_KEY_PREV:-editionsdev}
|
||||
|
||||
INSTANCE_ENDPOINT="http://169.254.169.254/latest"
|
||||
INSTANCE_METADATA_API_ENDPOINT="${INSTANCE_ENDPOINT}/meta-data/"
|
||||
|
@ -70,6 +70,7 @@ case "$1" in
|
||||
AZURE_STG_ACCOUNT_NAME=${AZURE_STG_ACCOUNT_NAME:-"dockereditions"}
|
||||
CONTAINER_NAME=${CONTAINER_NAME:-"mobylinux"}
|
||||
BLOBNAME=${BLOBNAME:-$(md5sum "${MOBY_SRC_ROOT}/mobylinux.vhd" | awk '{ print $1; }')-mobylinux.vhd}
|
||||
BLOB_URL="https://${AZURE_STG_ACCOUNT_NAME}.blob.core.windows.net/${CONTAINER_NAME}/${BLOBNAME}"
|
||||
|
||||
azure-vhd-utils-for-go upload \
|
||||
--localvhdpath "${MOBY_SRC_ROOT}/mobylinux.vhd" \
|
||||
@ -80,7 +81,8 @@ case "$1" in
|
||||
--overwrite
|
||||
|
||||
arrowecho "VHD uploaded."
|
||||
arrowecho "https://${AZURE_STG_ACCOUNT_NAME}.blob.core.windows.net/${CONTAINER_NAME}/${BLOBNAME}"
|
||||
arrowecho "${BLOB_URL}"
|
||||
echo "${BLOB_URL}" >vhd_blob_url.out
|
||||
;;
|
||||
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user