Changeset View
Changeset View
Standalone View
Standalone View
jobs/debian/update-scripts.yaml
- job: | - job-template: | ||||
name: debian/maintenance/update-scripts | name: "debian/{name}" | ||||
description: 'Update debian scripts from the jenkins-jobs repository' | gitlab_project_name: swh/infra/ci-cd/swh-jenkins-jobs | ||||
description: "Update debian scripts from the jenkins-jobs repository" | |||||
project-type: matrix | project-type: matrix | ||||
child-workspace: . | child-workspace: . | ||||
axes: | axes: | ||||
- !include: axis-slave.yaml.inc | - !include: axis-slave.yaml.inc | ||||
scm: | scm: | ||||
- git: | - git: | ||||
url: https://forge.softwareheritage.org/source/swh-jenkins-jobs/ | url: "{gitlab_url}/{gitlab_project_name}.git" | ||||
branches: | branches: | ||||
- master | - master | ||||
wipe-workspace: false | wipe-workspace: false | ||||
triggers: | triggers: | ||||
- timed: "H * * * *" | - timed: "H * * * *" | ||||
properties: | properties: | ||||
- build-discarder: | - build-discarder: | ||||
days-to-keep: 7 | days-to-keep: 7 | ||||
builders: | builders: | ||||
- shell: chmod go+rX -R scripts/debian/ | - shell: chmod go+rX -R scripts/debian/ | ||||
- shell: rsync -az --delete scripts/debian/ /usr/share/jenkins/debian-scripts/ | - shell: rsync -az --delete scripts/debian/ /usr/share/jenkins/debian-scripts/ | ||||
- shell: rsync -az --delete keyrings/ /usr/share/keyrings/extra-repositories/ | - shell: rsync -az --delete keyrings/ /usr/share/keyrings/extra-repositories/ | ||||
- project: | |||||
name: "maintenance/update-scripts" | |||||
jobs: | |||||
- "debian/{name}" |