Skip to content

Commit 54791e0

Browse files
committed
check that instance is active in CI
Signed-off-by: Nobuhiro MIKI <nob@bobuhiro11.net>
1 parent 941f3cf commit 54791e0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/action.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,8 @@ jobs:
3131
'source devstack/openrc admin admin >/dev/null 2>&1; openstack network show private -f json 2>/dev/null | jq -r .id' | tr -d "\r\n")
3232
docker-compose exec -T --user stack controller /bin/bash -c \
3333
"source devstack/openrc admin admin; exec nova boot --image cirros-0.5.2-x86_64-disk --flavor m1.medium --nic net-id=$net_id testvm"
34+
sleep 10
3435
docker-compose exec -T --user stack controller /bin/bash -c \
3536
"source devstack/openrc admin admin; exec nova list"
37+
docker-compose exec -T --user stack controller /bin/bash -c \
38+
"source devstack/openrc admin admin; exec nova list" | grep ACTIVE

0 commit comments

Comments
 (0)