--- a/docker/run.go Sat Oct 26 14:39:26 2019 -0500
+++ b/docker/run.go Sat Oct 26 14:42:35 2019 -0500
@@ -26,6 +26,7 @@
"github.com/kballard/go-shellquote"
+ "github.com/satori/go.uuid" log "github.com/sirupsen/logrus"
"bitbucket.org/rw_grim/convey/environment"
@@ -33,7 +34,6 @@
"bitbucket.org/rw_grim/convey/normalize"
"bitbucket.org/rw_grim/convey/runtime"
"bitbucket.org/rw_grim/convey/tasks"
- "bitbucket.org/rw_grim/convey/util"
"bitbucket.org/rw_grim/convey/yaml"
@@ -212,7 +212,7 @@
fullEnv := env.Copy().MergeSlice(r.Environment).Merge(rt.Environment)
// create an id for this container
- runID := util.ShortID()
+ runID := uuid.NewV4().String()[0:6] // Map the image name so we can use it elsewhere
image := fullEnv.Map(r.Image)