diff --git a/pkg/skaffold/runner/labeller.go b/pkg/skaffold/deploy/labeller.go similarity index 98% rename from pkg/skaffold/runner/labeller.go rename to pkg/skaffold/deploy/labeller.go index a82e39280c7..d56993ffa21 100644 --- a/pkg/skaffold/runner/labeller.go +++ b/pkg/skaffold/deploy/labeller.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package runner +package deploy import ( "fmt" diff --git a/pkg/skaffold/runner/labeller_test.go b/pkg/skaffold/deploy/labeller_test.go similarity index 99% rename from pkg/skaffold/runner/labeller_test.go rename to pkg/skaffold/deploy/labeller_test.go index 262e689d60b..9f1b4bb6a54 100644 --- a/pkg/skaffold/runner/labeller_test.go +++ b/pkg/skaffold/deploy/labeller_test.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package runner +package deploy import ( "testing" diff --git a/pkg/skaffold/runner/runner.go b/pkg/skaffold/runner/runner.go index 000b30ec200..65c20cc3a0a 100644 --- a/pkg/skaffold/runner/runner.go +++ b/pkg/skaffold/runner/runner.go @@ -71,7 +71,7 @@ type SkaffoldRunner struct { cache *cache.Cache runCtx *runcontext.RunContext labellers []deploy.Labeller - defaultLabeller *DefaultLabeller + defaultLabeller *deploy.DefaultLabeller builds []build.Artifact hasBuilt bool hasDeployed bool @@ -104,7 +104,7 @@ func NewForConfig(opts *config.SkaffoldOptions, cfg *latest.SkaffoldConfig) (*Sk return nil, errors.Wrap(err, "parsing deploy config") } - defaultLabeller := NewLabeller("") + defaultLabeller := deploy.NewLabeller("") labellers := []deploy.Labeller{opts, builder, deployer, tagger, defaultLabeller} builder, tester, deployer = WithTimings(builder, tester, deployer, opts.CacheArtifacts)