osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/27066 )
Change subject: jobs/gerrit-verifications-dahdi.yml: new file ...................................................................... jobs/gerrit-verifications-dahdi.yml: new file Add gerrit verifications for the out-of-tree dahdi-linux kernel module. Put this in a separate file (not gerrit-verifications.yml), because: * not only gerrit git repo gets cloned, but also linux.git, and caching needs to be done properly for it * so we can have one separate job per linux version that gets tested Test v4.19 and v5.10 for now, as suggested in the issue. Related: OS#5407 Depends: docker-playground Id72d19ad08681cd7cb3194de2226292f19e96df5 Change-Id: I65c7663a6b8045796536a727e4adf5554f16b2a9 --- A jobs/gerrit-verifications-dahdi.yml 1 file changed, 98 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved diff --git a/jobs/gerrit-verifications-dahdi.yml b/jobs/gerrit-verifications-dahdi.yml new file mode 100644 index 0000000..30c223e --- /dev/null +++ b/jobs/gerrit-verifications-dahdi.yml @@ -0,0 +1,98 @@ +- project: + name: gerrit-dahdi-linux + node: osmocom-gerrit-debian9 + linux-ver: + - "v4.19" + - "v5.10" + jobs: + - 'gerrit-dahdi-linux-{linux-ver}' + +- job-template: + name: 'gerrit-dahdi-linux-{linux-ver}' + project-type: freestyle + node: osmocom-gerrit-debian9 + concurrent: true + retry-count: 0 # scm checkout + properties: + - build-discarder: + days-to-keep: 30 + num-to-keep: 120 + artifact-days-to-keep: -1 + artifact-num-to-keep: -1 + description: | + Pending gerrit code reviews of + <a href="https://gerrit.osmocom.org/#/q/status:open+project:dahdi-linux">dahdi-linux</a> + built against linux {linux-ver} + (<a href="https://osmocom.org/issues/5407">OS#5407</a>) + <br/><br/> + <b>Auto-generated using Jenkins Job Builder. DO NOT EDIT MANUALLY!</b> + + scm: + - git: + basedir: 'dahdi-linux' + url: 'https://gerrit.osmocom.org/dahdi-linux' + credentials-id: d5eda5e9-b59d-44ba-88d2-43473cb6e42d + branches: + - $GERRIT_BRANCH + refspec: $GERRIT_REFSPEC + choosing-strategy: gerrit + # When the gerrit git repository is configured to wipe-workspace, the + # linux.git clone gets removed as well. Cloning the linux repo takes a + # long time, so only clean both repos, don't remove them. + wipe-workspace: false + clean: + before: true + skip-tag: true + submodule: + recursive: true + - git: + basedir: 'linux' + url: 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git' + branches: + - '{linux-ver}' + refspec: '{linux-ver}' + shallow-clone: true + wipe-workspace: false + clean: + before: true + + triggers: + - gerrit: + trigger-on: + - patchset-created-event: + exclude-drafts: true + exclude-no-code-change: true + projects: + - project-compare-type: 'PLAIN' + project-pattern: 'dahdi-linux' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**' + skip-vote: + successful: false + failed: false + unstable: false + notbuilt: false + silent: false + escape-quotes: false + no-name-and-email: false + trigger-for-unreviewed-patches: true + server-name: gerrit.osmocom.org + + builders: + - shell: | + docker run \ + --rm=true \ + -e "KSRC=/linux" \ + -v "$PWD/dahdi-linux:/build" \ + -v "$PWD/linux:/linux" \ + "$USER/debian-stretch-jenkins" \ + timeout 10m su build -c /build/contrib/jenkins.sh + + publishers: + - warnings: + console-log-parsers: + - 'GNU C Compiler 4 (gcc)' + resolve-relative-paths: true + +# vim: expandtab tabstop=2 shiftwidth=2 -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/27066 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: I65c7663a6b8045796536a727e4adf5554f16b2a9 Gerrit-Change-Number: 27066 Gerrit-PatchSet: 2 Gerrit-Owner: osmith <osm...@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <lafo...@osmocom.org> Gerrit-Reviewer: osmith <osm...@sysmocom.de> Gerrit-Reviewer: pespin <pes...@sysmocom.de> Gerrit-MessageType: merged