diff options
Diffstat (limited to 'jjb/common/include-agl-lava-labs-prepare.sh')
-rw-r--r-- | jjb/common/include-agl-lava-labs-prepare.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/jjb/common/include-agl-lava-labs-prepare.sh b/jjb/common/include-agl-lava-labs-prepare.sh index 19801e13..ea19d28a 100644 --- a/jjb/common/include-agl-lava-labs-prepare.sh +++ b/jjb/common/include-agl-lava-labs-prepare.sh @@ -60,15 +60,6 @@ for lab in "${!labs[@]}"; do full_url+="RPC2/" # entry point for XML-RPC API echo "LAVA auth-add for lab: $lab, URL: $full_url" - # LAVA auth using token - echo ${token} > $token_file - lava-tool auth-add --token $token_file $full_url - if [ $? != 0 ]; then - echo "ERROR: Lab ${lab}: lava-tool auth-add failed." - continue - fi - rm -f $token_file - # lavacli auth using token mkdir -p ~/.config lavacli identities add --token ${token} --uri ${url}/RPC2 --username $user $lab @@ -96,16 +87,6 @@ for lab in "${!labs[@]}"; do echo "lavacli: did not find any device available: $lavacli_line" fi - # Find the LAVA Lab that has the device available to run the job - echo -n "Checking for $lava_device at $full_url... " - line=$(lava-tool devices-list $full_url | grep $lava_device) - line=$(echo "$line" | tr -d '[:space:]') - - if [ -z "$line" ]; then - echo "not found." - continue - fi - if [ x"$device_status" = x"Reserved,Good" ]; then retries=10 else |