#!/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

Move nodepool test checks into nodepool
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
