Skip to content

rspm create git-builder#

Advanced

Command to create git-builders. Supports remote use with API tokens when enabled.

rspm create git-builder [flags]

Examples#

  rspm create git-builder --source=[git source name] --url=[URL] --no-wait
  rspm create git-builder --source=[git source name] --url=[URL] --credential=[credential name] --branch=[branch name]
  rspm create git-builder --source=[git source name] --url=[URL] --credential=[credential name] --build-trigger=tags
  rspm create git-builder --name=[custom name] --source=[git source name] --url=[URL]
  rspm create git-builder --source=[git source name] --url=[URL] --recurse-submodules=2
  rspm create git-builder --source=[git source name] --url=[URL] --clone-depth=0

Options#

  -a, --address string             The address of the remote server. If not specified, the PACKAGEMANAGER_ADDRESS environment variable is used.
      --branch string              Specify the git branch to track for package building. If no branch is provided, it will use the default branch of the repository.
      --build-trigger string       Specify either 'commits' or 'tags'. Defaults to 'commits' (default "commits")
      --clone-depth uint           Include Git commits to this depth. Defaults to a shallow clone of depth 1. Set to 0 for a full unshallow clone. (default 1)
      --credential string          For git-builders with private repos, specify the name of the git credential.
  -h, --help                       help for git-builder
      --insecure-ssl-skip-verify   If true, skip SSL certificate validation. This reduces the security that SSL normally provides.
      --name string                The name of the git-builder. Git builders for R packages use the name in the DESCRIPTION file by default. Git builders for Python packages require a value for the --name flag.
      --no-wait                    Do not wait for initial build(s).
      --recurse-submodules uint    Include Git submodules to this depth.
      --source string              The name of the source.
      --ssh-key string             For git-builders with private repos, specify the name of the ssh key (deprecated in favor of --credential flag).
      --sub-dir string             Specify the sub directory where the package is stored.
      --succeed-on-existing        Do not return an error if the Git builder already exists.
      --url string                 Specify the git URL for package building.
      --wait                       Waits for the initial build(s) and prints helpful information. (default)

Options inherited from parent commands#

  -c, --config string          Path to config file
  -o, --output-format string   Specify the output format 'human' for human-readable output or 'json' for JSON-encoded output. (default "human")
  -v, --verbose                Provide additional output