pushunittests pushunittests
pushunittests Certified
Enterprise Edition Talk to us

yaml
type: "io.kestra.plugin.ee.git.pushunittests"
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
Default`username`
Defaultmain
DefaultAdd unit tests from {{ flow.id }} namespace
Defaulttrue
Defaultfalse
Default_unit_tests
Default**