Skip to content
Permalink
Browse files
feat(kubectl): add --tmp-dir, --home-dir, --kubeconfig-base64
Signed-off-by: Ilya Lesikov <ilya@lesikov.com>
  • Loading branch information
ilya-lesikov committed Mar 29, 2022
1 parent 5291c2f commit cddc6b620f380f1407ecb268a80dbef914ac0373
Showing with 280 additions and 92 deletions.
  1. +2 −2 cmd/werf/build/main.go
  2. +2 −2 cmd/werf/bundle/apply/apply.go
  3. +2 −2 cmd/werf/bundle/download/download.go
  4. +2 −2 cmd/werf/bundle/export/export.go
  5. +2 −2 cmd/werf/bundle/publish/publish.go
  6. +2 −2 cmd/werf/bundle/render/render.go
  7. +2 −2 cmd/werf/ci_env/ci_env.go
  8. +2 −2 cmd/werf/cleanup/cleanup.go
  9. +26 −5 cmd/werf/common/common.go
  10. +2 −2 cmd/werf/compose/main.go
  11. +2 −2 cmd/werf/config/graph/graph.go
  12. +2 −2 cmd/werf/config/list/list.go
  13. +2 −2 cmd/werf/config/render/render.go
  14. +2 −2 cmd/werf/converge/converge.go
  15. +2 −2 cmd/werf/dismiss/dismiss.go
  16. +2 −2 cmd/werf/export/export.go
  17. +2 −2 cmd/werf/helm/get_autogenerated_values.go
  18. +2 −2 cmd/werf/helm/get_namespace.go
  19. +2 −2 cmd/werf/helm/get_release.go
  20. +2 −2 cmd/werf/helm/helm.go
  21. +2 −2 cmd/werf/helm/migrate2to3.go
  22. +2 −2 cmd/werf/helm/secret/decrypt/decrypt.go
  23. +2 −2 cmd/werf/helm/secret/encrypt/encrypt.go
  24. +2 −2 cmd/werf/helm/secret/file/decrypt/decrypt.go
  25. +2 −2 cmd/werf/helm/secret/file/edit/edit.go
  26. +2 −2 cmd/werf/helm/secret/file/encrypt/encrypt.go
  27. +2 −2 cmd/werf/helm/secret/rotate_secret_key/rotate_secret_key.go
  28. +2 −2 cmd/werf/helm/secret/values/decrypt/decrypt.go
  29. +2 −2 cmd/werf/helm/secret/values/edit/edit.go
  30. +2 −2 cmd/werf/helm/secret/values/encrypt/encrypt.go
  31. +2 −2 cmd/werf/host/cleanup/cleanup.go
  32. +2 −2 cmd/werf/host/purge/purge.go
  33. +2 −2 cmd/werf/kube_run/kube_run.go
  34. +88 −7 cmd/werf/kubectl/kubectl.go
  35. +2 −2 cmd/werf/managed_images/add/add.go
  36. +2 −2 cmd/werf/managed_images/ls/ls.go
  37. +2 −2 cmd/werf/managed_images/rm/rm.go
  38. +2 −2 cmd/werf/purge/purge.go
  39. +2 −2 cmd/werf/render/render.go
  40. +2 −2 cmd/werf/run/run.go
  41. +2 −2 cmd/werf/stage/image/main.go
  42. +2 −2 cmd/werf/synchronization/main.go
  43. +2 −0 pkg/tmp_manager/common.go
  44. +44 −0 pkg/tmp_manager/gc.go
  45. +40 −0 pkg/tmp_manager/kubeconfig.go
@@ -75,8 +75,8 @@ If one or more IMAGE_NAME parameters specified, werf will build only these image

common.SetupGiterminismOptions(&commonCmdData, cmd)

common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})
common.SetupSSHKey(&commonCmdData, cmd)

common.SetupSecondaryStagesStorageOptions(&commonCmdData, cmd)
@@ -58,8 +58,8 @@ func NewCmd() *cobra.Command {
}

common.SetupEnvironment(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})

common.SetupStagesStorageOptions(&commonCmdData, cmd) // FIXME
common.SetupFinalStagesStorageOptions(&commonCmdData, cmd)
@@ -43,8 +43,8 @@ func NewCmd() *cobra.Command {
},
}

common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})

common.SetupInsecureRegistry(&commonCmdData, cmd)
common.SetupInsecureHelmDependencies(&commonCmdData, cmd)
@@ -72,8 +72,8 @@ func NewCmd() *cobra.Command {
common.SetupConfigPath(&commonCmdData, cmd)
common.SetupEnvironment(&commonCmdData, cmd)

common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})
common.SetupSSHKey(&commonCmdData, cmd)

