WARNING: Jenkins X version 2.x is unmaintained. Do not use it.
Please refer to the v3 documentation for the latest supported version.
jx step create pullrequest versions
list of jx commands
jx step create pullrequest versions
Creates a Pull Request on the versions git repository for a new versionstream of a chart/package
Synopsis
Creates a Pull Request on the versions git repository for a new versionstream of a chart/package
jx step create pullrequest versions [flags]
Examples
# create a Pull Request to update a chart versionstream
jx step create pr versions -n jenkins-x/prow -v 1.2.3
# create a Pull Request to update a chart versionstream to the latest found in the helm repo
jx step create pr versions -n jenkins-x/prow
# create a Pull Request to update all charts matching a filter to the latest found in the helm repo
jx step create pr versions pr -f "*"
# create a Pull Request to update all charts in the 'jenkins-x' chart repository to the latest found in the helm repo
jx step create pr versions -f "jenkins-x/*"
# create a Pull Request to update all charts in the 'jenkins-x' chart repository and update the BDD test images
jx step create pr versions -f "jenkins-x/*" --images
Options
--base string The branch to create the pull request into (default "master")
--branch string Branch to clone and generate a pull request from (default "master")
--component string The component of the git repo which caused this change; useful if you have a complex or monorepo setup and want to differentiate between different components from the same repo
--dry-run Perform a dry run, the change will be generated and committed, but not pushed or have a PR created
-x, --excludes stringArray The name patterns to exclude
-f, --filter stringArray The name patterns to include - such as '*' for all names
-h, --help help for versions
--images Update the tekton builder images for the Jenkins X Versions BDD tests
-k, --kind stringArray The kinds of versionstream. Possible values: charts, packages, docker, git. (default [charts,git])
--labels stringArray Labels to add to the created PR
-n, --name string The name of the versionstream to update. e.g. the name of the chart like 'jenkins-x/prow'
-r, --repo stringArray Git repo to update
--skip-auto-merge Disable auto merge of the PR if status checks pass
--src-repo string The git repo which caused this change; if this is a dependency update this will cause commit messages to be generated which can be parsed by jx step changelog. By default this will be read from the environment variable REPO_URL
-v, --version string The version to change. If no version is supplied the latest version is found
Options inherited from parent commands
-b, --batch-mode Runs in batch mode without prompting for user input
--verbose Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace
SEE ALSO
- jx step create pullrequest - create pullrequest [command]
Auto generated by spf13/cobra on 2-Sep-2020
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified September 2, 2020: updated jx commands & API docs from 2.1.138 (4fc0bedc90)