Remove the template image as it's not really necessary and should be standalone if people need it
--- a/convey.yml Sat Jul 27 11:25:20 2019 -0500
+++ b/convey.yml Sat Jul 27 11:27:02 2019 -0500
@@ -90,12 +90,6 @@
dockerfile: images/env/Dockerfile
- dockerfile: images/template/Dockerfile
- - images/template/run.sh
@@ -142,7 +136,6 @@
--- a/images/template/Dockerfile Sat Jul 27 11:25:20 2019 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-FROM gliderlabs/alpine:edge
-RUN apk add --no-cache gettext
--- a/images/template/README.md Sat Jul 27 11:25:20 2019 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,34 +0,0 @@
-The template image is an image that can take a string or the path of a file within
-the workspace and output another file within the workspace with the environment
- image: convey/template:latest
- - TEMPLATE_STRING='branch: ${HG_BRANCH}\ncommit: ${HG_COMMIT_SHORT}'
- - TEMPLATE_OUTPUT=/build_info
-## Environment Variables
-The path of a file within the workspace to use as a template for the output.
-A string to use as a template for the output. This variable takes precedence over
-`TEMPLATE_FILE` if both are provided.
-One thing to note with this value is that you're most likely going to want to enclose
-it with single quotes as in the example above. This will ensure the environment
-variables and any escape characters such as `\n` are still included in the output file.
-The path of a file within the workspace to write the output of the template to.
--- a/images/template/run.sh Sat Jul 27 11:25:20 2019 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-if [ -z $TEMPLATE_OUTPUT ]; then
- echo 'TEMPLATE_OUTPUT was not specified';
-if [ -z $TEMPLATE_STRING ]; then
- if [ -z $TEMPLATE_FILE ]; then
- echo 'Either TEMPLATE_STRING or TEMPLATE_FILE must be set';
- if [ ! -e ${CONVEY_WORKSPACE}/${TEMPLATE_FILE} ]; then
- echo "Could not find template file ${TEMPLATE_FILE}";
- TEMPLATE_STRING=$(cat ${CONVEY_WORKSPACE}/${TEMPLATE_FILE})
-echo -e "$TEMPLATE_STRING" | envsubst > ${CONVEY_WORKSPACE}/${TEMPLATE_OUTPUT}