kolla/tools/gate_run.sh
Jeffrey Zhang b64198cce0 Moving jobs to kolla repo
This is zuulv3 migration patch. This patch only implement build jobs.
Deploy jobs will be pushed in another one.

Partial-Bug: #1720601
Change-Id: Ib9157ed132820d752ef1dbd7a53353ebd68b1934
2017-10-19 10:34:03 +08:00

17 lines
281 B
Bash
Executable File

#!/bin/bash
set -o errexit
set -o xtrace
# exist when the jobs is not project jobs.
if [[ -z $IN_PROJECT_JOBS ]]; then
exit 0
fi
tools/setup_gate.sh
tox -e $ACTION-$BASE_DISTRO-$INSTALL_TYPE
if [[ -n $PACK_REGISTRY ]] && [[ $ACTION == "build" ]]; then
pack_registry
fi