aboutsummaryrefslogtreecommitdiff
path: root/lkft-hikey-aosp-4.4.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2017-06-22 10:43:16 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2017-06-22 10:43:16 +0300
commit1ca167f78945c616eca6066c8bcc020085e5a200 (patch)
treea1dfaf5e900924a37b12e32399011e91f884d8f1 /lkft-hikey-aosp-4.4.yaml
parent1cca932bd3d5bb65cc36aeb40cad23da9cf58f95 (diff)
downloadconfigs-1ca167f78945c616eca6066c8bcc020085e5a200.tar.gz
lkft-hikey-aosp: use git describe for qa-reports version
Change-Id: Ib841dacb1ac69f09f00bbcebde9caeb562afbb34 Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Diffstat (limited to 'lkft-hikey-aosp-4.4.yaml')
-rw-r--r--lkft-hikey-aosp-4.4.yaml11
1 files changed, 8 insertions, 3 deletions
diff --git a/lkft-hikey-aosp-4.4.yaml b/lkft-hikey-aosp-4.4.yaml
index d0b6ac45d..8d1d61b47 100644
--- a/lkft-hikey-aosp-4.4.yaml
+++ b/lkft-hikey-aosp-4.4.yaml
@@ -74,13 +74,18 @@
out/ android/lkft/${JOB_NAME}/${BUILD_NUMBER}
PUB_DEST=android/lkft/${JOB_NAME}/${BUILD_NUMBER}
-
- shell: |
export DEVICE_TYPE=hi6220-hikey
export LAVA_SERVER=https://lkft.validation.linaro.org/RPC2/
export PUB_DEST=android/lkft/${JOB_NAME}/${BUILD_NUMBER}
export DOWNLOAD_URL=https://snapshots.linaro.org/${PUB_DEST}
+ if [ -z "${KERNEL_DESCRIBE}" ]; then
+ export QA_BUILD_VERSION="${KERNEL_DESCRIBE}"
+ else
+ export QA_BUILD_VERSION=${KERNEL_COMMIT:0:12}
+ fi
+
rm -rf configs
git clone --depth 1 http://git.linaro.org/ci/job/configs.git
@@ -91,7 +96,7 @@
--qa-server ${QA_SERVER} \
--qa-server-team lkft \
--qa-server-project "aosp-${KERNEL_BRANCH}" \
- --git-commit ${KERNEL_COMMIT} \
+ --git-commit ${QA_BUILD_VERSION} \
--template-path configs/lkft/lava-job-definitions \
--template-names template-boot.yaml template-vts-kernel-part1.yaml template-vts-kernel-part2.yaml template-vts-kernel-part3.yaml \
--quiet
@@ -110,7 +115,7 @@
--qa-server ${QA_SERVER} \
--qa-server-team lkft \
--qa-server-project "aosp-${KERNEL_BRANCH}" \
- --git-commit ${KERNEL_COMMIT} \
+ --git-commit ${QA_BUILD_VERSION} \
--template-path configs/lkft/lava-job-definitions \
--template-names template-cts.yaml \
--quiet