Skip to content

Commit

Permalink
gce-xfstests: add the ltm-batch and ltm-batch-cmd commands
Browse files Browse the repository at this point in the history
Signed-off-by: Theodore Ts'o <[email protected]>
  • Loading branch information
tytso committed Jun 8, 2024
1 parent d3ea788 commit 883a115
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions run-fstests/gce-xfstests
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,24 @@ case "$1" in
LTM_INFO="yes"
OVERRIDE_KERNEL="none"
;;
ltm-batch)
shift
gsutil cp "$@" gs://$GS_BUCKET/ltm-batch/
run_gcloud compute -q instances add-metadata xfstests-ltm \
--metadata ltm_wait=$(date +%s) \
--zone "$GCE_ZONE" > /dev/null
exit 0
;;
ltm-batch-cmd)
shift
echo "gce-xfstests ltm $*" > /tmp/ltm-batch.$$
gsutil cp /tmp/ltm-batch.$$ gs://$GS_BUCKET/ltm-batch/ltm-batch-cmd
/bin/rm -f /tmp/ltm-batch.$$
run_gcloud compute -q instances add-metadata xfstests-ltm \
--metadata ltm_wait=$(date +%s) \
--zone "$GCE_ZONE" > /dev/null
exit 0
;;
launch-dashboard)
shift
$DIR/util/gce-launch-dashboard $@
Expand Down

0 comments on commit 883a115

Please sign in to comment.