common.SetupIntrospectAfterError(&commonCmdData, cmd)
@@ -78,8 +78,8 @@ Published into container registry bundle can be rolled out by the "werf bundle"
common.SetupConfigPath(&commonCmdData, cmd)
common.SetupEnvironment(&commonCmdData, cmd)

common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})
common.SetupSSHKey(&commonCmdData, cmd)

common.SetupIntrospectAfterError(&commonCmdData, cmd)
@@ -61,8 +61,8 @@ func NewCmd() *cobra.Command {
}

common.SetupEnvironment(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})

common.SetupStagesStorageOptions(&commonCmdData, cmd)
common.SetupFinalStagesStorageOptions(&commonCmdData, cmd)
@@ -66,8 +66,8 @@ Currently supported only GitLab (gitlab) and GitHub (github) CI systems`,

common.SetupGiterminismOptions(&commonCmdData, cmd)

common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})
common.SetupDockerConfig(&commonCmdData, cmd, "Command will copy specified or default (~/.docker) config to the temporary directory and may perform additional login with new config.")

common.SetupPlatform(&commonCmdData, cmd)
@@ -59,8 +59,8 @@ It is safe to run this command periodically (daily is enough) by automated clean

common.SetupGiterminismOptions(&commonCmdData, cmd)

common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})

common.SetupSecondaryStagesStorageOptions(&commonCmdData, cmd)
common.SetupCacheStagesStorageOptions(&commonCmdData, cmd)
@@ -11,6 +11,7 @@ import (
"time"

"github.com/spf13/cobra"
"github.com/spf13/pflag"

"github.com/werf/logboek"
"github.com/werf/logboek/pkg/level"
@@ -169,9 +170,13 @@ func SetupConfigTemplatesDir(cmdData *CmdData, cmd *cobra.Command) {
cmd.Flags().StringVarP(cmdData.ConfigTemplatesDir, "config-templates-dir", "", os.Getenv("WERF_CONFIG_TEMPLATES_DIR"), `Custom configuration templates directory (default $WERF_CONFIG_TEMPLATES_DIR or .werf in working directory)`)
}

func SetupTmpDir(cmdData *CmdData, cmd *cobra.Command) {
type SetupTmpDirOptions struct {
Persistent bool
}

func SetupTmpDir(cmdData *CmdData, cmd *cobra.Command, opts SetupTmpDirOptions) {
cmdData.TmpDir = new(string)
cmd.Flags().StringVarP(cmdData.TmpDir, "tmp-dir", "", "", "Use specified dir to store tmp files and dirs (default $WERF_TMP_DIR or system tmp dir)")
getFlags(cmd, opts.Persistent).StringVarP(cmdData.TmpDir, "tmp-dir", "", "", "Use specified dir to store tmp files and dirs (default $WERF_TMP_DIR or system tmp dir)")
}

func SetupGiterminismOptions(cmdData *CmdData, cmd *cobra.Command) {
@@ -210,9 +215,13 @@ func setupDevBranch(cmdData *CmdData, cmd *cobra.Command) {
cmd.Flags().StringVarP(cmdData.DevBranch, "dev-branch", "", defaultValue, fmt.Sprintf("Set dev git branch name (default $WERF_DEV_BRANCH or %q)", defaultValue))
}

func SetupHomeDir(cmdData *CmdData, cmd *cobra.Command) {
type SetupHomeDirOptions struct {
Persistent bool
}

func SetupHomeDir(cmdData *CmdData, cmd *cobra.Command, opts SetupHomeDirOptions) {
cmdData.HomeDir = new(string)
cmd.Flags().StringVarP(cmdData.HomeDir, "home-dir", "", "", "Use specified dir to store werf cache files and dirs (default $WERF_HOME or ~/.werf)")
getFlags(cmd, opts.Persistent).StringVarP(cmdData.HomeDir, "home-dir", "", "", "Use specified dir to store werf cache files and dirs (default $WERF_HOME or ~/.werf)")
}

func SetupSSHKey(cmdData *CmdData, cmd *cobra.Command) {
@@ -364,7 +373,11 @@ func GetFirstExistingKubeConfigEnvVar() string {

func SetupKubeConfigBase64(cmdData *CmdData, cmd *cobra.Command) {
cmdData.KubeConfigBase64 = new(string)
cmd.PersistentFlags().StringVarP(cmdData.KubeConfigBase64, "kube-config-base64", "", GetFirstExistingEnvVarAsString("WERF_KUBE_CONFIG_BASE64", "WERF_KUBECONFIG_BASE64", "KUBECONFIG_BASE64"), "Kubernetes config data as base64 string (default $WERF_KUBE_CONFIG_BASE64 or $WERF_KUBECONFIG_BASE64 or $KUBECONFIG_BASE64)")
cmd.PersistentFlags().StringVarP(cmdData.KubeConfigBase64, "kube-config-base64", "", GetFirstExistingKubeConfigBase64EnvVar(), "Kubernetes config data as base64 string (default $WERF_KUBE_CONFIG_BASE64 or $WERF_KUBECONFIG_BASE64 or $KUBECONFIG_BASE64)")
}

func GetFirstExistingKubeConfigBase64EnvVar() string {
return GetFirstExistingEnvVarAsString("WERF_KUBE_CONFIG_BASE64", "WERF_KUBECONFIG_BASE64", "KUBECONFIG_BASE64")
}

func GetFirstExistingEnvVarAsString(envNames ...string) string {
@@ -1599,3 +1612,11 @@ func GetBackgroundOutputFile() string {
func GetLastBackgroundErrorFile() string {
return filepath.Join(werf.GetServiceDir(), "last_background_error")
}

func getFlags(cmd *cobra.Command, persistent bool) *pflag.FlagSet {
if persistent {
return cmd.PersistentFlags()
}

return cmd.Flags()
}
@@ -204,8 +204,8 @@ services:

common.SetupGiterminismOptions(&commonCmdData, cmd)

common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})
common.SetupSSHKey(&commonCmdData, cmd)

common.SetupSecondaryStagesStorageOptions(&commonCmdData, cmd)
@@ -112,8 +112,8 @@ func NewCmd() *cobra.Command {

common.SetupGiterminismOptions(&commonCmdData, cmd)

common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})

common.SetupLogOptions(&commonCmdData, cmd)

@@ -44,8 +44,8 @@ func NewCmd() *cobra.Command {

common.SetupGiterminismOptions(&commonCmdData, cmd)

common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})

common.SetupLogOptions(&commonCmdData, cmd)

@@ -74,8 +74,8 @@ func NewCmd() *cobra.Command {

common.SetupGiterminismOptions(&commonCmdData, cmd)

common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})

common.SetupLogOptions(&commonCmdData, cmd)

@@ -92,8 +92,8 @@ werf converge --repo registry.mydomain.com/web --env production`,

