jjb/common: lavacli: no username in URL 25/20725/1
authorKevin Hilman <khilman@baylibre.com>
Fri, 15 Mar 2019 22:49:07 +0000 (15:49 -0700)
committerKevin Hilman <khilman@baylibre.com>
Fri, 15 Mar 2019 22:52:37 +0000 (15:52 -0700)
Don't use a URL with a username in it for the lavacli config file.
The lavacli config file already has a `username` field, and having it
also in the URL makes lavacli fail.

Change-Id: I88e8ce06519b0b09476d5a4bc693b95b40f20e59
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
jjb/common/include-agl-lava-labs-prepare.sh

index ac46bf5..159d080 100644 (file)
@@ -71,7 +71,7 @@ for lab in "${!labs[@]}"; do
 
     # lavacli auth using token
     mkdir -p ~/.config
-    lavacli identities add --token ${token} --uri $full_url --username $user $lab
+    lavacli identities add --token ${token} --uri $url --username $user $lab
 
     # lavacli: Find the LAVA lab that has the device available to run the job
     echo -n "lavacli: Checking for $lava_device at $full_url... "