-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
56 lines (55 loc) · 1.67 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: 'Okteto Test'
description: 'Run tests in Okteto manifest'
inputs:
name:
description: "The name of the dev environment"
required: false
default: ""
namespace:
description: "The namespace scope for this action. Defaults to the current context if not specified."
required: false
default: ""
file:
description: "Path to the Okteto manifest file. Defaults to the default path if not specified."
required: false
default: ""
deploy:
description: 'Deploy the dev environment even if it has already been deployed'
required: false
default: 'false'
no-cache:
description: 'Do not use the cache when running the tests'
required: false
default: 'false'
variables:
description: "Variables to be used by the dev environment. If multiple variables are present, separate them with commas (e.g., VAR1=VAL1,VAR2=VAL2)"
required: false
default: ""
timeout:
description: "The length of time to wait for completion (e.g., 1s, 2m, 3h)"
required: false
default: "5m"
tests:
description: "The test sections to run, separated by spaces. Runs all tests if no tests are defined (e.g., 'unit integration')."
required: false
default: ""
log-level:
description: "Log level for the action. Valid options: debug, info, warn, error."
required: false
default: ""
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.name }}
- ${{ inputs.namespace }}
- ${{ inputs.file }}
- ${{ inputs.deploy }}
- ${{ inputs.no-cache }}
- ${{ inputs.variables }}
- ${{ inputs.timeout }}
- ${{ inputs.tests }}
- ${{ inputs.log-level }}
branding:
color: 'green'
icon: 'layers'