Browse Source

Add vars to Airskiff to not clone specific repos

This adds new variables to the 005-clone-dependencies script in
Airskiff to be able to turn off cloning for the Airship repositories.
The intended use case of this is so the Airskiff gate can avoid cloning
the repository it is currently testing.

Change-Id: I629ce9373b1b68f7e5fb6b134d9ea063a344a70c
changes/71/663971/1
Michael Beaver 2 years ago
parent
commit
c78975c8c9
  1. 15
      tools/deployment/airskiff/developer/005-clone-dependencies.sh

15
tools/deployment/airskiff/developer/005-clone-dependencies.sh

@ -20,13 +20,22 @@ set -xe
CURRENT_DIR="$(pwd)"
: "${INSTALL_PATH:="../"}"
: "${OSH_INFRA_COMMIT:="6d0a9c21b0455e9d674d525c5e0cd0d5d53f0f85"}"
: "${CLONE_ARMADA:=true}"
: "${CLONE_DECKHAND:=true}"
: "${CLONE_SHIPYARD:=true}"
cd ${INSTALL_PATH}
# Clone Airship projects
git clone https://opendev.org/airship/armada.git
git clone https://opendev.org/airship/deckhand.git
git clone https://opendev.org/airship/shipyard.git
if [[ ${CLONE_ARMADA} = true ]] ; then
git clone https://opendev.org/airship/armada.git
fi
if [[ ${CLONE_DECKHAND} = true ]] ; then
git clone https://opendev.org/airship/deckhand.git
fi
if [[ ${CLONE_SHIPYARD} = true ]] ; then
git clone https://opendev.org/airship/shipyard.git
fi
# Clone dependencies
git clone https://opendev.org/openstack/openstack-helm-infra.git

Loading…
Cancel
Save