blob: 2c3e07d2d37f0f56300f6ca4d7ba4ee6a169e689 [file] [log] [blame]
Oliver Smith44a39612018-10-10 16:31:23 +02001---
2- project:
3 name: 'ttcn3-testsuites'
4 concurrent: false
5 disabled: false
Oliver Smith9cda8112021-03-02 11:43:37 +01006 description: |
7 Run the a testsuite from
Oliver Smith7fc58132022-09-26 12:48:48 +02008 <a href="https://gitea.osmocom.org/osmocom/docker-playground">
Oliver Smith9cda8112021-03-02 11:43:37 +01009 docker-playground.git</a>.<br>
10 If this job ends in <code>-latest</code>, the job runs the latest
11 stable versions of the Osmocom stack. Otherwise the nightly builds.<br>
12 See <a href="https://osmocom.org/projects/cellular-infrastructure/wiki/Titan_TTCN3_Testsuites">
13 TTCN3 Testsuite</a> for more information.
Oliver Smith44a39612018-10-10 16:31:23 +020014 timer: "@midnight"
Harald Weltebfccd702020-11-30 21:45:17 +010015 node: ttcn3
Oliver Smith0001acd2021-02-26 12:01:03 +010016 wipe_workspace: true
Oliver Smith44a39612018-10-10 16:31:23 +020017 jobs:
18 - "{job-name}"
19 # Folders from docker-playground.git
Oliver Smith03cb8332023-09-13 11:57:53 +020020 # timer: 10 per hour from 04:00 - 18:00, see jobs/README.adoc
Oliver Smith44a39612018-10-10 16:31:23 +020021 job-name:
Oliver Smithc1f64b42022-08-03 11:05:44 +020022 # debian nightly - order by time
Oliver Smith73240db2018-11-05 10:42:12 +010023 - nplab-m3ua-test:
Oliver Smith03cb8332023-09-13 11:57:53 +020024 timer: H 04 * * *
Oliver Smith73240db2018-11-05 10:42:12 +010025 - nplab-sua-test:
Oliver Smith03cb8332023-09-13 11:57:53 +020026 timer: H 04 * * *
Oliver Smith73240db2018-11-05 10:42:12 +010027 - ttcn3-ggsn-test:
Oliver Smith03cb8332023-09-13 11:57:53 +020028 timer: H 04 * * *
Oliver Smithbce53ba2021-02-26 13:10:49 +010029 - ttcn3-ggsn-test-kernel:
Oliver Smith03cb8332023-09-13 11:57:53 +020030 timer: H 04 * * *
Oliver Smith9cda8112021-03-02 11:43:37 +010031 description: |
32 Test osmo-ggsn master with the Debian kernel.
Oliver Smithb5a1b002024-03-25 12:38:50 +010033 - ttcn3-ggsn-test-kernel-pablo-gtp:
34 timer: H 04 * * *
Oliver Smithebf4df32024-03-28 08:18:21 +010035 # Cache the linux source tree in the workspace of one node
36 wipe_workspace: false
Oliver Smithb5a1b002024-03-25 12:38:50 +010037 description: |
38 Test osmo-ggsn master with the Linux kernel built from main of
39 <a href="https://git.kernel.org/pub/scm/linux/kernel/git/pablo/gtp.git/">pablo/gtp.git</a>.
40 <br>
41 This is a temporary job, to be removed once the IPv6 related GTP
42 patches are upstreamed (OS#1952).
Oliver Smithbce53ba2021-02-26 13:10:49 +010043 - ttcn3-ggsn-test-kernel-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +020044 timer: H 04 * * *
Oliver Smith9cda8112021-03-02 11:43:37 +010045 description: |
46 Test osmo-ggsn latest with the Debian kernel.
Oliver Smith6f2f1cb2021-03-04 09:25:54 +010047 - ttcn3-ggsn-test-kernel-latest-net-next:
Oliver Smith03cb8332023-09-13 11:57:53 +020048 timer: H 04 * * *
Oliver Smith6f2f1cb2021-03-04 09:25:54 +010049 # Cache the linux source tree in the workspace of one node
Oliver Smithe00e3fb2021-03-10 12:45:41 +010050 wipe_workspace: false
Oliver Smith6f2f1cb2021-03-04 09:25:54 +010051 node: ttcn3-ggsn-test-kernel-git
52 description: |
53 Test osmo-ggsn latest with the Linux kernel built from master of
54 <a href="https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/">
55 net-next.git</a>.
56 - ttcn3-ggsn-test-kernel-latest-torvalds:
Oliver Smith03cb8332023-09-13 11:57:53 +020057 timer: H 04 * * *
Oliver Smith6f2f1cb2021-03-04 09:25:54 +010058 # Cache the linux source tree in the workspace of one node
Oliver Smithe00e3fb2021-03-10 12:45:41 +010059 wipe_workspace: false
Oliver Smith6f2f1cb2021-03-04 09:25:54 +010060 node: ttcn3-ggsn-test-kernel-git
61 description: |
62 Test osmo-ggsn latest with the Linux kernel built from master of
63 <a href="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/">
64 torvalds/linux.git</a>.
Pau Espin Pedrolef0e0422022-02-21 12:07:06 +010065 - ttcn3-ggsn-test-ogs:
Oliver Smith03cb8332023-09-13 11:57:53 +020066 timer: H 04 * * *
Pau Espin Pedrolef0e0422022-02-21 12:07:06 +010067 description: |
68 Test open5gs-smfd + open5gs-upfd main.
Oliver Smith18800772022-11-17 11:38:53 +010069 email: jenkins-notifications@lists.osmocom.org acetcom@gmail.com
Oliver Smith73240db2018-11-05 10:42:12 +010070 - ttcn3-msc-test:
Oliver Smith03cb8332023-09-13 11:57:53 +020071 timer: H 04 * * *
Harald Welte38ce8642019-02-20 22:41:31 +010072 - ttcn3-pcu-test:
Oliver Smith03cb8332023-09-13 11:57:53 +020073 timer: H 04 * * *
Harald Weltecb944d32019-03-14 21:55:26 +010074 - ttcn3-pcu-test-sns:
Oliver Smith03cb8332023-09-13 11:57:53 +020075 timer: H 05 * * *
Daniel Willmannd0229772019-03-28 13:36:05 +010076 - ttcn3-sgsn-test:
Oliver Smith03cb8332023-09-13 11:57:53 +020077 timer: H 05 * * *
Daniel Willmannd0229772019-03-28 13:36:05 +010078 - ttcn3-bsc-test:
Oliver Smith03cb8332023-09-13 11:57:53 +020079 timer: H 05 * * *
Daniel Willmannd0229772019-03-28 13:36:05 +010080 - ttcn3-mgw-test:
Oliver Smith03cb8332023-09-13 11:57:53 +020081 timer: H 05 * * *
Daniel Willmannd0229772019-03-28 13:36:05 +010082 - ttcn3-hlr-test:
Oliver Smith03cb8332023-09-13 11:57:53 +020083 timer: H 05 * * *
Daniel Willmannd0229772019-03-28 13:36:05 +010084 - ttcn3-bts-test:
Oliver Smith03cb8332023-09-13 11:57:53 +020085 timer: H 05 * * *
Daniel Willmannd0229772019-03-28 13:36:05 +010086 - ttcn3-sip-test:
Oliver Smith03cb8332023-09-13 11:57:53 +020087 timer: H 05 * * *
Daniel Willmannaaa472a2019-03-28 13:39:20 +010088 - ttcn3-bscnat-test:
Oliver Smith03cb8332023-09-13 11:57:53 +020089 timer: H 05 * * *
Oliver Smithe0078992021-03-02 11:23:27 +010090 disabled: true
Daniel Willmannd0229772019-03-28 13:36:05 +010091 - ttcn3-bsc-test-sccplite:
Oliver Smith03cb8332023-09-13 11:57:53 +020092 timer: H 05 * * *
Harald Welted3a5d512019-09-13 13:56:30 +020093 - ttcn3-remsim-test:
Oliver Smith03cb8332023-09-13 11:57:53 +020094 timer: H 05 * * *
Pau Espin Pedrol95d45442019-10-24 16:51:13 +020095 - ttcn3-stp-test:
Oliver Smith03cb8332023-09-13 11:57:53 +020096 timer: H 06 * * *
Pau Espin Pedrole0f41292020-01-17 18:13:45 +010097 - ttcn3-sccp-test:
Oliver Smith03cb8332023-09-13 11:57:53 +020098 timer: H 06 * * *
Neels Hofmeyr2dc35de2020-10-21 00:33:30 +020099 - ttcn3-smlc-test:
Oliver Smith03cb8332023-09-13 11:57:53 +0200100 timer: H 06 * * *
Daniel Willmann5806d0a2020-11-05 18:54:37 +0100101 - ttcn3-gbproxy-test:
Oliver Smith03cb8332023-09-13 11:57:53 +0200102 timer: H 06 * * *
Harald Weltebfccd702020-11-30 21:45:17 +0100103 - ttcn3-gbproxy-test-fr:
Oliver Smith03cb8332023-09-13 11:57:53 +0200104 timer: H 06 * * *
Harald Weltebfccd702020-11-30 21:45:17 +0100105 node: hdlc
Harald Weltecf95a6f2021-02-22 14:48:09 +0100106 - ttcn3-cbc-test:
Oliver Smith03cb8332023-09-13 11:57:53 +0200107 timer: H 06 * * *
Harald Welte22aae4b2021-03-30 20:35:56 +0200108 - ttcn3-ns-test:
Oliver Smith03cb8332023-09-13 11:57:53 +0200109 timer: H 06 * * *
Harald Welte20925c12021-03-31 10:23:21 +0200110 - ttcn3-ns-test-sns:
Oliver Smith03cb8332023-09-13 11:57:53 +0200111 timer: H 06 * * *
Harald Welte20925c12021-03-31 10:23:21 +0200112 - ttcn3-ns-test-fr:
Oliver Smith03cb8332023-09-13 11:57:53 +0200113 timer: H 06 * * *
Harald Welte20925c12021-03-31 10:23:21 +0200114 node: hdlc
Oliver Smitha18e6df2021-09-06 17:00:45 +0200115 - ttcn3-ns-test-sgsn-sns:
Oliver Smith03cb8332023-09-13 11:57:53 +0200116 timer: H 06 * * *
Harald Welte92948e62021-04-25 13:22:47 +0200117 - ttcn3-pcap-client-test:
Oliver Smith03cb8332023-09-13 11:57:53 +0200118 timer: H 07 * * *
Neels Hofmeyr499faad2021-05-26 00:08:55 +0200119 - ttcn3-bsc-test-vamos:
Oliver Smith03cb8332023-09-13 11:57:53 +0200120 timer: H 07 * * *
Pau Espin Pedrolcccd0cd2021-11-25 16:00:12 +0100121 - ttcn3-hnodeb-test:
Oliver Smith03cb8332023-09-13 11:57:53 +0200122 timer: H 07 * * *
Neels Hofmeyr0c5869f2021-12-28 15:47:56 +0100123 - ttcn3-upf-test:
Oliver Smith03cb8332023-09-13 11:57:53 +0200124 timer: H 07 * * *
Pau Espin Pedrol702fd8f2022-01-04 19:30:30 +0100125 - ttcn3-hnbgw-test:
Oliver Smith03cb8332023-09-13 11:57:53 +0200126 timer: H 07 * * *
Oliver Smith89228432022-02-22 12:23:18 +0100127 - ttcn3-fr-test:
Oliver Smith03cb8332023-09-13 11:57:53 +0200128 timer: H 07 * * *
Oliver Smith89228432022-02-22 12:23:18 +0100129 node: hdlc
Pau Espin Pedrol99578e82022-04-07 17:55:39 +0200130 - ttcn3-pgw-test:
Oliver Smith03cb8332023-09-13 11:57:53 +0200131 timer: H 07 * * *
Pau Espin Pedrol99578e82022-04-07 17:55:39 +0200132 description: |
133 Test open5gs-smfd + open5gs-upfd PGW main.
Oliver Smith18800772022-11-17 11:38:53 +0100134 email: jenkins-notifications@lists.osmocom.org acetcom@gmail.com
Oliver Smith5cc2db12023-07-11 16:50:06 +0200135 - ttcn3-mme-test-ogs:
Oliver Smith03cb8332023-09-13 11:57:53 +0200136 timer: H 07 * * *
Oliver Smith5cc2db12023-07-11 16:50:06 +0200137 description: |
Pau Espin Pedrol35a11552023-10-10 19:26:00 +0200138 Test open5gs-mmed
139 email: jenkins-notifications@lists.osmocom.org acetcom@gmail.com
140 - ttcn3-hss-test-ogs:
141 timer: H 07 * * *
142 description: |
143 Test open5gs-hssd
Oliver Smith5cc2db12023-07-11 16:50:06 +0200144 email: jenkins-notifications@lists.osmocom.org acetcom@gmail.com
Pau Espin Pedrol896bb612023-08-25 19:48:27 +0200145 - ttcn3-dia2gsup-test:
Oliver Smith03cb8332023-09-13 11:57:53 +0200146 timer: H 07 * * *
Pau Espin Pedrol7be78df2023-10-18 12:29:09 +0200147 - ttcn3-epdg-test:
148 timer: H 07 * * *
Pau Espin Pedrol61723f82024-03-07 16:04:25 +0100149 # osmo-epdg requires OTP and kernel >= debian12:
150 node: build4-deb12build-ansible
Pau Espin Pedrola59c9252024-04-02 13:32:43 +0200151 - ttcn3-asterisk-ims-ue-test:
152 timer: H 07 * * *
Oliver Smith44a39612018-10-10 16:31:23 +0200153
Oliver Smithc1f64b42022-08-03 11:05:44 +0200154 # debian latest stable
Oliver Smith4ae4c542019-01-28 14:48:04 +0100155 - nplab-m3ua-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200156 timer: H 07 * * *
Oliver Smith4ae4c542019-01-28 14:48:04 +0100157 - nplab-sua-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200158 timer: H 08 * * *
Oliver Smith4ae4c542019-01-28 14:48:04 +0100159 - ttcn3-ggsn-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200160 timer: H 08 * * *
Oliver Smith4ae4c542019-01-28 14:48:04 +0100161 - ttcn3-msc-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200162 timer: H 08 * * *
Harald Welte38ce8642019-02-20 22:41:31 +0100163 - ttcn3-pcu-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200164 timer: H 08 * * *
Harald Weltecb944d32019-03-14 21:55:26 +0100165 - ttcn3-pcu-test-sns-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200166 timer: H 08 * * *
Pau Espin Pedrolc5ebc062020-10-21 14:23:25 +0200167 - ttcn3-sgsn-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200168 timer: H 08 * * *
Pau Espin Pedrolc5ebc062020-10-21 14:23:25 +0200169 - ttcn3-bsc-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200170 timer: H 08 * * *
Pau Espin Pedrolc5ebc062020-10-21 14:23:25 +0200171 - ttcn3-mgw-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200172 timer: H 08 * * *
Pau Espin Pedrolc5ebc062020-10-21 14:23:25 +0200173 - ttcn3-hlr-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200174 timer: H 08 * * *
Pau Espin Pedrolc5ebc062020-10-21 14:23:25 +0200175 - ttcn3-bts-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200176 timer: H 08 * * *
Pau Espin Pedrolc5ebc062020-10-21 14:23:25 +0200177 - ttcn3-sip-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200178 timer: H 09 * * *
Daniel Willmannaaa472a2019-03-28 13:39:20 +0100179 - ttcn3-bscnat-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200180 timer: H 09 * * *
Oliver Smithe0078992021-03-02 11:23:27 +0100181 disabled: true
Pau Espin Pedrolc5ebc062020-10-21 14:23:25 +0200182 - ttcn3-bsc-test-sccplite-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200183 timer: H 09 * * *
Harald Welted3a5d512019-09-13 13:56:30 +0200184 - ttcn3-remsim-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200185 timer: H 09 * * *
Pau Espin Pedrol95d45442019-10-24 16:51:13 +0200186 - ttcn3-stp-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200187 timer: H 09 * * *
Pau Espin Pedrol0d92cd52022-06-30 11:49:35 +0200188 - ttcn3-sccp-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200189 timer: H 09 * * *
Harald Welte12386e72021-03-02 13:36:13 +0100190 - ttcn3-smlc-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200191 timer: H 09 * * *
Pau Espin Pedrol0d92cd52022-06-30 11:49:35 +0200192 - ttcn3-gbproxy-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200193 timer: H 09 * * *
Pau Espin Pedrol0d92cd52022-06-30 11:49:35 +0200194 - ttcn3-gbproxy-test-fr-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200195 timer: H 09 * * *
Pau Espin Pedrol0d92cd52022-06-30 11:49:35 +0200196 node: hdlc
Harald Welte89bf3592021-02-23 20:24:05 +0100197 - ttcn3-cbc-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200198 timer: H 09 * * *
Harald Welte92948e62021-04-25 13:22:47 +0200199 - ttcn3-pcap-client-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200200 timer: H 10 * * *
Pau Espin Pedrolcccd0cd2021-11-25 16:00:12 +0100201 - ttcn3-hnodeb-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200202 timer: H 10 * * *
Neels Hofmeyr0c5869f2021-12-28 15:47:56 +0100203 - ttcn3-upf-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200204 timer: H 10 * * *
Neels Hofmeyr0c5869f2021-12-28 15:47:56 +0100205 disabled: true
Pau Espin Pedrol702fd8f2022-01-04 19:30:30 +0100206 - ttcn3-hnbgw-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200207 timer: H 10 * * *
Oliver Smithe49412c2020-05-28 17:04:52 +0200208
Oliver Smithc1f64b42022-08-03 11:05:44 +0200209 # Jobs below use uppercase TTCN3-$DISTRO, so they get listed separately from the ttcn3-* (debian) jobs
Oliver Smithe49412c2020-05-28 17:04:52 +0200210
Oliver Smith3e1019d2021-12-10 12:24:15 +0100211 # centos7 nightly
212 - TTCN3-centos7-pcap-client-test:
Oliver Smith03cb8332023-09-13 11:57:53 +0200213 timer: H 10 * * *
Oliver Smith3e1019d2021-12-10 12:24:15 +0100214
215 # centos7 latest
216 - TTCN3-centos7-pcap-client-test-latest:
Oliver Smith03cb8332023-09-13 11:57:53 +0200217 timer: H 10 * * *
Oliver Smith3e1019d2021-12-10 12:24:15 +0100218
Oliver Smithbae98f42024-03-13 11:20:32 +0100219 # With LIBOSMO_IO_BACKEND=IO_URING (OS#6357)
220 - ttcn3-bsc-test-io_uring:
221 timer: H 11 * * *
222 - ttcn3-msc-test-io_uring:
223 timer: H 11 * * *
224 - ttcn3-hnbgw-test-io_uring:
225 timer: H 11 * * *
226 - ttcn3-gbproxy-test-io_uring:
227 timer: H 11 * * *
228 - ttcn3-sgsn-test-io_uring:
229 timer: H 11 * * *
Oliver Smith4d06b212024-03-14 13:21:43 +0100230 - ttcn3-stp-test-io_uring:
231 timer: H 11 * * *
Harald Welte3cf8a0e2024-03-20 10:06:55 +0100232 - ttcn3-mgw-test-io_uring:
233 timer: H 11 * * *
Oliver Smithbae98f42024-03-13 11:20:32 +0100234
Oliver Smith44a39612018-10-10 16:31:23 +0200235- job-template:
236 name: '{job-name}'
237 project-type: freestyle
238 disabled: '{obj:disabled}'
239 defaults: global
Oliver Smith9cda8112021-03-02 11:43:37 +0100240 description: '{obj:description}'
Harald Weltebfccd702020-11-30 21:45:17 +0100241 node: '{obj:node}'
Oliver Smith44a39612018-10-10 16:31:23 +0200242 parameters:
243 - string:
244 name: BRANCH
245 description: |
246 Branch of <code>docker-playground.git</code>.
247 Only modify if you are hacking on the docker-playground scripts.
248 default: '*/master'
Oliver Smith44a39612018-10-10 16:31:23 +0200249 builders:
250 - shell: |-
Harald Welte7685f9c2020-11-02 17:25:27 +0100251 export REGISTRY_HOST="registry.osmocom.org"
Oliver Smith45215172021-02-26 13:02:56 +0100252
253 # Translate job name to docker-playground dir and relevant
254 # environment variables
Oliver Smith44a39612018-10-10 16:31:23 +0200255 case "{job-name}" in
Oliver Smithbce53ba2021-02-26 13:10:49 +0100256 ttcn3-ggsn-test-kernel)
257 DIR="ttcn3-ggsn-test"
258 export IMAGE_SUFFIX="master"
259 # Run against debian's kernel
260 export KERNEL_TEST=1
261 ;;
Oliver Smithb5a1b002024-03-25 12:38:50 +0100262 ttcn3-ggsn-test-kernel-pablo-gtp)
263 DIR="ttcn3-ggsn-test"
264 export IMAGE_SUFFIX="master"
265 export KERNEL_TEST=1
266 export KERNEL_BUILD=1
267 export KERNEL_URL="https://git.kernel.org/pub/scm/linux/kernel/git/pablo/gtp.git"
268 export KERNEL_REMOTE_NAME="pablo-gtp"
269 export KERNEL_BRANCH="main"
270 ;;
Oliver Smithbce53ba2021-02-26 13:10:49 +0100271 ttcn3-ggsn-test-kernel-latest)
272 DIR="ttcn3-ggsn-test"
273 export IMAGE_SUFFIX="latest"
274 export KERNEL_TEST=1
275 ;;
Oliver Smith6f2f1cb2021-03-04 09:25:54 +0100276 ttcn3-ggsn-test-kernel-latest-net-next)
277 DIR="ttcn3-ggsn-test"
278 export IMAGE_SUFFIX="latest"
279 export KERNEL_TEST=1
280 export KERNEL_BUILD=1
281 export KERNEL_URL="https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git"
282 export KERNEL_REMOTE_NAME="net-next"
Oliver Smith29a41d32024-04-03 11:28:04 +0200283 export KERNEL_BRANCH="main"
Oliver Smith6f2f1cb2021-03-04 09:25:54 +0100284 ;;
285 ttcn3-ggsn-test-kernel-latest-torvalds)
286 DIR="ttcn3-ggsn-test"
287 export IMAGE_SUFFIX="latest"
288 export KERNEL_TEST=1
289 export KERNEL_BUILD=1
290 export KERNEL_URL="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
291 export KERNEL_REMOTE_NAME="torvalds"
292 export KERNEL_BRANCH="master"
293 ;;
Oliver Smith3660dd92021-12-13 16:31:39 +0100294 TTCN3-centos7-*-latest)
295 DIR="$(echo "{job-name}" | sed s/^TTCN3-centos7\-/ttcn3-/ | sed s/\-latest$//)"
296 export IMAGE_SUFFIX="latest-centos7"
297 ;;
Oliver Smith3660dd92021-12-13 16:31:39 +0100298 TTCN3-centos7-*)
299 DIR="$(echo "{job-name}" | sed s/^TTCN3-centos7\-/ttcn3-/)"
300 export IMAGE_SUFFIX="master-centos7"
301 ;;
Oliver Smithbae98f42024-03-13 11:20:32 +0100302 *-io_uring)
303 DIR="$(echo "{job-name}" | sed s/\-io_uring$//)"
Oliver Smith0cc68152024-04-23 13:28:59 +0200304 # OS#6405: set memlock to unlimited for older kernels
305 export DOCKER_ARGS="-e LIBOSMO_IO_BACKEND=IO_URING --ulimit memlock=-1"
Oliver Smithbae98f42024-03-13 11:20:32 +0100306 ;;
Oliver Smith44a39612018-10-10 16:31:23 +0200307 *-latest)
Oliver Smith45215172021-02-26 13:02:56 +0100308 DIR="$(echo "{job-name}" | sed s/\-latest$//)"
309 export IMAGE_SUFFIX="latest"
Oliver Smith44a39612018-10-10 16:31:23 +0200310 ;;
311 *)
Oliver Smith45215172021-02-26 13:02:56 +0100312 DIR="{job-name}"
313 export IMAGE_SUFFIX="master"
Oliver Smith44a39612018-10-10 16:31:23 +0200314 ;;
315 esac
Oliver Smith45215172021-02-26 13:02:56 +0100316
317 cd "$DIR"
318 ./jenkins.sh
Oliver Smith44a39612018-10-10 16:31:23 +0200319 scm:
320 - git:
321 branches:
322 - '$BRANCH'
Harald Welte5455b422022-06-18 11:54:15 +0200323 url: https://gerrit.osmocom.org/docker-playground
Oliver Smith44a39612018-10-10 16:31:23 +0200324 git-config-name: 'Jenkins Builder'
325 git-config-email: 'jenkins@osmocom.org'
Oliver Smith0001acd2021-02-26 12:01:03 +0100326 wipe-workspace: "{obj:wipe_workspace}"
Oliver Smith44a39612018-10-10 16:31:23 +0200327 triggers:
328 - timed: "{obj:timer}"
329 publishers:
330 - junit:
331 results: '**/junit-xml-*.log'
332 allow-empty-results: false
333 - email:
Harald Welted2bcdd72022-12-22 08:50:57 +0100334 notify-every-unstable-build: false
Oliver Smith9e6c10c2022-11-17 11:37:10 +0100335 recipients: '{obj:email}'
Oliver Smith44a39612018-10-10 16:31:23 +0200336 send-to-individuals: false
Oliver Smithb348a832018-11-06 11:32:22 +0100337 - archive:
338 allow-empty: false
339 artifacts: logs/**/*
340 case-sensitive: true
341 default-excludes: true
342 fingerprint: false
343 only-if-success: false
Oliver Smith44a39612018-10-10 16:31:23 +0200344 properties:
Oliver Smith298747c2018-12-05 16:50:58 +0100345 - build-discarder:
Harald Weltea052c132023-03-28 13:32:23 +0200346 days-to-keep: 30
347 num-to-keep: 120
Oliver Smith3ee13bd2022-01-17 16:28:22 +0100348 wrappers:
349 - ansicolor:
350 colormap: xterm
Oliver Smith9e6c10c2022-11-17 11:37:10 +0100351 email: jenkins-notifications@lists.osmocom.org
Oliver Smith44a39612018-10-10 16:31:23 +0200352
353# vim: expandtab tabstop=2 shiftwidth=2