Use the Airship CLI for lint and Airskiff gates

Using Airship CLI script allows us to use pegleg
image configured in versions.yaml, which will be
updated during regular uplift procedure.

Change-Id: I68a6e5477fc72fb52dfc893b6eef69dd64320ded
This commit is contained in:
Evgeny L
2019-04-26 16:35:14 +00:00
parent 4e6a60ce1a
commit 5343f76bc1
6 changed files with 15 additions and 38 deletions

View File

@@ -16,11 +16,5 @@
set -xe
: "${PEGLEG_PATH:=../pegleg}"
: "${PEGLEG_IMG:=quay.io/airshipit/pegleg:b7556bd89e99f2a6539e97d5a4ac6738751b9c55}"
: "${PEGLEG:=${PEGLEG_PATH}/tools/pegleg.sh}"
# TODO(drewwalters96): make Treasuremap sites P001 and P009 compliant.
IMAGE=${PEGLEG_IMG} TERM_OPTS=" " \
${PEGLEG} site -r . lint "$1" -x P001 -x P009
TERM_OPTS=" " ./tools/airship pegleg site -r . lint "$1" -x P001 -x P009

View File

@@ -16,7 +16,7 @@
set -e
: "${SHIPYARD:=../shipyard/tools/shipyard.sh}"
: "${SHIPYARD:=./tools/airship shipyard}"
# Source OpenStack credentials for Airship utility scripts
. tools/deployment/airskiff/common/os-env.sh