diff options
author | 2017-01-09 12:41:42 +0100 | |
---|---|---|
committer | 2017-01-09 12:41:42 +0100 | |
commit | 55d498c3ac62856b59599ae1f086f67e49981e95 (patch) | |
tree | 5d3d0e23f390e6c288b3d725a8944a0667479ccd /jjb/common | |
parent | 99e86cec527fe9b6eef8f2c72622a6a790b6e7b3 (diff) |
test lava-tool auth injection
Change-Id: I23146b574e5f5494a41f08fe9dcd87714ef7e306
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common')
-rw-r--r-- | jjb/common/include-agl-run-test-snapshot.sh | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/jjb/common/include-agl-run-test-snapshot.sh b/jjb/common/include-agl-run-test-snapshot.sh new file mode 100644 index 00000000..c516a8b1 --- /dev/null +++ b/jjb/common/include-agl-run-test-snapshot.sh @@ -0,0 +1,31 @@ +# (c) 2016 Jan-Simon Moeller dl9pf(at)gmx.de +# License GPLv2 + +################################################################################ +## Run SHORT CI test +################################################################################ + +# test currently only for porter, rest WIP +echo "## ${MACHINE} ##" + + +echo "default keyring config" + +mkdir -p ~/.local/share/python_keyring/ + +cat <<EOF > ~/.local/share/python_keyring/keyringrc.cfg +[backend] +default-keyring=keyring.backends.file.PlaintextKeyring +EOF + +cat <<EOF > ~/.local/token +$AGLLAVATOKEN +EOF + +lava-tool auth-add --token-file ~/.local/token https://agl-jenkins-user@porter.automotivelinux.org + +cat ~/.local/token + +#rm ~/.local/token + +# setup
\ No newline at end of file |