aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-08-10 17:17:30 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-08-10 17:17:30 +0200
commit64387b8c78043fd7bd2e4d4426a8d048b4ae06ed (patch)
tree95b6eea975a38105d521390cb8087b7192c0507d
parent173409bf67a5bc20cef4a58ab4e289d28765e76d (diff)
Use master as distro for sandbox branchessandbox/jsmoeller/distro-sandbox
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ieadb93820dcb1ee07d7b59ef99a8341d36d9f172
-rw-r--r--jjb/common/include-agl-auto-conf.sh1
-rw-r--r--jjb/housekeeping/include-template.sh0
-rw-r--r--jjb/housekeeping/template.yaml28
3 files changed, 29 insertions, 0 deletions
diff --git a/jjb/common/include-agl-auto-conf.sh b/jjb/common/include-agl-auto-conf.sh
index 20f5d9fb..02e2c58a 100644
--- a/jjb/common/include-agl-auto-conf.sh
+++ b/jjb/common/include-agl-auto-conf.sh
@@ -10,6 +10,7 @@ if test x"" = x"${GERRIT_BRANCH}"; then
export DISTROBRANCH="master"
else
export DISTROBRANCH="${GERRIT_BRANCH}"
+ grep -q sandbox <<< $GERRIT_BRANCH && export DISTROBRANCH="master"
fi
cat << EOF >> conf/auto.conf
PREMIRRORS = "\
diff --git a/jjb/housekeeping/include-template.sh b/jjb/housekeeping/include-template.sh
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/jjb/housekeeping/include-template.sh
diff --git a/jjb/housekeeping/template.yaml b/jjb/housekeeping/template.yaml
new file mode 100644
index 00000000..5b239c7b
--- /dev/null
+++ b/jjb/housekeeping/template.yaml
@@ -0,0 +1,28 @@
+---
+- project:
+ name: snapshot-jjb-template
+ jobs:
+ - snapshot-jjb-template
+
+- job-template:
+ name: 'snapshot-jjb-template'
+ project-type: freestyle
+ concurrent: false
+ node: agl-test-slave
+
+ build-discarder:
+ days-to-keep: 30
+ num-to-keep: 40
+ artifact-days-to-keep: -1
+ artifact-num-to-keep: 5
+
+# triggers:
+# - timed: '@weekly'
+
+ wrappers:
+ - agl-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ builders:
+ - shell:
+ !include-raw-escape: include-template.sh