diff --git a/jobs/debian/axis-slave.yml.inc b/jobs/debian/axis-slave.yml.inc new file mode 100644 --- /dev/null +++ b/jobs/debian/axis-slave.yml.inc @@ -0,0 +1,5 @@ +axis: + type: slave + name: slave + values: + - jenkins-debian01.internal.softwareheritage.org diff --git a/jobs/debian/update-scripts.yml b/jobs/debian/update-scripts.yml new file mode 100644 --- /dev/null +++ b/jobs/debian/update-scripts.yml @@ -0,0 +1,18 @@ +- job: + name: debian/maintenance/update-scripts + description: 'Update debian scripts from the jenkins-jobs repository' + project-type: matrix + child-workspace: . + axes: + - !include: axis-slave.yml.inc + scm: + - git: + url: https://forge.softwareheritage.org/source/swh-jenkins-jobs/ + branches: + - master + wipe-workspace: false + triggers: + - timed: "H * * * *" + builders: + - shell: chmod go+rX -R scripts/debian/ + - shell: rsync -az --delete scripts/debian/ /usr/share/jenkins/debian-scripts/ diff --git a/scripts/debian/README.md b/scripts/debian/README.md new file mode 100644 --- /dev/null +++ b/scripts/debian/README.md @@ -0,0 +1,7 @@ +Debian package building scripts. + +These scripts live in [swh-jenkins-jobs][] in the scripts/debian subdirectory +and are updated by a [jenkins job][]. + +[swh-jenkins-jobs]: https://forge.softwareheritage.org/source/swh-jenkins-jobs/ +[jenkins job]: https://jenkins.softwareheritage.org/debian/maintenance/update-scripts