- job: name: tcwg-infra-update-home project-type: freestyle defaults: global description: | This job tracks changes to /home/tcwg-* files in ci/dockerfiles.git repository and updates machines in machine_list with new versions of the files. The files are .gitconfig, .ssh/*, etc. The update is done by fetching files from the repo using git-archive, and untarring them to /home directories of tcwg-infra users. properties: - authorization: anonymous: - job-read - job-extended-read linaro: - job-build - job-cancel - build-discarder: days-to-keep: 30 num-to-keep: 30 parameters: - string: name: machines_list default: 'apm-01.tcwglab apm-02.tcwglab test-armv8-01.tcwglab test-armv8-02.tcwglab tcwg-tx1-01.tcwglab tcwg-tx1-02.tcwglab tcwg-tx1-03.tcwglab tcwg-tx1-04.tcwglab tcwg-tx1-05.tcwglab tcwg-tx1-06.tcwglab tcwg-tx1-07.tcwglab tcwg-tx1-08.tcwglab tcwg-tk1-01.tcwglab tcwg-tk1-02.tcwglab tcwg-tk1-03.tcwglab tcwg-tk1-04.tcwglab tcwg-tk1-05.tcwglab tcwg-tk1-06.tcwglab tcwg-tk1-07.tcwglab tcwg-tk1-08.tcwglab tcwg-tk1-09.tcwglab build-01.tcwglab build-02.tcwglab build-03.tcwglab build-04.tcwglab build-05.tcwglab build-06.tcwglab build-07.tcwglab build-08.tcwglab dev-01.tcwglab dev-02.tcwglab' description: 'Machines to run on, see https://ci.linaro.org/job/tcwg-buildslave-command' disabled: false node: tcwg-coordinator concurrent: false display-name: 'TCWG CCC Update TCWG Infra /home files' triggers: - gerrit: server-name: 'review.linaro.org' trigger-on: - change-merged-event projects: - project-compare-type: 'PLAIN' project-pattern: 'ci/dockerfiles' branches: - branch-pattern: 'master' file-paths: - compare-type: ANT pattern: tcwg-base/tcwg-build/tcwg-buildslave/** - compare-type: ANT pattern: tcwg-base/tcwg-build/tcwg-benchmark/** silent-start: true wrappers: - timeout: timeout: 600 - timestamps - build-name: name: '#${BUILD_NUMBER}' builders: - trigger-builds: - project: 'tcwg-buildslave-command' predefined-parameters: | machines_list=$machines_list command=ssh -o StrictHostKeyChecking=no git@git-us.linaro.org true || true; git archive --remote ssh://git@git-us.linaro.org/ci/dockerfiles.git HEAD | tar x --strip-components=3 -C /home/tcwg-buildslave tcwg-base/tcwg-build/tcwg-buildslave target_user=tcwg-buildslave block: true - project: 'tcwg-buildslave-command' predefined-parameters: | machines_list=$machines_list command=ssh -o StrictHostKeyChecking=no git@git-us.linaro.org true || true; git archive --remote ssh://git@git-us.linaro.org/ci/dockerfiles.git HEAD | tar x --strip-components=3 -C /home/tcwg-benchmark tcwg-base/tcwg-build/tcwg-benchmark target_user=tcwg-benchmark block: true publishers: - email: recipients: tcwg@linaro.org