You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nodepool/nodepool/tests/post-upload-hook

21 lines
356 B

#!/bin/bash
set -eu
echo "*** post-upload-hook: start"
echo "arguments:"
echo "----"
echo $*
echo "----"
PROVIDER=$1
IMAGE_ID=$2
LOCAL_IMAGE_FILENAME=$3
STATEFILE="$(dirname $LOCAL_IMAGE_FILENAME)/$(basename $LOCAL_IMAGE_FILENAME).post"
# Tests might need to know when this process is completed
echo "Creating state file $STATEFILE"
touch $STATEFILE