- 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: 100 parameters: - label: name: nodes default: tcwg-bmk all-nodes: true matching-label: 'allCases' node-eligibility: 'all' description: 'Machines to run on' disabled: false concurrent: true display-name: 'TCWG CCC Update TCWG Infra /home files' workspace: workspace/tcwg-infra-update-home_$EXECUTOR_NUMBER/$NODE_NAME scm: - git: url: https://review.linaro.org/ci/dockerfiles refspec: refs/heads/master branches: - refs/heads/master skip-tag: true clean: before: true choosing-strategy: gerrit basedir: dockerfiles 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/home-data/tcwg-buildslave/** - compare-type: ANT pattern: tcwg-base/home-data/tcwg-benchmark/** silent-start: true wrappers: - timeout: timeout: 600 - timestamps - ssh-agent-credentials: users: - 'tcwg-benchmark' - build-name: name: '#${BUILD_NUMBER}-${NODE_NAME}' builders: - shell: | #!/bin/bash set -ex rsync -aL dockerfiles/tcwg-base/home-data/$USER/ \ tcwg-${NODE_NAME##tcwg-bmk-}.tcwglab:/home/$USER/ publishers: - email-ext: recipients: tcwg-validation@linaro.org aborted: true