public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] test-appliance: remove gce-run
@ 2017-04-17 19:59 Eric Biggers
  2017-04-21  5:51 ` Theodore Ts'o
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Biggers @ 2017-04-17 19:59 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: fstests, Eric Biggers

From: Eric Biggers <ebiggers@google.com>

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

Signed-off-by: Eric Biggers <ebiggers@google.com>
---
 kvm-xfstests/test-appliance/gce-run | 26 --------------------------
 1 file changed, 26 deletions(-)
 delete mode 100755 kvm-xfstests/test-appliance/gce-run

diff --git a/kvm-xfstests/test-appliance/gce-run b/kvm-xfstests/test-appliance/gce-run
deleted file mode 100755
index d8c895d..0000000
--- a/kvm-xfstests/test-appliance/gce-run
+++ /dev/null
@@ -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"
-- 
2.12.2.762.g0e3151a226-goog


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] test-appliance: remove gce-run
  2017-04-17 19:59 [PATCH] test-appliance: remove gce-run Eric Biggers
@ 2017-04-21  5:51 ` Theodore Ts'o
  0 siblings, 0 replies; 2+ messages in thread
From: Theodore Ts'o @ 2017-04-21  5:51 UTC (permalink / raw)
  To: Eric Biggers; +Cc: fstests, Eric Biggers

On Mon, Apr 17, 2017 at 12:59:11PM -0700, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@google.com>
> 
> The 'gce-run' command is obsolete now that we have 'gce-xfstests shell'.
> It also didn't respect the settings in ~/.config/gce-xfstests.
> 
> Signed-off-by: Eric Biggers <ebiggers@google.com>

Thanks, applied.

				- Ted

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-21  5:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-17 19:59 [PATCH] test-appliance: remove gce-run Eric Biggers
2017-04-21  5:51 ` Theodore Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox