INNER CODE UNIT · Go
main
aws/eks-distro · cmd/main_postsubmit.go:55
func main() {
target := flag.String("target", "release", "Make target")
releaseBranch := flag.String("release-branch", "1-19", "Release branch to test")
releaseVariant := flag.String("release-variant", "", "Release variant to test")
release := flag.String("release", "1", "Release to test")
region := flag.String("region", "us-west-2", "AWS region to use")
accountId := flag.String("account-id", "", "AWS Account ID to use")
imageRepo := flag.String("image-repo", "", "Container image repository")
artifactBucket := flag.String("artifact-bucket", "", "S3 bucket for artifacts")
gitRoot := flag.String("git-root", "", "Git root directory")
dryRun := flag.Bool("dry-run", false, "Echo out commands, but don't run them")
rebuildAll := flag.Bool("rebuild-all", false, "Rebuild all projects, regardless of changes present")
buildKubeFirst := flag.Bool("build-kubernetes-first", true, "Build kubernetes projects first then other components")
flag.Parse()
log.Printf("Running postsubmit - dry-run: %t", *dryRun)
c := &Command{