common.SetupGiterminismOptions(&commonCmdData, cmd)

common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})
common.SetupSSHKey(&commonCmdData, cmd)

common.SetupIntrospectAfterError(&commonCmdData, cmd)
@@ -70,14 +70,14 @@ Read more info about Helm Release name, Kubernetes Namespace and how to change i
},
}

common.SetupTmpDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupConfigTemplatesDir(&commonCmdData, cmd)
common.SetupConfigPath(&commonCmdData, cmd)
common.SetupEnvironment(&commonCmdData, cmd)

common.SetupGiterminismOptions(&commonCmdData, cmd)

common.SetupHomeDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})
common.SetupDir(&commonCmdData, cmd)
common.SetupGitWorkTree(&commonCmdData, cmd)

@@ -69,8 +69,8 @@ All meta-information related to werf is removed from the exported images, and th

common.SetupGiterminismOptions(&commonCmdData, cmd)

common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})
common.SetupSSHKey(&commonCmdData, cmd)

common.SetupSecondaryStagesStorageOptions(&commonCmdData, cmd)
@@ -57,8 +57,8 @@ These values includes project name, docker images ids and other`),

common.SetupGiterminismOptions(&getAutogeneratedValuedCmdData, cmd)

common.SetupTmpDir(&getAutogeneratedValuedCmdData, cmd)
common.SetupHomeDir(&getAutogeneratedValuedCmdData, cmd)
common.SetupTmpDir(&getAutogeneratedValuedCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&getAutogeneratedValuedCmdData, cmd, common.SetupHomeDirOptions{})
common.SetupSSHKey(&getAutogeneratedValuedCmdData, cmd)

common.SetupSecondaryStagesStorageOptions(&getAutogeneratedValuedCmdData, cmd)
@@ -38,8 +38,8 @@ func NewGetNamespaceCmd() *cobra.Command {

common.SetupGiterminismOptions(&getNamespaceCmdData, cmd)

common.SetupTmpDir(&getNamespaceCmdData, cmd)
common.SetupHomeDir(&getNamespaceCmdData, cmd)
common.SetupTmpDir(&getNamespaceCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&getNamespaceCmdData, cmd, common.SetupHomeDirOptions{})
common.SetupDockerConfig(&getNamespaceCmdData, cmd, "")

common.SetupLogOptions(&getNamespaceCmdData, cmd)
@@ -39,8 +39,8 @@ func NewGetReleaseCmd() *cobra.Command {

common.SetupGiterminismOptions(&getReleaseCmdData, cmd)

common.SetupTmpDir(&getReleaseCmdData, cmd)
common.SetupHomeDir(&getReleaseCmdData, cmd)
common.SetupTmpDir(&getReleaseCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&getReleaseCmdData, cmd, common.SetupHomeDirOptions{})
common.SetupDockerConfig(&getReleaseCmdData, cmd, "")

common.SetupLogOptions(&getReleaseCmdData, cmd)
@@ -53,8 +53,8 @@ func NewCmd() *cobra.Command {
os.Setenv("HELM_EXPERIMENTAL_OCI", "1")

cmd.PersistentFlags().StringVarP(&namespace, "namespace", "n", *helm_v3.Settings.GetNamespaceP(), "namespace scope for this request")
common.SetupTmpDir(&_commonCmdData, cmd)
common.SetupHomeDir(&_commonCmdData, cmd)
common.SetupTmpDir(&_commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&_commonCmdData, cmd, common.SetupHomeDirOptions{})
common.SetupKubeConfig(&_commonCmdData, cmd)
common.SetupKubeConfigBase64(&_commonCmdData, cmd)
common.SetupKubeContext(&_commonCmdData, cmd)
@@ -78,8 +78,8 @@ func NewMigrate2To3Cmd() *cobra.Command {
},
}

common.SetupTmpDir(&migrate2To3CommonCmdData, cmd)
common.SetupHomeDir(&migrate2To3CommonCmdData, cmd)
common.SetupTmpDir(&migrate2To3CommonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&migrate2To3CommonCmdData, cmd, common.SetupHomeDirOptions{})

common.SetupKubeConfig(&migrate2To3CommonCmdData, cmd)
common.SetupKubeConfigBase64(&migrate2To3CommonCmdData, cmd)
@@ -53,8 +53,8 @@ Encryption key should be in $WERF_SECRET_KEY or .werf_secret_key file`),
}

common.SetupDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})

common.SetupGiterminismOptions(&commonCmdData, cmd)

@@ -52,8 +52,8 @@ Encryption key should be in $WERF_SECRET_KEY or .werf_secret_key file`),
}

common.SetupDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})

common.SetupGiterminismOptions(&commonCmdData, cmd)

@@ -62,8 +62,8 @@ Encryption key should be in $WERF_SECRET_KEY or .werf_secret_key file`),
}

common.SetupDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})

common.SetupGiterminismOptions(&commonCmdData, cmd)

@@ -43,8 +43,8 @@ Encryption key should be in $WERF_SECRET_KEY or .werf_secret_key file`),
}

common.SetupDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})

common.SetupGiterminismOptions(&commonCmdData, cmd)

@@ -58,8 +58,8 @@ Encryption key should be in $WERF_SECRET_KEY or .werf_secret_key file`),
}

common.SetupDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})

common.SetupGiterminismOptions(&commonCmdData, cmd)

@@ -50,8 +50,8 @@ Command will extract data with the old key, generate new secret data and rewrite
},
}

common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})

common.SetupDir(&commonCmdData, cmd)
common.SetupGitWorkTree(&commonCmdData, cmd)
@@ -67,8 +67,8 @@ Encryption key should be in $WERF_SECRET_KEY or .werf_secret_key file`),
}

common.SetupDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})

common.SetupGiterminismOptions(&commonCmdData, cmd)

@@ -43,8 +43,8 @@ Encryption key should be in $WERF_SECRET_KEY or .werf_secret_key file`),
}

common.SetupDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})

common.SetupGiterminismOptions(&commonCmdData, cmd)

@@ -58,8 +58,8 @@ Encryption key should be in $WERF_SECRET_KEY or .werf_secret_key file`),
}

common.SetupDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd)
common.SetupHomeDir(&commonCmdData, cmd)
common.SetupTmpDir(&commonCmdData, cmd, common.SetupTmpDirOptions{})
common.SetupHomeDir(&commonCmdData, cmd, common.SetupHomeDirOptions{})

common.SetupGiterminismOptions(&commonCmdData, cmd)

0 comments on commit cddc6b6

Please sign in to comment.