Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

oem/azure: rename coreos to container linux #625

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions oem/azure/update-gallery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ cd "${GALLERY_PATH}"
git fetch origin
git checkout -b "${LGROUP}-${VERSION}" origin/master

input=$(ls CoreOS_*_${LGROUP}.json)
output="CoreOS_${VERSION}_${LGROUP}.json"
media_name_publicazure="${MEDIA_PREFIX_PUBLICAZURE}__CoreOS-${UGROUP}-${VERSION}"
media_name_blackforest="${MEDIA_PREFIX_BLACKFOREST}__CoreOS-${UGROUP}-${VERSION}"
media_name_mooncake="${MEDIA_PREFIX_MOONCAKE}__CoreOS-${UGROUP}-${VERSION}"
input=$(ls Container_Linux_*_${LGROUP}.json)
output="Container_Linux_${VERSION}_${LGROUP}.json"
media_name_publicazure="${MEDIA_PREFIX_PUBLICAZURE}__Container-Linux-${UGROUP}-${VERSION}"
media_name_blackforest="${MEDIA_PREFIX_BLACKFOREST}__Container-Linux-${UGROUP}-${VERSION}"
media_name_mooncake="${MEDIA_PREFIX_MOONCAKE}__Container-Linux-${UGROUP}-${VERSION}"
publish_date="$(date +'%m/%d/%Y')"

jq --raw-output \
Expand All @@ -38,4 +38,4 @@ jq --raw-output \

git rm "${input}"
git add "${output}"
git commit --message="CoreOS: Add ${UGROUP} ${VERSION}"
git commit --message="CoreOS: Add Container Linux ${UGROUP} ${VERSION}"