Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 2 KB

jx-gitops_variables.md

File metadata and controls

45 lines (33 loc) · 2 KB

jx-gitops variables

Lazily creates a .jx/variables.sh script with common pipeline environment variables

Usage

jx-gitops variables

Synopsis

Lazily creates a .jx/variables.sh script with common pipeline environment variables

Examples

lazily create the .jx/variables.sh file

jx-gitops variables

Options

      --app string              Name of the app or repository
      --build-number string     the build number to use. If not specified defaults to $BUILD_NUMBER
      --commit                  commit variables.sh (default true)
      --configmap string        the ConfigMap used to load environment variables (default "jenkins-x-docker-registry")
      --dir string              the directory to search for the .git to discover the git source URL (default ".")
  -f, --file string             the default variables file to lazily create or enrich (default ".jx/variables.sh")
      --git-kind string         the kind of git server to connect to
      --git-server string       the git server URL to create the git provider client. If not specified its defaulted from the current source URL
      --git-token string        the git token used to operate on the git repository
      --git-user-email string   the user email to git commit
      --git-user-name string    the user name to git commit
  -h, --help                    help for variables
      --namespace string        the namespace to look for the dev Environment. Defaults to the current namespace
  -n, --repo-name string        the name of the helm chart to release to. If not specified uses JX_CHART_REPOSITORY environment variable (default "release-repo")
  -u, --repo-url string         the URL to release to
      --version-file string     the file to load the version from if not specified directly or via a $VERSION environment variable. Defaults to VERSION in the current dir

SEE ALSO

  • jx-gitops - commands for working with GitOps based git repositories
Auto generated by spf13/cobra on 1-Nov-2022