forked from bitrise-io/bitrise-steplib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update-gitops-repository 1.1.3 (bitrise-io#3788)
- Loading branch information
Showing
1 changed file
with
99 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
title: Update GitOps repository | ||
summary: | | ||
Updates files of a GitOps repository either by pushing changes directly to a | ||
given folder of a given branch or by opening a pull request to it. | ||
description: | | ||
Updates files of a GitOps repository either by pushing changes directly to a | ||
given folder of a given branch or by opening a pull request to it. | ||
URL of the pull request is exposed as an output in the latter case. | ||
Updated files are go templates rendered by substituting given values. | ||
A Github username and Personal Access Token must be provided with access to the repository. | ||
website: https://github.com/bitrise-io/bitrise-step-update-gitops-repository | ||
source_code_url: https://github.com/bitrise-io/bitrise-step-update-gitops-repository | ||
support_url: https://github.com/bitrise-io/bitrise-step-update-gitops-repository/issues | ||
published_at: 2023-03-31T12:55:05.760458+02:00 | ||
source: | ||
git: https://github.com/bitrise-io/bitrise-step-update-gitops-repository.git | ||
commit: bc1e7ec9bb34f23632e1ab429bc2162a5b45de35 | ||
host_os_tags: | ||
- osx-10.10 | ||
- ubuntu-16.04 | ||
type_tags: | ||
- deploy | ||
toolkit: | ||
go: | ||
package_name: github.com/bitrise-io/bitrise-step-update-gitops-repository | ||
deps: | ||
brew: | ||
- name: git | ||
apt_get: | ||
- name: git | ||
is_requires_admin_user: false | ||
is_always_run: false | ||
is_skippable: false | ||
run_if: "" | ||
inputs: | ||
- deploy_repository_url: "" | ||
opts: | ||
is_required: true | ||
title: Github HTTPS URL of the repository to deploy to | ||
- deploy_path: "" | ||
opts: | ||
is_required: true | ||
title: Path to place rendered templates inside the repository | ||
- deploy_token: $DEPLOY_TOKEN | ||
opts: | ||
is_required: true | ||
is_sensitive: true | ||
title: Personal Access Token to interact with Github API | ||
- deploy_user: "" | ||
opts: | ||
is_required: true | ||
title: Github username associated with the Personal Access Token | ||
- deploy_branch: master | ||
opts: | ||
title: Branch of the repository to deploy to | ||
- commit_message: bitrise ci integration | ||
opts: | ||
title: Commit message of pushed changes | ||
- opts: | ||
category: Templates | ||
title: Path to Go templates folder | ||
templates_folder_path: deployments/helm | ||
- opts: | ||
category: Templates | ||
description: |- | ||
Input values for the Go template files as key-value pairs in YAML format. | ||
For example: | ||
``` | ||
my-key1: my value 1 | ||
my-key2: my value 2 | ||
``` | ||
title: Input values for the Go template files in YAML format | ||
values: null | ||
- opts: | ||
category: Pull Request | ||
description: | | ||
Open a pull request instead of pushing | ||
changes directly to the given branch. | ||
title: Open a pull request | ||
value_options: | ||
- "true" | ||
- "false" | ||
pull_request: false | ||
- opts: | ||
category: Pull Request | ||
title: Title of the opened pull request | ||
pull_request_title: "" | ||
- opts: | ||
category: Pull Request | ||
title: Body of the opened pull request | ||
pull_request_body: 'Source commit: https://github.com/$BITRISEIO_GIT_REPOSITORY_OWNER/$BITRISEIO_GIT_REPOSITORY_SLUG/commit/$BITRISE_GIT_COMMIT' | ||
outputs: | ||
- PR_URL: null | ||
opts: | ||
description: | | ||
URL of opened pull request. Will be emitted in pull request mode. | ||
title: URL of opened pull request |