From b868c3a6f09009b243da9c75649daf5b7b0cf7a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Beny=C3=B3?= Date: Tue, 4 Apr 2023 11:19:08 +0200 Subject: [PATCH] update-gitops-repository 1.1.3 (#3788) --- steps/update-gitops-repository/1.1.3/step.yml | 99 +++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 steps/update-gitops-repository/1.1.3/step.yml diff --git a/steps/update-gitops-repository/1.1.3/step.yml b/steps/update-gitops-repository/1.1.3/step.yml new file mode 100644 index 000000000..839f4a503 --- /dev/null +++ b/steps/update-gitops-repository/1.1.3/step.yml @@ -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