#!/bin/bash
set -eux
set -o pipefail

if [ ! -f /.dockerenv ]; then
    echo "This must be run within a docker container";
    exit 0;
fi

dt="$(date "+%Y-%m-%d_%H-%M_%s")";

echo "Running quickstart";

URL=$1;

bash ~/clean.sh;

source openrc.sh;
rm -rf ~/reproduce/ && mkdir ~/reproduce;
WORKSPACE=~/reproduce/

rm -f reproducer-quickstart.sh;
wget $URL;

bash -x reproducer-quickstart.sh \
  --workspace $WORKSPACE \
  --create-virtualenv true \
  --remove-stacks-keypairs true \
  --nodestack-prefix repro \
  --autorun;

#!/bin/bash
set -eux
set -o pipefail

if [ ! -f /.dockerenv ]; then
    echo "This must be run within a docker container";
    exit 0;
fi

dt="$(date "+%Y-%m-%d_%H-%M_%s")";

echo "Running quickstart";

URL=$1;

bash ~/clean.sh;

source openrc.sh;
rm -rf ~/reproduce/ && mkdir ~/reproduce;
WORKSPACE=~/reproduce/

rm -f reproducer-quickstart.sh;
wget $URL;

bash -x reproducer-quickstart.sh \
  --workspace $WORKSPACE \
  --create-virtualenv true \
  --remove-stacks-keypairs true \
  --nodestack-prefix repro \
  --autorun;

export $(awk '/subnode-0/ {print $2}' reproduce/multinode_hosts);

scp -r zuul@$ansible_host:scripts ~/scripts

Copy the helper scripts to the undercloud
Copy the helper scripts to the undercloud
