aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-run-test-snapshot.sh
blob: c516a8b17ebb78145ee5be8610e6ee4cc237ff7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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