Skip to content

Commit e9f75f1

Browse files
dgageotbalopat
authored andcommitted
Remove unused constants (#1602)
Signed-off-by: David Gageot <[email protected]>
1 parent 3bdc156 commit e9f75f1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pkg/skaffold/constants/constants.go

-6
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ const (
3131
// context directory
3232
DefaultDockerfilePath = "Dockerfile"
3333

34-
DefaultDevTagStrategy = TagStrategySha256
35-
DefaultRunTagStrategy = TagStrategyGitCommit
36-
3734
// TagStrategySha256 uses the checksum of the built artifact as the tag
3835
TagStrategySha256 = "sha256"
3936
TagStrategyGitCommit = "gitCommit"
@@ -63,9 +60,6 @@ const (
6360
DefaultCloudBuildDockerImage = "gcr.io/cloud-builders/docker"
6461
DefaultCloudBuildMavenImage = "gcr.io/cloud-builders/mvn"
6562
DefaultCloudBuildGradleImage = "gcr.io/cloud-builders/gradle"
66-
67-
// A regex matching valid repository names (https://github.com/docker/distribution/blob/master/reference/reference.go)
68-
RepositoryComponentRegex string = `^[a-z\d]+(?:(?:[_.]|__|-+)[a-z\d]+)*$`
6963
)
7064

7165
var DefaultKubectlManifests = []string{"k8s/*.yaml"}

0 commit comments

Comments
 (0)