2019-06-25 09:50:37 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
# This is the expected entry point for Cockpit CI; will be called without
|
|
|
|
# arguments but with an appropriate $TEST_OS, and optionally $TEST_SCENARIO
|
|
|
|
|
2019-11-27 11:43:14 +00:00
|
|
|
export BACKEND="${BACKEND:-lorax-composer}"
|
|
|
|
|
2019-06-25 09:50:37 +00:00
|
|
|
make vm
|
|
|
|
|
|
|
|
if [ -n "$TEST_SCENARIO" ]; then
|
2020-07-21 08:28:15 +00:00
|
|
|
if [ "$TEST_SCENARIO" == "ci" ]; then
|
2019-10-21 08:37:41 +00:00
|
|
|
test/check-cli TestPylint
|
2019-06-25 09:50:37 +00:00
|
|
|
fi
|
|
|
|
else
|
|
|
|
test/check-cli TestImages
|
|
|
|
fi
|