nodepool/tools/check_devstack_plugin.sh
Clark Boylan 92a8ec431f Move nodepool test checks into nodepool
It doesn't scale to have to change project-config every time we need to
tweak the post devstack run check of nodepool. Instead put a script in
nodepool that can be run by the job to check up on the service once it
is deployed.

Change-Id: Ie50c07b0581162c6fa297c0e1a5e38b4d1a7ca40
2015-08-20 16:01:12 -07:00

14 lines
435 B
Bash
Executable File

#!/bin/bash -ex
# Sleep long enough for the below checks to have a chance
# at being completed.
sleep 15m
# Check that snapshot image built
nodepool image-list | grep ready | grep trusty-server
# check that dib image built
nodepool image-list | grep ready | grep ubuntu-dib
# check snapshot image was bootable
nodepool list | grep ready | grep trusty-server
# check dib image was bootable
nodepool list | grep ready | grep ubuntu-dib