# Auto generated by ./tcwg/generate-yamlfiles.sh from tcwg-update.yaml.in and tcwg-update/tcwg-update-jenkins-containers.def. Do not edit. #BEGIN: tcwg/default.yaml.inc # -*- mode: Yaml -*- - property: name: default-properties properties: - authorization: anonymous: - job-read - job-extended-read linaro: - job-build - job-cancel - build-discarder: days-to-keep: 30 num-to-keep: 30 - scm: name: jenkins-scripts scm: - git: url: https://git.linaro.org/toolchain/jenkins-scripts.git refspec: +refs/heads/*:refs/remotes/origin/* +refs/changes/*:refs/changes/* branches: - $scripts_branch basedir: jenkins-scripts skip-tag: true reference-repo: /home/tcwg-buildslave/snapshots-ref/jenkins-scripts.git wipe-workspace: false clean: before: true prune: true #END: tcwg/default.yaml.inc - job: name: tcwg-update-jenkins-containers project-type: freestyle defaults: global properties: - authorization: anonymous: - job-read - job-extended-read linaro: - job-build - job-cancel - build-discarder: days-to-keep: 30 num-to-keep: 100 - throttle: max-per-node: 1 option: project parameters: - label: name: nodes # We can't restart coordinator nodes because we can't block-out # matrix master jobs. Similarly, we can't restart nodes with # multiple executors because we risk killing builds on other # executors. default: tcwg && !tcwg-coordinator && !tcwg-bmk && !tcwg-short && !tcwg-x86_64-build && !tcwg-x86_64-build-09 && !tcwg-x86_64-build-10 all-nodes: true matching-label: 'allCases' node-eligibility: 'ignore-offline' description: 'Machines to run on' - string: name: distro default: 'bionic' description: 'Distro version to use.' - bool: name: force default: 'false' description: 'Whether to force update even with no changes in image' - bool: name: verbose default: 'true' description: 'Whether to be verbose' - string: name: scripts_branch default: master description: 'Scripts revision to use' disabled: false node: tcwg-coordinator concurrent: true display-name: 'TCWG CCC Update jenkins containers' # We need to unshare workspace with $NODE_NAME in the path to # correctly run on tcwg-bmk-* nodes. workspace: workspace/tcwg-update-jenkins-containers_$EXECUTOR_NUMBER/$NODE_NAME scm: - jenkins-scripts triggers: - timed: '@daily' wrappers: - timeout: timeout: 600 - timestamps - build-name: name: '#${BUILD_NUMBER}-${NODE_NAME}' builders: - shell: command: | #!/bin/bash set -ex ./jenkins-scripts/tcwg-update-host-containers.sh \ --distro "$distro" \ --node "$NODE_NAME" \ --force "$force" \ --verbose "$verbose" || exit 125 unstable-return: 125 # checksum: 5361d1951bb9e0964cca304ad024243c