pushunittests
Commit and push Kestra Unit Tests created from Kestra UI to Git.
Enterprise Edition
Talk to us
pushunittests
Commit and push Kestra Unit Tests created from Kestra UI to Git.
yaml
type: io.kestra.plugin.ee.git.pushunittestsExamples
yaml
id: push_unit_tests
namespace: prod
inputs:
- id: push
type: BOOL
defaults: false
tasks:
- id: if
type: io.kestra.plugin.core.flow.If
condition: "{{ inputs.push == true}}"
then:
- id: commit_and_push
type: io.kestra.plugin.ee.git.PushUnitTests
unitTests: myTestSuite
url: https://github.com/fdelbrayelle/plugin-git-qa
username: fdelbrayelle
password: "{{ secret('GITHUB_ACCESS_TOKEN') }}"
branch: dev
commitMessage: "Add unit tests from {{ flow.namespace ~ '.' ~ flow.id }}"
Properties
branch string
Default
maincloneSubmodules booleanstring
commitMessage string
Default
Add unit tests from {{ flow.id }} namespacedelete booleanstring
Default
truedryRun booleanstring
Default
falsegitConfig object
gitDirectory string
Default
_unit_testspassphrase string
password string
privateKey string
unitTests object
Default
**