2022-06-03 17:07:37 +00:00
|
|
|
//go:build !consulent
|
|
|
|
// +build !consulent
|
|
|
|
|
|
|
|
package utils
|
|
|
|
|
|
|
|
import "flag"
|
|
|
|
|
2022-10-20 21:12:36 +00:00
|
|
|
// TODO: need a better way to abstract the container creation and configuration;
|
|
|
|
// please refer to the discussion in github PR
|
|
|
|
|
|
|
|
var TargetImage = flag.String("target-image", "consul", "docker image name to be used under test (Default: consul)")
|
|
|
|
var TargetVersion = flag.String("target-version", "local", "docker image version to be used as UUT (unit under test)")
|
|
|
|
var LatestImage = flag.String("latest-image", "consul", "docker image name to be used under test (Default: consul)")
|
|
|
|
var LatestVersion = flag.String("latest-version", "1.11", "docker image to be used as latest")
|