-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
91 lines (91 loc) · 2.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
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
# action.yml
name: 'tekh-action'
description: 'Update an existing tekh repository to latest'
inputs:
chart:
description: helm chart to use
required: true
url:
description: helm url to use
required: false
default: "__UNSET__"
namespace:
description: namespace in which to install the application
required: false
default: "__UNSET__"
name:
description: name of the application to install
required: true
values:
description: values file to use
required: false
default: "__UNSET__"
version:
description: version to use
required: false
default: "__UNSET__"
additional:
description: Any additional arguments to pass to tekh
required: false
default: "__UNSET__"
ignore:
description: >
Comma-separated list of words to ignore when considering whether a repo has changed.
For example, helm.sh/chart,checksum/ to ignore non-functional chart version bumps
required: false
default: "__UNSET__"
update_documentation:
description: 'Whether to update the documentation (default false)'
required: false
default: 'true'
documentation_file:
description: >-
Documentation file to update if `update_documentation` is `true` (default README.md)
required: false
default: 'README.md'
working_directory:
description: >
Path in which to run tekh
required: false
default: /github/workspace
custom_image_name:
description: >
An option to pass in a custom image tag to base the versioning off. This should only be done for projects that do not contain a helm version
required: false
default: "__UNSET__"
version_label:
description: >
Label to look for helm chart version
default: "helm.sh/chart"
app_version_label:
description: >
Label to look for internal application version
default: "app.kubernetes.io/version"
outputs:
app_version:
description: Chart version of upgrade
version:
description: Chart version of upgrade
changed:
description: Whether or not anything changed
commit_message:
description: Commit message generated from version change
runs:
using: 'docker'
image: docker://public.ecr.aws/skedulo/tekh:v0.8.2-2-gd450b41
entrypoint: /action.sh
args:
- ${{ inputs.working_directory }}
- ${{ inputs.chart }}
- ${{ inputs.url }}
- ${{ inputs.name }}
- ${{ inputs.namespace }}
- ${{ inputs.values }}
- ${{ inputs.additional }}
- ${{ inputs.update_documentation }}
- ${{ inputs.documentation_file }}
- ${{ inputs.ignore }}
- ${{ inputs.custom_image_name }}
- ${{ inputs.version }}
- ${{ inputs.version_label }}
- ${{ inputs.app_version_label }}