Skip to content

Commit

Permalink
Release: Auto approve: Fixed wrong logic in check of membership (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
sami-alajrami committed Nov 13, 2023
1 parent d3183a1 commit 9a86727
Show file tree
Hide file tree
Showing 129 changed files with 139 additions and 3,319 deletions.
2 changes: 1 addition & 1 deletion docs.kosli.com/assets/metadata.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"currentversion": "v2.6.12"}
{"currentversion": "v2.6.13"}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ kosli report evidence commit jira [flags]
## Flags
| Flag | Description |
| :--- | :--- |
| --assert | [optional] Exit with non-zero code if no jira issue reference found, or jira issue does not exist, for the given commit or branch. |
| -b, --build-url string | The url of CI pipeline that generated the evidence. (defaulted in some CIs: https://docs.kosli.com/ci-defaults ). |
| --commit string | Git commit for which to verify and given evidence. (defaulted in some CIs: https://docs.kosli.com/ci-defaults ). |
| -D, --dry-run | [optional] Run in dry-run mode. When enabled, no data is sent to Kosli and the CLI exits with 0 exit code regardless of any errors. |
Expand Down Expand Up @@ -95,5 +96,19 @@ kosli report evidence commit jira \
--org yourOrgName \
--user-data /path/to/json/file.json


# fail if no issue reference is found, or the issue is not found in your jira instance
kosli report evidence commit jira \
--commit yourGitCommitSha1 \
--name yourEvidenceName \
--jira-base-url https://kosli.atlassian.net \
--jira-username [email protected] \
--jira-api-token yourJiraAPIToken \
--flows yourFlowName \
--build-url https://exampleci.com \
--api-token yourAPIToken \
--org yourOrgName \
--assert

```

4 changes: 2 additions & 2 deletions docs.kosli.com/content/helm/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ helm upgrade [RELEASE-NAME] kosli/k8s-reporter
| kosliApiToken.secretKey | string | `""` | the name of the key in the secret data which contains the kosli API token |
| kosliApiToken.secretName | string | `""` | the name of the secret containing the kosli API token |
| nameOverride | string | `""` | overrides the name used for the created k8s resources. If `fullnameOverride` is provided, it has higher precedence than this one |
| podAnnotations | object | `{}` | any custom annotations to be added to the cronjob |
| podAnnotations | object | `{}` | |
| reporterConfig.dryRun | bool | `false` | whether the dry run mode is enabled or not. In dry run mode, the reporter logs the reports to stdout and does not send them to kosli. |
| reporterConfig.kosliEnvironmentName | string | `""` | the name of kosli environment that the k8s cluster/namespace correlates to |
| reporterConfig.kosliOrg | string | `""` | the name of the kosli org |
Expand All @@ -74,5 +74,5 @@ helm upgrade [RELEASE-NAME] kosli/k8s-reporter
| serviceAccount.name | string | `""` | the name of the service account to use. If not set and create is true, a name is generated using the fullname template |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)

7 changes: 0 additions & 7 deletions docs.kosli.com/content/legacy_ref/v0.1.38/_index.md

This file was deleted.

31 changes: 0 additions & 31 deletions docs.kosli.com/content/legacy_ref/v0.1.38/kosli.md

This file was deleted.

63 changes: 0 additions & 63 deletions docs.kosli.com/content/legacy_ref/v0.1.38/kosli_approval_get.md

This file was deleted.

63 changes: 0 additions & 63 deletions docs.kosli.com/content/legacy_ref/v0.1.38/kosli_approval_ls.md

This file was deleted.

59 changes: 0 additions & 59 deletions docs.kosli.com/content/legacy_ref/v0.1.38/kosli_artifact_get.md

This file was deleted.

62 changes: 0 additions & 62 deletions docs.kosli.com/content/legacy_ref/v0.1.38/kosli_artifact_ls.md

This file was deleted.

61 changes: 0 additions & 61 deletions docs.kosli.com/content/legacy_ref/v0.1.38/kosli_assert_artifact.md

This file was deleted.

Loading

0 comments on commit 9a86727

Please sign in to comment.