-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
62 lines (60 loc) · 2.64 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
name: 'BindPlane OP Action'
description: 'GitHub Action for BindPlane OP.'
author: 'observIQ'
inputs:
bindplane_remote_url:
description: 'The URL that will be used to connect to BindPlane OP'
required: true
bindplane_api_key:
description: 'The BindPlane OP API key that will be used to authenticate to BindPlane OP'
bindplane_username:
description: 'The BindPlane OP bindplane_username that will be used to authenticate to BindPlane OP'
bindplane_password:
description: 'The BindPlane OP bindplane_password that will be used to authenticate to BindPlane OP'
target_branch:
description: 'Resource apply and OTEL config write back will only happen when this branch is the current branch of the action'
destination_path:
description: 'Path to the file which contains the BindPlane destination resources'
source_path:
description: 'Path to the file which contains the BindPlane source resources'
processor_path:
description: 'Path to the file which contains the BindPlane processor resources'
configuration_path:
description: 'Path to the file which contains the BindPlane configuration resources'
enable_otel_config_write_back:
description: 'Enable OTEL raw config write back'
default: false
configuration_output_dir:
description: 'Path to the directory which will contain the rendered OTEL format of the configuration resources'
configuration_output_branch:
description: 'The branch to write the OTEL configuration resources to. If unset, target_branch will be used'
token:
description: 'The GitHub token used to authenticate to GitHub when writing OTEL configs back to the repo'
enable_auto_rollout:
description: 'When enabled, the action will trigger a rollout for all configurations that have been updated'
default: false
tls_ca_cert:
description: 'The CA certificate to use when connecting to BindPlane OP'
github_url:
description: 'The GitHub URL to use when connecting to GitHub'
runs:
using: 'docker'
image: 'Dockerfile'
# Arg order must match the order of the arg parsing
args:
- ${{ inputs.bindplane_remote_url }}
- ${{ inputs.bindplane_api_key }}
- ${{ inputs.bindplane_username }}
- ${{ inputs.bindplane_password }}
- ${{ inputs.target_branch }}
- ${{ inputs.destination_path }}
- ${{ inputs.configuration_path }}
- ${{ inputs.enable_otel_config_write_back }}
- ${{ inputs.configuration_output_dir }}
- ${{ inputs.token }}
- ${{ inputs.enable_auto_rollout }}
- ${{ inputs.configuration_output_branch }}
- ${{ inputs.tls_ca_cert }}
- ${{ inputs.source_path }}
- ${{ inputs.processor_path }}
- ${{ inputs.github_url }}