-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathaction.yml
38 lines (38 loc) · 1.37 KB
/
action.yml
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
name: "Okteto Pipeline"
description: "Trigger your repository's okteto pipeline"
inputs:
name:
description: "The name of the pipeline"
required: true
namespace:
description: "If present, the namespace scope for this action. If not specified, it will use the current context"
required: false
timeout:
description: "The length of time to wait for completion, zero means never. Any other values should contain a corresponding time unit e.g. 1s, 2m, 3h (default 5m0s)"
required: false
skipIfExists:
description: "Skip the pipeline deployment if the pipeline already exists in the namespace (defaults to false)"
required: false
variables:
description: "Variables to be used by the pipeline. If several variables are present, they should be separated by commas e.g. VAR1=VAL1,VAR2=VAL2,VAR3=VAL3"
required: false
filename:
description: "path to the pipeline file, if not specified the default path will be used"
required: false
log-level:
description: "Log level string. Valid options are debug, info, warn, error"
required: false
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.name }}
- ${{ inputs.namespace }}
- ${{ inputs.timeout }}
- ${{ inputs.skipIfExists }}
- ${{ inputs.variables }}
- ${{ inputs.filename }}
- ${{ inputs.log-level }}
branding:
color: "green"
icon: "settings"