Pin a specific version of airshipctl to vino

* with master branch there are more chances that any recent change to airshipctl
  might break vino.
* Tagging a specific stable release of airshipctl as dependent repo to vino

Change-Id: I052af6345e955689a34d932ba80bf1d226ef2e6a
This commit is contained in:
siraj.yasin 2021-05-28 15:47:45 +00:00
parent 07e5e53493
commit d15fddf8d0
1 changed files with 9 additions and 0 deletions

View File

@ -4,6 +4,7 @@ set -xe
: ${MANIFEST_DIR:="${HOME}/vino-manifests"}
: ${VINO_REPO_URL:="/${HOME}/airship/vino"}
AIRSHIPCTL_RELEASE=${AIRSHIPCTL_RELEASE:-"v2.0.0"}
mkdir -p "${MANIFEST_DIR}"
@ -29,3 +30,11 @@ airshipctl config set-manifest default \
--branch master
airshipctl document pull -n
# pinning airshipctl to a specific tag
# git checkout is manually done here as a workaround to checkout a specific version of airshipctl.
# `airshipctl document pull -n` does not respect branch/tag
# -n is required for vino while a specific tag is required for airshipctl
cd ${MANIFEST_DIR}/airshipctl
git checkout ${AIRSHIPCTL_RELEASE}