Add tobiko-fixture CLI wrapper to CI tools
Change-Id: Ic56585cd05271488e8fba61871e792ea6ebd3914
This commit is contained in:
parent
27e46c8c39
commit
1c1234ec1b
18
tools/ci/fixture
Executable file
18
tools/ci/fixture
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eu
|
||||
|
||||
source $(dirname "$0")/activate
|
||||
source $(dirname "$0")/os
|
||||
|
||||
|
||||
function fixture {
|
||||
os_setup
|
||||
|
||||
tobiko-fixture "$@"
|
||||
}
|
||||
|
||||
|
||||
if [ $(basename "$0") == fixture ]; then
|
||||
fixture "$@"
|
||||
fi
|
@ -2,7 +2,8 @@
|
||||
|
||||
set -eu
|
||||
|
||||
source $(dirname "$0")/lib
|
||||
source $(dirname "$0")/activate
|
||||
|
||||
|
||||
OS_VIRTUAL_ENV=$(realpath "${OS_VIRTUAL_ENV:-.tox/scenario}")
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
set -eu
|
||||
|
||||
source $(dirname "$0")/lib
|
||||
source $(dirname "$0")/activate
|
||||
|
||||
|
||||
# Prefer python 3 over python 2
|
||||
|
Loading…
Reference in New Issue
Block a user