diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2019-09-16 16:32:52 +0300 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2019-09-24 23:40:08 +0100 |
commit | 91e325836e79f753cda80f24f75d1d139c2b67c7 (patch) | |
tree | 0ebf996ba0fcc2ab55fe97df7921ccca9cf33afd /96boards-reference-debian-installer-staging.yaml | |
parent | b9c0477c3aaf523df55aeb9d27341551fd3377d7 (diff) |
rename job filaname to match job name
Change-Id: I708220713102c0fedc7b2d33e064b8df67288b6a
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to '96boards-reference-debian-installer-staging.yaml')
-rw-r--r-- | 96boards-reference-debian-installer-staging.yaml | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/96boards-reference-debian-installer-staging.yaml b/96boards-reference-debian-installer-staging.yaml new file mode 100644 index 0000000000..65acc5d233 --- /dev/null +++ b/96boards-reference-debian-installer-staging.yaml @@ -0,0 +1,102 @@ +- job: + name: 96boards-reference-debian-installer-staging + project-type: freestyle + defaults: global + logrotate: + daysToKeep: 30 + numToKeep: 30 + properties: + - authorization: + anonymous: + - job-read + - job-extended-read + - job-workspace + linaro: + - job-read + - job-extended-read + - job-build + - job-cancel + parameters: + - string: + name: PUB_DEST + default: 'reference-platform/components/debian-installer-staging/${BUILD_NUMBER}' + - string: + name: kernel_abi_version + description: 'kernel version to use' + default: '' + disabled: false + node: docker-stretch-arm64-leg + display-name: 'DELETE ME' + wrappers: + - timestamps + - build-name: + name: '#${BUILD_NUMBER}' + builders: + - linaro-publish-token + - shell: | + #!/bin/bash + set -ex + cat <<EOF >local.list + deb http://obs.linaro.org/ERP:/18.06/Debian_9/ ./ + deb http://obs.linaro.org/ERP:/19.03/Debian_9/ ./ + deb http://obs.linaro.org/ERP:/staging/Debian_9/ ./ + EOF + + cat <<EOF > sources.list.udeb + deb [trusted=yes] http://obs.linaro.org/ERP:/19.03/Debian_9/debian-installer ./ + deb [trusted=yes] http://obs.linaro.org/ERP:/staging/Debian_9/debian-installer ./ + deb http://deb.debian.org/debian stretch main/debian-installer + deb http://deb.debian.org/debian stretch-backports main/debian-installer + deb http://deb.debian.org/debian stretch non-free + deb http://deb.debian.org/debian stretch-backports non-free + EOF + + cat <<EOF > localudebs + linaro-erp-staging-udeb + linaro-erp-udeb + EOF + + wget -q https://git.linaro.org/ci/job/configs.git/plain/rpb-debian-installer/staging/default-preseed.cfg -O default-preseed + - shell: + !include-raw: rpb-debian-installer/builders.sh + - shell: | + #!/bin/bash + # Build information + KERNEL_VERSION=`grep -a "Linux version" out/debian-installer/arm64/linux` + cat > out/HEADER.textile << EOF + + h4. Reference Platform - Debian Installer (staging) + + Debian Installer (Stretch) produced with the Reference Platform Kernel package. + + Check "https://github.com/Linaro/documentation/blob/master/Reference-Platform/EECommon/Install-Debian-Stretch.md":https://github.com/Linaro/documentation/blob/master/Reference-Platform/EECommon/Install-Debian-Stretch.md for the install instructions. + + Build Description: + * Build URL: "$BUILD_URL":$BUILD_URL + * Debian Installer version: $DEB_INSTALLER_VERSION + * Kernel: $KERNEL_VERSION + EOF + + # Publish + test -d ${HOME}/bin || mkdir ${HOME}/bin + wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py + time python ${HOME}/bin/linaro-cp.py \ + --server ${PUBLISH_SERVER} \ + --link-latest \ + out ${PUB_DEST} + - trigger-builds: + - project: erp-test-automation-matrix + predefined-parameters: | + BUILD_ENV=staging + BUILD_NUM=${BUILD_NUMBER} + BUILD_DISTRO=debian + publishers: + - groovy-postbuild: + script: + !include-raw: + - rpb-openembedded/postbuild.groovy + - email: + recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' + - email-ext: + recipients: 'qa-team@linaro.org' + always: true |