aboutsummaryrefslogtreecommitdiffstats
path: root/screwdriver
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@yahooinc.com>2023-01-11 14:53:37 +0100
committerArnstein Ressem <aressem@yahooinc.com>2023-01-11 14:53:37 +0100
commit56def4751d70480426e1d1cf8e195dd005532a0d (patch)
tree89444d9b6f6d2f5cde62a372cbcdf3415a9526c3 /screwdriver
parent799e7ffda3adfe238c730dfddbffee1965236ab7 (diff)
Default run systemtest in PR build if not [skip-systemtest] specified in PR title.
Diffstat (limited to 'screwdriver')
-rwxr-xr-xscrewdriver/build-vespa.sh2
-rwxr-xr-xscrewdriver/detect-what-to-build.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/screwdriver/build-vespa.sh b/screwdriver/build-vespa.sh
index 6a93474c620..1a9288c007f 100755
--- a/screwdriver/build-vespa.sh
+++ b/screwdriver/build-vespa.sh
@@ -18,7 +18,7 @@ ccache -p
if ! source $SOURCE_DIR/screwdriver/detect-what-to-build.sh; then
echo "Could not detect what to build."
- SHOULD_BUILD=all
+ SHOULD_BUILD=systemtest
fi
echo "Building: $SHOULD_BUILD"
diff --git a/screwdriver/detect-what-to-build.sh b/screwdriver/detect-what-to-build.sh
index 358c855f7bd..9666f058942 100755
--- a/screwdriver/detect-what-to-build.sh
+++ b/screwdriver/detect-what-to-build.sh
@@ -19,7 +19,7 @@ COMMITS=$(jq -re '.[].sha' <<< "$JSON")
FILES=$(for C in $COMMITS; do JSON=$(curl -sLf https://api.github.com/repos/vespa-engine/vespa/commits/$C); jq -re '.files[].filename' <<< "$JSON"; done)
-if [[ $PR_TITLE =~ \[run-systemtest\] ]]; then
+if ! [[ $PR_TITLE =~ \[skip-systemtest\] ]]; then
SHOULD_BUILD=systemtest
elif [[ -z $FILES ]]; then
SHOULD_BUILD=all