diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2017-12-08 13:15:28 +0200 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2017-12-09 07:14:57 +0000 |
commit | 67c7df8269cbaeff8a62c9ebef48901bbf3a230c (patch) | |
tree | 5f6c28ba362fb20db229bb403dc5030fc2b5cc96 /openembedded-lkft-lsk-4.4-test.yaml | |
parent | e6b654d9f9e7903531e85d91657994389d27061e (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-lsk-4.4-test.yaml')
-rw-r--r-- | openembedded-lkft-lsk-4.4-test.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openembedded-lkft-lsk-4.4-test.yaml b/openembedded-lkft-lsk-4.4-test.yaml index e545f838..29b6bf2a 100644 --- a/openembedded-lkft-lsk-4.4-test.yaml +++ b/openembedded-lkft-lsk-4.4-test.yaml @@ -43,6 +43,9 @@ name: MANIFEST_BRANCH default: 'morty' - string: + name: PUB_DEST + default: 'openembedded/lkft/${MANIFEST_BRANCH}/${MACHINE}/${DISTRO}/lsk-${KERNEL_VERSION}-test/${BUILD_NUMBER}' + - string: name: LAVA_SERVER default: 'https://lkft.validation.linaro.org/RPC2/' - string: @@ -129,7 +132,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: |