Pipe channel through to base image
Also, since out channels are lowercased already, we don't need to
worry about lowercasing them .
@@ -5,16 +5,14 @@ set -euo pipefail
# TODO (CM): Pass the name of a single test case to run
channel=${1:-stable}
-# The ,, is Bash 4 for "make this whole string lowercase"... Docker
-# image names must be lowercase
-image_name="supervisor-testing-${channel,,}"
+image_name="supervisor-testing-${channel}"
output_dir="habitat_integration_output"
rm -Rf "${output_dir}"
mkdir "${output_dir}"
# Ensure the requisite images are present.
-make habitat_integration_base
+make habitat_integration_base CHANNEL="${channel}"
make supervisor_image CHANNEL="${channel}" IMAGE_NAME="${image_name}"
# Assume success until told otherwise; the first failure will set this
