aboutsummaryrefslogtreecommitdiff
path: root/tcwg-buildapp-christophe.yaml
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2018-02-08 14:37:31 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2018-02-08 14:37:31 +0000
commit1acaaa466b6d4dda09759d57db6a09431be74328 (patch)
tree790487b55f5fa2855aa9cc842a0156aa27c2d179 /tcwg-buildapp-christophe.yaml
parent0b756e31e275871ac649e052ad98638b6b2fa947 (diff)
tcwg-buildapp-christophe: Update to use new lava scheme.
Change-Id: I25d6f17a669877b2f473dd2d0f919e2979e659f2
Diffstat (limited to 'tcwg-buildapp-christophe.yaml')
-rw-r--r--tcwg-buildapp-christophe.yaml17
1 files changed, 15 insertions, 2 deletions
diff --git a/tcwg-buildapp-christophe.yaml b/tcwg-buildapp-christophe.yaml
index 72c248d0ff..b6dbe1d2e7 100644
--- a/tcwg-buildapp-christophe.yaml
+++ b/tcwg-buildapp-christophe.yaml
@@ -50,6 +50,14 @@
name: LAVA_SERVER
default: validation.linaro.org
description: 'Lava server to use'
+ - string:
+ name: ARTIFACTORIAL_URI
+ default: https://archive.validation.linaro.org
+ description: 'Artifactorial server to use'
+ - string:
+ name: ARTIFACTORIAL_DIR
+ default: /team/toolchain
+ description: 'Artifactorial dir to use'
disabled: false
node: tcwg-coordinator
child-workspace: $target/$app
@@ -97,8 +105,11 @@
- text:
credential-id: LAVA_TOKEN
variable: LAVA_TOKEN
+ - credentials-binding:
+ - text:
+ credential-id: TCWG_ARTIFACTORIAL_TOKEN
+ variable: ARTIFACTORIAL_TOKEN
builders:
- - linaro-publish-token
- shell: |
#!/bin/bash
set -ex
@@ -116,7 +127,9 @@
trap "${CONTAINER_CLEANUP}" EXIT
- env | egrep 'LAVA|BUILD_NUMBER|PUBLISH_TOKEN' > .env
+ env | egrep 'LAVA|BUILD_NUMBER|ARTIFACTORIAL' > .env
+ echo 'LAVA_URI=https://${LAVA_USER}:${LAVA_TOKEN}@${LAVA_SERVER}/RPC2' >> .env
+
${CONTAINER} "cd ${WORKSPACE} && ${WORKSPACE}/tcwg-buildapp.sh ${toolchain_url} ${app} ${target} ${boot} ${linux_repo} ${linux_branch}"
publishers: