You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix various issues that have been discovered during the review process
including outdated descriptions, better validation of parameters, YAML
indentation, no root, consistency with other tasks in the repo...
Signed-off-by: Michal Šoltis <msoltis@redhat.com>
|secret-name|Secret with at least one key where value is webhook URL for slack. eg. oc create secret generic my-secret --from-literal team1=<https://hooks.slack.com/services/XXX/XXXXXX> --from-literal team2=<https://hooks.slack.com/services/YYY/YYYYYY>|slack-webhook-notification-secret|false|
11
-
|key-name|Key in the key in secret which contains webhook URL for slack.||true|
12
-
|user-ids|List of Slack user IDs to mention (e.g., U024BE7LH). If set, the users will be mentioned in the notification.|[]|false|
13
-
|group-ids|List of Slack group IDs to mention (e.g., S0614TZR7). If set, the groups will be mentioned in the notification.|[]|false|
14
-
|submodules|List of submodules name to dump. Git log since previous submodule commit will be added to the message. The previous submodule commit is found by looking at the previous commit in the repository that declares the submodules.|[]|false|
15
-
|files|List of file to dump. The content will be added to the message.|[]|false|
11
+
| Name | Description | Default | Required |
12
+
|---|---|---|---|
13
+
|`message`|Message to be sent|| Yes |
14
+
|`secret-name`|Secret with at least one key whose value is a Slack incoming webhook URL |`slack-webhook-notification-secret`| No |
15
+
|`key-name`|Key in the secret which contains the webhook URL for Slack || Yes |
16
+
|`user-ids`|List of Slack user IDs to mention (e.g.`U024BE7LH`) |`[]`| No |
17
+
|`group-ids`|List of Slack group IDs to mention (e.g.`S0614TZR7`) |`[]`| No |
18
+
|`submodules`|List of submodule names to dump into the message. Requires the source workspace |`[]`| No |
19
+
|`files`|List of files to dump into the message. Requires the source workspace |`[]`| No |
16
20
17
21
## Workspaces
18
22
19
-
|name|description|optional|
20
-
|---|---|---|
21
-
|source|Workspace containing the source code to build.|true|
23
+
| Name | Description | Optional |
24
+
| --- | --- | --- |
25
+
|`source`| Workspace containing the cloned repository. Required when files or submodules are set | Yes |
description: Secret with at least one key whose value is a Slack incoming webhook URL
20
21
default: slack-webhook-notification-secret
21
22
- name: key-name
22
-
description: Key in the key in secret which contains webhook URL for slack.
23
+
type: string
24
+
description: Key in the secret which contains the webhook URL for Slack
23
25
- name: user-ids
24
26
type: array
25
-
description: List of Slack user IDs to mention (e.g., U024BE7LH). If set, the users will be mentioned in the notification.
27
+
description: List of Slack user IDs to mention (e.g. U024BE7LH)
26
28
default: []
27
29
- name: group-ids
28
30
type: array
29
-
description: List of Slack group IDs to mention (e.g., S0614TZR7). If set, the groups will be mentioned in the notification.
31
+
description: List of Slack group IDs to mention (e.g. S0614TZR7)
30
32
default: []
31
33
- name: submodules
32
34
type: array
33
-
description: List of submodules name to dump. Git log since previous submodule commit will be added to the message. The previous submodule commit is found by looking at the previous commit in the repository that declares the submodules.
35
+
description: List of submodule names to dump into the message. Requires the source workspace
34
36
default: []
35
37
- name: files
36
38
type: array
37
-
description: List of file to dump. The content will be added to the message.
39
+
description: List of files to dump into the message. Requires the source workspace
0 commit comments