TenantSync
yaml
type: "io.kestra.plugin.git.tenantsync"
Examples
yaml
id: tenant_sync_git
namespace: system
tasks:
- id: sync
type: io.kestra.plugin.git.TenantSync
sourceOfTruth: GIT
whenMissingInSource: DELETE
protectedNamespaces:
- system
url: https://github.com/fdelbrayelle/plugin-git-qa
username: fdelbrayelle
password: "{{ secret('GITHUB_ACCESS_TOKEN') }}"
branch: main
gitDirectory: kestra
kestraUrl: "http://localhost:8080"
auth:
username: "{{ secret('KESTRA_USERNAME') }}"
password: "{{ secret('KESTRA_PASSWORD') }}"
yaml
id: tenant_sync_kestra
namespace: system
tasks:
- id: sync
type: io.kestra.plugin.git.TenantSync
sourceOfTruth: KESTRA
whenMissingInSource: KEEP
url: https://github.com/fdelbrayelle/plugin-git-qa
username: fdelbrayelle
password: "{{ secret('GITHUB_ACCESS_TOKEN') }}"
branch: dev
kestraUrl: "http://localhost:8080"
auth:
username: "{{ secret('KESTRA_USERNAME') }}"
password: "{{ secret('KESTRA_PASSWORD') }}"
Properties
auth *RequiredNon-dynamicAbstractKestraTask-Auth
branch *Requiredstring
cloneSubmodules booleanstring
dryRun booleanstring
Default
false
gitConfig object
gitDirectory string
kestraUrl string
onInvalidSyntax string
Default
FAIL
Possible Values
SKIP
WARN
FAIL
passphrase string
password string
privateKey string
protectedNamespaces array
SubType string
Default
["system"]
sourceOfTruth string
Default
KESTRA
Possible Values
GIT
KESTRA
tenantId string
url string
username string
whenMissingInSource string
Default
DELETE
Possible Values
DELETE
KEEP
FAIL
Outputs
commitId string
commitURL string
diff string
Format
uri