forked from yankay/local-storage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from niulechuan/cov-badge
Cov badge
- Loading branch information
Showing
4 changed files
with
6 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,6 @@ | |
# simple scripts mng machine | ||
# link hosts | ||
export GOVC_INSECURE=1 | ||
export GOVC_USERNAME="[email protected]" | ||
export GOVC_PASSWORD="rcZa9FY6EiwnYk8!" | ||
export GOVC_URL="https://192.168.1.136:443" | ||
export GOVC_DATACENTER="DaoCloud-NDX-Fusion" | ||
export GOVC_RESOURCE_POOL="e2e" | ||
export hosts="fupan-e2e-k8s-master fupan-e2e-k8s-node1 fupan-e2e-k8s-node2" | ||
export snapshot="e2etest" | ||
|
@@ -17,7 +13,6 @@ export snapshot="e2etest" | |
# govc find . -type m -runtime.powerState poweredOn | ||
# govc find . -type m -runtime.powerState poweredOn | xargs govc vm.info | ||
# govc vm.info $hosts | ||
|
||
set -e | ||
for h in $hosts; do | ||
if [[ `govc vm.info $h | grep poweredOn | wc -l` -eq 1 ]]; then | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters