From b5c19245f6e21d914960d7fd7fb6471ce9f31068 Mon Sep 17 00:00:00 2001 From: michaeljguarino Date: Tue, 8 Oct 2024 12:58:00 -0400 Subject: [PATCH] Remove cleanup phase from plural up (#567) This is no longer needed since we don't deliver via a submodule anymore --- pkg/up/generate.go | 5 ----- pkg/up/prune.go | 1 - 2 files changed, 6 deletions(-) diff --git a/pkg/up/generate.go b/pkg/up/generate.go index 88216eda9..c41a50c9a 100644 --- a/pkg/up/generate.go +++ b/pkg/up/generate.go @@ -17,11 +17,6 @@ type templatePair struct { cloudless bool } -func (ctx *Context) Cleanup() { - _ = git.RemoveSubmodule("bootstrap") - _ = os.RemoveAll("./bootstrap") -} - func (ctx *Context) Generate() (dir string, err error) { dir, err = os.MkdirTemp("", "sampledir") ctx.dir = dir diff --git a/pkg/up/prune.go b/pkg/up/prune.go index 0b0616f57..0ee52c07d 100644 --- a/pkg/up/prune.go +++ b/pkg/up/prune.go @@ -38,7 +38,6 @@ func (ctx *Context) Prune() error { } _ = os.RemoveAll("./terraform/apps") - ctx.Cleanup() return git.Sync(repoRoot, "Post-setup resource cleanup", true) }