Skip to content

Commit

Permalink
update-gitops-repository 1.1.3 (bitrise-io#3788)
Browse files Browse the repository at this point in the history
  • Loading branch information
duplabe authored Apr 4, 2023
1 parent 2c847e3 commit b868c3a
Showing 1 changed file with 99 additions and 0 deletions.
99 changes: 99 additions & 0 deletions steps/update-gitops-repository/1.1.3/step.yml
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

0 comments on commit b868c3a

Please sign in to comment.