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
| Name | Description | Default | Type |
| --- | --- | --- | --- |
| branch | main | string | |
| image | The image name to be replaced like | string | |
| name | deploy | string | |
| patch-file | The file to be patched like *.yml | string | |
| repo | The git repository to push the changes to | string | |
| rules | Set 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 |
| stage | deploy | string |