jx-updatebot

module
v0.4.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2024 License: Apache-2.0

README

jx updatebot

Documentation Go Report Card Releases LICENSE Slack Status

jx-updatebot is a small command line tool for generating downstream Pull Requests

Getting Started

Download the jx-updatebot binary for your operating system and add it to your $PATH.

Or you can use jx updatebot directly in the Jenkins X 3.x CLI

Configuration

The jx updatebot pr command looks in for the .jx/updatebot.yaml file to find the repositories to modify along with the list of change rules to make.

You can see the configuration documentation here for how to format your .jx/updatebot.yaml file.

Examples

Here are some example updatebot configurations:

Using updatebot in Tekton

You can see an example of invoking the Updatebot step inside a Tekton pipeline. This reuses the Jenkins X Pipeline as Code GitOps approach

e.g. check out the final step in this Task:

        steps:
        - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream
        - name: next-version
        - name: jx-variables
        - name: build-make-build
        - name: promote-changelog
        - image: uses:jenkins-x/jx3-pipeline-catalog/tasks/updatebot/release.yaml@versionStream

If you are not using Jenkins X but are using Tekton you could copy/paste this Task step

Commands

See the jx-updatebot command reference

Directories

Path Synopsis
cmd
app
pkg
apis/updatebot/v1alpha1
+k8s:deepcopy-gen=package +k8s:openapi-gen=true Package v1alpha1 is the v1alpha1 version of the API.
+k8s:deepcopy-gen=package +k8s:openapi-gen=true Package v1alpha1 is the v1alpha1 version of the API.
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL