Skip to main content

gitops component

Usage Example

include:
- component: $CI_SERVER_FQDN/xrow-public/ci-tools/common@stable
- component: $CI_SERVER_FQDN/xrow-public/ci-tools/gitops@stable
inputs:
image: <value>
patch-file: <value>
repo: <value>

Inputs

NameDescriptionDefaultType
------------
branchmainstring
imageThe image name to be replaced like string
namedeploystring
patch-fileThe file to be patched like *.ymlstring
repoThe git repository to push the changes tostring
rulesSet your rules array[{"if":"$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH","when":"on_success"},{"if":"$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH","when":"manual"},{"when":"never"}]array
stagedeploystring