aboutsummaryrefslogtreecommitdiff
path: root/openembedded-lkft-android-common-4.4-o-release.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2017-12-08 13:15:28 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2017-12-09 07:14:57 +0000
commit67c7df8269cbaeff8a62c9ebef48901bbf3a230c (patch)
tree5f6c28ba362fb20db229bb403dc5030fc2b5cc96 /openembedded-lkft-android-common-4.4-o-release.yaml
parente6b654d9f9e7903531e85d91657994389d27061e (diff)
openembedded-lkft: standardize on using PUB_DEST
The publishing destination is now exposed via a job string parameter. It's the best practice to use the environment variable PUB_DEST to store its value. Rename SNAPSHOTS_URL to BASE_URL, which also makes it more consistent with OE RPB jobs. Adjust the relevant jobs, scripts and templates to match the new behavior. Get rid of the switch/case in the common builders script, since it is a per build configuration and not a shared common code. Change-Id: If8aa200aab44c71328927f1d131d40089c18197b Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'openembedded-lkft-android-common-4.4-o-release.yaml')
-rw-r--r--openembedded-lkft-android-common-4.4-o-release.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/openembedded-lkft-android-common-4.4-o-release.yaml b/openembedded-lkft-android-common-4.4-o-release.yaml
index 9a7f67dd58..038a88da9c 100644
--- a/openembedded-lkft-android-common-4.4-o-release.yaml
+++ b/openembedded-lkft-android-common-4.4-o-release.yaml
@@ -41,6 +41,9 @@
name: MANIFEST_BRANCH
default: 'morty'
- string:
+ name: PUB_DEST
+ default: 'openembedded/lkft/${MANIFEST_BRANCH}/${MACHINE}/${DISTRO}/${KERNEL_BRANCH}/${BUILD_NUMBER}'
+ - string:
name: LAVA_SERVER
default: 'https://lkft.validation.linaro.org/RPC2/'
- string:
@@ -114,7 +117,7 @@
time python ${HOME}/bin/linaro-cp.py \
--server ${PUBLISH_SERVER} \
--link-latest \
- ${DEPLOY_DIR_IMAGE}/ ${BASE_URL}
+ ${DEPLOY_DIR_IMAGE}/ ${PUB_DEST}
- shell:
!include-raw: openembedded-lkft/submit_for_testing.sh
publishers: