Skip to content

foundriesio/lava-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LAVA job submit action

This action submits LAVA job to a LAVA instance

Inputs

job_definition

Required File path to fully rendered job definition

lava_token

Required Authorization token from user able to submit test jobs.

lava_url

Required URL of LAVA instance.

wait_for_job

Wait for job completion and stream logs'

fail_action_on_failure

Marks action failed in any test result is fail. Requires wait_for_job set to true

'save_result_as_artifact'

Saves JUNIT file with test results. The file name is test-resutls-<lava job ID>.xml. The file is saved to the top directory of the workflow artifacts.

Example usage

uses: foundries/lava-action@v3
timeout-minutes: 10
with:
  lava_token: '<auth token>'
  lava_url: 'example.lava.instance'
  job_definition: 'lavajob.yaml'
  wait_for_job: 'true'
  fail_action_on_failure: 'true'

Note! It is advised to set timeout-minutes to avoid the job runninng indefinitely.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published