aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval@linaro.org>2022-01-25 17:06:39 -0600
committerLeonardo Sandoval <leonardo.sandoval@linaro.org>2022-01-25 17:13:42 -0600
commitb12bec695800660e47cd9dba21c8d93fb1df7a61 (patch)
treea88da03640f87595132ae68cb6db19ec706e0e7c
parentdb7b98cd0f5b46b11416a11a7cd431fbb9b125c6 (diff)
lt-qcom: introduce lt-qcom-clo-bootloader-rb5 job
Also it includes another variable, QCOM_PTOOL_GIT, representing the corresponding git repository for the ptool tool. Patch also includes a temporal variable, CLO_MIGRATION, which condition CLO code. Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org> Change-Id: I32819a6eb495a8e473880a7f014da1bc174be02c
-rw-r--r--lt-qcom-bootloader-rb5.yaml3
-rw-r--r--lt-qcom-bootloader/rb5/builders.sh12
-rw-r--r--lt-qcom-clo-bootloader-rb5.yaml99
3 files changed, 109 insertions, 5 deletions
diff --git a/lt-qcom-bootloader-rb5.yaml b/lt-qcom-bootloader-rb5.yaml
index 69ace34ac0..5a5f1803cc 100644
--- a/lt-qcom-bootloader-rb5.yaml
+++ b/lt-qcom-bootloader-rb5.yaml
@@ -44,6 +44,9 @@
name: ABL_CLANG_REL
default: 'LA.UM.7.9.r1-07300-sm6150.0'
- string:
+ name: QCOM_PTOOL_GIT
+ default: 'https://git.linaro.org/landing-teams/working/qualcomm/partioning_tool.git'
+ - string:
name: PUB_DEST
default: '96boards/qrb5165-rb5/linaro/rescue/${BUILD_NUMBER}'
disabled: false
diff --git a/lt-qcom-bootloader/rb5/builders.sh b/lt-qcom-bootloader/rb5/builders.sh
index f95425f24d..1caa49085d 100644
--- a/lt-qcom-bootloader/rb5/builders.sh
+++ b/lt-qcom-bootloader/rb5/builders.sh
@@ -58,7 +58,7 @@ md5sum -c MD5
# Create ptable and rawprogram/patch command files
if [ ! -d "ptool" ]; then
- git clone --depth 1 https://git.linaro.org/landing-teams/working/qualcomm/partioning_tool.git ptool
+ git clone --depth 1 ${QCOM_PTOOL_GIT}
fi
(cd ptool && git log -1)
rm -rf linux aosp
@@ -161,8 +161,10 @@ EOF
if [ "${LINARO_PUBLISH}" ]; then
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 python3 ${HOME}/bin/linaro-cp.py \
- --server ${PUBLISH_SERVER} \
- --link-latest \
- ${WORKSPACE}/out2 ${PUB_DEST}
+ if [[ -z ${CLO_MIGRATION} ]]; then
+ time python3 ${HOME}/bin/linaro-cp.py \
+ --server ${PUBLISH_SERVER} \
+ --link-latest \
+ ${WORKSPACE}/out2 ${PUB_DEST}
+ fi
fi
diff --git a/lt-qcom-clo-bootloader-rb5.yaml b/lt-qcom-clo-bootloader-rb5.yaml
new file mode 100644
index 0000000000..ba78061679
--- /dev/null
+++ b/lt-qcom-clo-bootloader-rb5.yaml
@@ -0,0 +1,99 @@
+- job:
+ name: lt-qcom-clo-bootloader-rb5
+ project-type: freestyle
+ defaults: global
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ - job-workspace
+ linaro-landing-team-qualcomm-personnel:
+ - job-build
+ - job-cancel
+ - build-discarder:
+ days-to-keep: 30
+ num-to-keep: 30
+ artifact-num-to-keep: 1
+ parameters:
+ - string:
+ name: TOOLCHAIN_ARCH
+ default: 'arm64'
+ - string:
+ name: BRANCH
+ default: 'master'
+ - string:
+ name: QCOM_LINUX_FIRMWARE
+ default: 'http://releases.linaro.org/96boards/rb5/qualcomm/firmware/RB5_firmware_20210331-v4.1.zip'
+ - string:
+ name: QCOM_LINUX_FIRMWARE_MD5
+ default: '498aeeeb2603ddcf619c7e613c763791'
+ - string:
+ name: QCOM_LINUX_FIRMWARE_LICENSE_MD5
+ default: 'cbbe399f2c983ad51768f4561587f000'
+ - string:
+ name: ABL_GIT_LINARO
+ default: 'https://staging-git.codelinaro.org/linaro/landing-teams/qualcomm/abl.git'
+ - string:
+ name: ABL_GIT_REL
+ default: 'release/LU.UM.1.2.1.r1-23200-QRB5165.0'
+ - string:
+ name: ABL_CLANG_GIT
+ default: 'https://source.codeaurora.org/quic/la/platform/prebuilts/clang/host/linux-x86'
+ - string:
+ name: ABL_CLANG_REL
+ default: 'LA.UM.7.9.r1-07300-sm6150.0'
+ - string:
+ name: QCOM_PTOOL_GIT
+ default: 'https://staging-git.codelinaro.org/linaro/landing-teams/qualcomm/partioning_tool.git'
+ - string:
+ name: PUB_DEST
+ default: '96boards/qrb5165-rb5/linaro/rescue/${BUILD_NUMBER}'
+ - string:
+ name: CLO_MIGRATION
+ default: 'true'
+ disabled: false
+ node: docker-buster-amd64
+ display-name: 'Qualcomm bootloader for Qualcomm RB5'
+ scm:
+ - git:
+ url: https://staging-git.codelinaro.org/linaro/landing-teams/qualcomm/db-boot-tools.git
+ refspec: +refs/heads/${BRANCH}:refs/remotes/origin/${BRANCH}
+ name: origin
+ branches:
+ - refs/heads/${BRANCH}
+ skip-tag: true
+ shallow-clone: true
+ wipe-workspace: false
+ wrappers:
+ - timestamps
+ - credentials-binding:
+ - text:
+ credential-id: LT_QCOM_KEY
+ variable: LT_QCOM_KEY
+ - credentials-binding:
+ - text:
+ credential-id: AUTH_TOKEN
+ variable: AUTH_TOKEN
+ - ssh-agent-credentials:
+ users:
+ - 'LT_QUALCOMM_PRIVATE_KEY_SSH'
+ - build-name:
+ name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
+ builders:
+ - shell:
+ !include-raw: lt-qcom/install-gcc-toolchain.sh
+ - inject:
+ properties-file: gcc_toolchain_env
+ - linaro-publish-token
+ - shell:
+ !include-raw: lt-qcom-bootloader/rb5/builders.sh
+ publishers:
+ - groovy-postbuild:
+ script:
+ !include-raw:
+ - rpb-openembedded/postbuild.groovy
+ - email-ext:
+ recipients: 'leonardo.sandoval@linaro.org'
+ failure: true
+ still-failing: true