diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2016-12-15 23:15:02 +0100 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2016-12-15 23:15:02 +0100 |
commit | 1b3ee4f2aa27241c052de73f783ade2def754c88 (patch) | |
tree | e73af7f825b24e6d50e9e5f1ab00cf3c1c1ba389 /tcwg-make-and-test-release.yaml | |
parent | b96d100374264040a477dd878c22a6fc7fddf0d8 (diff) |
tcwg-make-and-test-release, tcwg-make-release-christophe: New jobs.
Change-Id: I8b6bbf0be1042ba40e36e7c396e2056fca18f653
Diffstat (limited to 'tcwg-make-and-test-release.yaml')
-rw-r--r-- | tcwg-make-and-test-release.yaml | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/tcwg-make-and-test-release.yaml b/tcwg-make-and-test-release.yaml new file mode 100644 index 0000000000..82fbcfbcca --- /dev/null +++ b/tcwg-make-and-test-release.yaml @@ -0,0 +1,122 @@ +- job: + name: tcwg-make-and-test-release + project-type: multijob + defaults: global + 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: gcc_src + default: 'gcc-linaro-5.3-2016.02.tar.xz' + description: 'The source of GCC. Specify as it would be passed to abe.sh, either a source tarballs, git branch and revision, or a URL of a tarball e.g., "gcc-linaro-5.3-2016.02.tar.xz"' + - string: + name: binutils_src + default: '' + description: 'A optional revision of binutils to use for this release, e.g., "binutils-gdb.git~linaro_binutils-2_25-branch"' + - string: + name: glibc_src + default: '' + description: 'An optional revision of Glibc to use for this release, e.g., "glibc.git~linaro/2.21/master"' + - string: + name: date + default: '' + description: 'An optional release string to use, e.g., "2016.05", "2016.05-rc3", "2016.05-1", "2016.05-1-rc2". The default is to extract the release string from the gcc_src field' + - string: + name: manifest_src + default: '' + description: 'Import a manifest file to reproduce a release' + - string: + name: toolchain_config + default: 'default' + description: 'Toolchain version config, e.g., "default", "gcc5", or "gcc6"' + - string: + name: abe_branch + default: refs/heads/master + description: 'ABE revision to test' + - string: + name: scripts_branch + default: master + description: 'Scripts revision to use' + - choice: + name: debug + choices: + - none + - abe + - yaml + description: "Level of debug information: none - No debugging information, abe - ABE debugging information, yaml - tcwg-make-release.yaml debug information (and exit)." + - string: + name: fileserver + default: ex40-01.tcwglab.linaro.org + description: 'Remote file server for logs and binaries' + - bool: + name: testrelease + default: 'true' + description: 'Run test-release if make-release is successful' + disabled: false + node: tcwg-x86_64-dev-01 + retry-count: 3 + concurrent: true + display-name: 'TCWG Make and Test Release' + wrappers: + - timeout: + timeout: 600 + - timestamps + - ssh-agent-credentials: + # tcwg-buildslave user id + users: + - 'e0958a95-204f-4c14-a66c-5e2be6c5d50a' + builders: + - shell: | + #!/bin/bash + + buildid=`printf '%04d' ${BUILD_NUMBER}` + + cat << EOF > make_release_parameters + binariespath=/work/space/binaries/${tcwg_version}-${tcwg_release}-${buildid} + logspath=/work/space/logs/${gcc_release}-${series_date}-${buildid} + EOF + + echo "NOTE: Make-release job parameters:" + cat make_release_parameters + + # Keep target_list here in sync with the + # restrict-matrix-project parameter for tcwg-make-release + # below + cat << EOF > test_release_parameters + tarball_url=http://${fileserver}/binaries/${tcwg_version}-${tcwg_release}-${buildid} + release=${date} + target_list=arm-linux-gnueabihf + EOF + + echo "NOTE: Test-release job parameters:" + cat test_release_parameters + - multijob: + name: 'Check Make Release' + condition: COMPLETED + projects: + - name: tcwg-make-release-christophe + current-parameters: true + property-file: make_release_parameters + restrict-matrix-project: 'target=="arm-linux-gnueabihf"' + - multijob: + name: 'Check Test Release' + condition: COMPLETED + projects: + - name: tcwg-test-release-matrix + property-file: test_release_parameters + publishers: + - email-ext: + recipients: 'christophe.lyon@linaro.org' + always: true + send-to: + requester + recipients |