Same problem that tried to fix
I just moved where the issue occured in the last commit. Needed logic
around what `suite` should be equal to.
@@ -175,11 +175,16 @@ type BoshInstance struct {
func StartDeploy(manifest string, args ...string) *gexec.Session {
WaitForDeploymentAndCompileLocks()
+ var modifiedSuiteName string
+ if suiteName != "" {
+ modifiedSuiteName = "-" + suiteName
+ }
+
return SpawnBosh(
append([]string{
"deploy", manifest,
"--vars-store", filepath.Join(tmp, DeploymentName+"-vars.yml"),
- "-v", "suite='-" + suiteName + "'",
+ "-v", "suite='" + modifiedSuiteName + "'",
"-v", "deployment_name='" + DeploymentName + "'",
"-v", "concourse_release_version='" + concourseReleaseVersion + "'",
"-v", "bpm_release_version='" + bpmReleaseVersion + "'",
