Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused constants #1602

Merged
merged 1 commit into from
Feb 5, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions pkg/skaffold/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ const (
// context directory
DefaultDockerfilePath = "Dockerfile"

DefaultDevTagStrategy = TagStrategySha256
DefaultRunTagStrategy = TagStrategyGitCommit

// TagStrategySha256 uses the checksum of the built artifact as the tag
TagStrategySha256 = "sha256"
TagStrategyGitCommit = "gitCommit"
Expand Down Expand Up @@ -63,9 +60,6 @@ const (
DefaultCloudBuildDockerImage = "gcr.io/cloud-builders/docker"
DefaultCloudBuildMavenImage = "gcr.io/cloud-builders/mvn"
DefaultCloudBuildGradleImage = "gcr.io/cloud-builders/gradle"

// A regex matching valid repository names (https://github.com/docker/distribution/blob/master/reference/reference.go)
RepositoryComponentRegex string = `^[a-z\d]+(?:(?:[_.]|__|-+)[a-z\d]+)*$`
)

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