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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user