ci/bare-metal: Drop the BM_POE_USERNAME/PASSWORD env var checks.
authorEmma Anholt <emma@anholt.net>
Sat, 22 Jan 2022 00:46:48 +0000 (16:46 -0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 9 Mar 2022 19:47:04 +0000 (19:47 +0000)
They're unused since the transition to SNMP in the rpi test farm.

Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15201>

.gitlab-ci/bare-metal/poe-powered.sh

index 3dd7330..8b79e13 100755 (executable)
@@ -20,18 +20,6 @@ if [ -z "$BM_POE_ADDRESS" ]; then
   exit 1
 fi
 
-if [ -z "$BM_POE_USERNAME" ]; then
-  echo "Must set BM_POE_USERNAME in your gitlab-runner config.toml [[runners]] environment"
-  echo "This is the PoE switch username."
-  exit 1
-fi
-
-if [ -z "$BM_POE_PASSWORD" ]; then
-  echo "Must set BM_POE_PASSWORD in your gitlab-runner config.toml [[runners]] environment"
-  echo "This is the PoE switch password."
-  exit 1
-fi
-
 if [ -z "$BM_POE_INTERFACE" ]; then
   echo "Must set BM_POE_INTERFACE in your gitlab-runner config.toml [[runners]] environment"
   echo "This is the PoE switch interface where the device is connected."