aboutsummaryrefslogtreecommitdiff
path: root/tcwg-buildapp-christophe.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2017-04-20 01:21:08 +0300
committerChristophe Lyon <christophe.lyon@linaro.org>2017-04-20 08:22:10 +0000
commite3a1953b7c34c9756e6644fbde1793a6bd408878 (patch)
tree2134caf7a2fc9a8dfae4d63c0abc722281967749 /tcwg-buildapp-christophe.yaml
parent8f35022ba65ee3f0e90520d9e9b5453540f7ce8f (diff)
tcwg-buildapp-christophe: use credentials binding instead of password parameters
There's an existing bot account to submit lava job definitions. Avoid to use users credentials as password parameters. Change-Id: Ibb9da9f44a480fe3a66e4a133b4807ea913360fd Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'tcwg-buildapp-christophe.yaml')
-rw-r--r--tcwg-buildapp-christophe.yaml14
1 files changed, 8 insertions, 6 deletions
diff --git a/tcwg-buildapp-christophe.yaml b/tcwg-buildapp-christophe.yaml
index 2ba9ca85a7..67ba2f2f9f 100644
--- a/tcwg-buildapp-christophe.yaml
+++ b/tcwg-buildapp-christophe.yaml
@@ -50,12 +50,6 @@
name: LAVA_SERVER
default: validation.linaro.org
description: 'Lava server to use'
- - password:
- name: LAVA_USER
- default: ${LAVA_USER}
- - password:
- name: LAVA_TOKEN
- default: ${LAVA_TOKEN}
disabled: false
node: tcwg-x86_64-build
child-workspace: $target/$app
@@ -95,6 +89,14 @@
- 'e0958a95-204f-4c14-a66c-5e2be6c5d50a'
- build-name:
name: '#${BUILD_NUMBER}'
+ - credentials-binding:
+ - text:
+ credential-id: LAVA_USER
+ variable: LAVA_USER
+ - credentials-binding:
+ - text:
+ credential-id: LAVA_TOKEN
+ variable: LAVA_TOKEN
builders:
- linaro-publish-token
- shell: |