-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaction.yml
More file actions
91 lines (86 loc) · 2.76 KB
/
Copy pathaction.yml
File metadata and controls
91 lines (86 loc) · 2.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
name: action-tower-launch
author: Phil Ewels
description: Launch a workflow using Seqera Platform (https://cloud.seqera.io/)
branding:
icon: "play"
color: "purple"
inputs:
access_token:
description: Seqera Platform access token
required: true
compute_env:
description: Seqera Platform compute env
required: false
workspace_id:
description: Seqera Platform workspace ID
required: false
api_endpoint:
description: Seqera Platform API URL
required: false
default: https://api.cloud.seqera.io
pipeline:
description: Pipeline repository
default: https://github.com/${{ github.repository }}
required: false
revision:
description: Pipeline revision (release / branch)
required: false
workdir:
description: Nextflow work directory
required: false
parameters:
description: Pipeline parameters
required: false
default: ''
profiles:
description: Nextflow config profiles
required: false
run_name:
description: Seqera Platform Run Name
required: false
nextflow_config:
description: Nextflow config options
required: false
pre_run_script:
description: Pre-run script before launch
required: false
wait:
description: Set GitHub action to wait for pipeline completion
default: false
required: false
verbose:
description: >-
Enable verbose logging in the Tower CLI for debugging. WARNING: this makes
the CLI log full HTTP request/response bodies to tower_action_*.log.
GitHub's secret masking does not apply to that file.
default: false
required: false
outputs:
json:
description: JSON from tw launch with workflowID, workflowUrl, workspaceId, workspaceRef
workflowId:
description: Unique ID of the pipeline run in Seqera Platform.
workflowUrl:
description: URL to pipeline run in Seqera Platform.
workspaceId:
description: Unique ID of workspace in Seqera Platform in which the pipeline is running.
workspaceRef:
description: Human readable format of workspace in Seqera Platform in format '[ organisation / workspace ]'.
runs:
using: "docker"
image: Dockerfile
env:
TOWER_WORKSPACE_ID: ${{ inputs.workspace_id }}
TOWER_API_ENDPOINT: ${{ inputs.api_endpoint }}
TOWER_ACCESS_TOKEN: ${{ inputs.access_token }}
TOWER_COMPUTE_ENV: ${{ inputs.compute_env }}
PIPELINE: ${{ inputs.pipeline }}
REVISION: ${{ inputs.revision }}
WORKDIR: ${{ inputs.workdir }}
PARAMETERS: ${{ inputs.parameters != '' && toJson(fromJson(inputs.parameters)) || '' }}
CONFIG_PROFILES: ${{ inputs.profiles }}
RUN_NAME: ${{ inputs.run_name }}
NEXTFLOW_CONFIG: ${{ inputs.nextflow_config }}
PRE_RUN_SCRIPT: ${{ inputs.pre_run_script }}
WAIT: ${{ inputs.wait }}
VERBOSE: ${{ inputs.verbose }}