mirror of
https://github.com/containers/podman.git
synced 2025-10-16 18:53:19 +08:00
Merge pull request #1616 from cevich/cirrus_add_systemtest
Cirrus-CI: Add option to run system-tests
This commit is contained in:
@ -63,6 +63,8 @@ full_vm_testing_task:
|
|||||||
|
|
||||||
integration_test_script: $SCRIPT_BASE/integration_test.sh
|
integration_test_script: $SCRIPT_BASE/integration_test.sh
|
||||||
|
|
||||||
|
optional_system_test_script: $SCRIPT_BASE/optional_system_test.sh
|
||||||
|
|
||||||
success_script: $SCRIPT_BASE/success.sh
|
success_script: $SCRIPT_BASE/success.sh
|
||||||
|
|
||||||
|
|
||||||
|
24
contrib/cirrus/optional_system_test.sh
Executable file
24
contrib/cirrus/optional_system_test.sh
Executable file
@ -0,0 +1,24 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
source $(dirname $0)/lib.sh
|
||||||
|
|
||||||
|
MAGIC_RE='\*\*\*\s*CIRRUS:\s*SYSTEM\s*TEST\s*\*\*\*'
|
||||||
|
if ! echo "$CIRRUS_CHANGE_MESSAGE" | egrep -q "$MAGIC_RE"
|
||||||
|
then
|
||||||
|
echo "Skipping system-testing because PR title or description"
|
||||||
|
echo "does not match regular expression: $MAGIC_RE"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
req_env_var "
|
||||||
|
GOSRC $GOSRC
|
||||||
|
OS_RELEASE_ID $OS_RELEASE_ID
|
||||||
|
OS_RELEASE_VER $OS_RELEASE_VER
|
||||||
|
"
|
||||||
|
|
||||||
|
show_env_vars
|
||||||
|
|
||||||
|
set -x
|
||||||
|
cd "$GOSRC"
|
||||||
|
make localsystem
|
Reference in New Issue
Block a user