aboutsummaryrefslogtreecommitdiff
path: root/openembedded-lkft-lsk-4.4.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-lsk-4.4.yaml
parente6b654d9f9e7903531e85d91657994389d27061e (diff)
downloadconfigs-67c7df8269cbaeff8a62c9ebef48901bbf3a230c.tar.gz
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-lsk-4.4.yaml')
-rw-r--r--openembedded-lkft-lsk-4.4.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/openembedded-lkft-lsk-4.4.yaml b/openembedded-lkft-lsk-4.4.yaml
index 04200655f..c1b5d3325 100644
--- a/openembedded-lkft-lsk-4.4.yaml
+++ b/openembedded-lkft-lsk-4.4.yaml
@@ -43,6 +43,9 @@
name: MANIFEST_BRANCH
default: 'morty'
- string:
+ name: PUB_DEST
+ default: 'openembedded/lkft/${MANIFEST_BRANCH}/${MACHINE}/${DISTRO}/lsk-${KERNEL_VERSION}/${BUILD_NUMBER}'
+ - string:
name: LAVA_SERVER
default: 'https://lkft.validation.linaro.org/RPC2/'
- string:
@@ -116,7 +119,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: