aboutsummaryrefslogtreecommitdiff
path: root/tools/gate_run.sh
blob: 07f5e357432ae79669261f9e88442d2c69cf30eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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