cgpu/Test Interact with Lifebit CloudOS with cloudos-cli

Test Interact with Lifebit CloudOS programmatically using the lifebit-ai/cloudos-cli

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jul 24, 2022
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: cgpu/test-action-cloudos-cli@c28f13dfd6157dee3dc55913a7ddeb8a12d324e5 # 0.1.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
apikeyLifebit CloudOS user personal API tokenyes
cloudos_urlThe Lifebit CloudOS application hostname without a trailing backslash eg https://cloudos.lifebit.aiyes
workspace_idThe Lifebit CloudOS workspace id. It Can be found under Settings in the web application.yes
project_nameThe Lifebit CloudOS workspace id. It can be created and selected from the Lifebit CloudOS web application user interface under Projects.yes
workflow_nameThe Lifebit CloudOS workflow name. It can be created and selected from the Lifebit CloudOS web application user interface under Pipelines & Tools.yes
job_configA local file with suffix .config, that includes only a params scope enclosed in curly brackets. The file should contain parameter key:value pairs. For example see: https://github.com/lifebit-ai/cloudos-cli/blob/dev/cloudos/examples/rnatoy.configno
nextflow_profileOne or many comma separated strings, indicating the nextflow profile/s to use with your job. Only applicable to Nextflow workflows.no
git_commitThe exact whole 40 character commit hash to run for the selected pipeline. If not specified it defaults to the last commit of the default branch.no
git_tagThe version tag of the chosen workflow repository. It must exist in the repositoryno
job_nameA name to assign to the job run.yesjob-via-github-actions-ci
instance_typeThe type of AWS EC2 instance to use as master node for the job eg c5.xlargeno
instance_diskDisk storage in GB to be used for the master node vm.no
storage_modeThe storage mode to use. Available options: [regular,lustre]. Regular is EBS.no
lustre_sizeThe lustre storage to be used when --storage-mode=lustre, in GB. It should be 1200 or a multiple of it.no
wait_timeMax time to wait (in seconds) to job completionno
wdl_mainfileFor WDL workflows, which mainFile (.wdl) is configured to use (string). This is defined when the WDL repository is imported under Pipelines & Tools using the Lifebit CloudOS web application user interface.no
wdl_importsfileFor WDL workflows, which importsFile (.zip) is configured to use (string). This is defined when the WDL repository is imported under Pipelines & Tools using the Lifebit CloudOS web application user interface.no
cromwell_tokenSpecific Cromwell server authentication token. Only required for WDL jobsno
repository_platformName of the repository platform of the workflow. Default=github.no
cloudos_cli_flagsAdditional cloudos-cli flags, space separated eg "--spot --resumable". Available options: [--spot, --batch, --resumable, --verbose, --wait-completion]no""
dry_runMode of execution for the action, by default the API call will be sent. Set to dry_run: true if you only want to print the command (strips secrets before printing).no""

no outputs