Skip to contentSkip to conversation

test-appliance: remove gce-run

PATCH Applied Eric Biggers 2 participants 2 messages Apr 17, 2017 – Apr 21, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test-appliance: remove gce-run

From: Eric Biggers <[email protected]>

The 'gce-run' command is obsolete now that we have 'gce-xfstests shell'. It also didn't respect the settings in ~/.config/gce-xfstests.

---
 kvm-xfstests/test-appliance/gce-run | 26 --------------------------
 1 file changed, 26 deletions(-)
 delete mode 100755 kvm-xfstests/test-appliance/gce-run
kvm-xfstests/test-appliance/gce-run deleted +0 -26
deleted file mode 100755
index d8c895d..0000000
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-if test -r config.custom ; then
-   . $(pwd)/config.custom
-fi
-
-if test -z "$GCE_PROJECT" -o -z "$GCE_ZONE"
-then
-	echo "You must configure GCE_PROJECT and GCE_ZONE in"
-	echo "the config.custom file"
-	exit 1
-fi
-
-GS_RW=https://www.googleapis.com/auth/devstorage.read_write
-GS_RO=https://www.googleapis.com/auth/devstorage.read_only
-LOG_WR=https://www.googleapis.com/auth/logging.write
-COMPUTE_RW=https://www.googleapis.com/auth/compute
-
-SCOPES="$GS_RW,$COMPUTE_RW,$LOG_WR"
-
-gcloud compute --project "$GCE_PROJECT" \
-       instances create "xfstests" --zone "$GCE_ZONE" \
-       --machine-type "n1-highcpu-4" --network "default" \
-       --maintenance-policy "MIGRATE" \
-       --scopes "$SCOPES" \
-       --image "xfstests"
Signature · 1 line
2.12.2.762.g0e3151a226-goog