Skip to content

Commit

Permalink
add connect test
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyuhang0 committed Jul 14, 2023
1 parent eb51810 commit b17a042
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/connect-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ jobs:
# delete all serverless
ticloud cluster list 1372813089447741295 -o json > cluster
total=$(jq '.total' cluster);
for i in $(seq 1 $total); do echo $i; done
for i in {1..$total};
for i in $(seq 1 $total);
do
echo $i
id=`echo $(jq ".items[i-1].id" cluster) | sed 's/"//g'`
ticloud cluster delete -p 1372813089447741295 -c $id --force;
done
Expand Down

0 comments on commit b17a042

Please sign in to comment.