Skip to content

Commit 898de9b

Browse files
committed
Release: Run cli tests daily (#449)
* Add cron job to main.yml to run tests every weekday morning * Update cron job to only run on weekdays
1 parent 3a6f6d5 commit 898de9b

File tree

100 files changed

+870
-52
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+870
-52
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"currentversion": "v2.11.8"}
1+
{"currentversion": "v2.11.9"}

docs.kosli.com/content/client_reference/kosli_assert_artifact.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ In [this YAML file](https://app.kosli.com/api/v2/livedocs/cyber-dojo/yaml?ci=git
5858
kosli assert artifact \
5959
--fingerprint 184c799cd551dd1d8d5c5f9a5d593b2e931f5e36122ee5c793c1d08a19839cc0 \
6060
--flow yourFlowName \
61-
--against-env prod \
61+
--environment prod \
6262
--api-token yourAPIToken \
6363
--org yourOrgName
6464

docs.kosli.com/content/client_reference/kosli_attest_sonar.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@
22
title: "kosli attest sonar"
33
beta: false
44
deprecated: false
5-
summary: "Report a SonarCloud or SonarQube attestation to an artifact or a trail in a Kosli flow. "
5+
summary: "Report a SonarQube attestation to an artifact or a trail in a Kosli flow. "
66
---
77

88
# kosli attest sonar
99

1010
## Synopsis
1111

12-
Report a SonarCloud or SonarQube attestation to an artifact or a trail in a Kosli flow.
13-
Retrieves results for the specified scan from SonarCloud or SonarQube and attests them to Kosli.
12+
Report a SonarQube attestation to an artifact or a trail in a Kosli flow.
13+
Retrieves results for the specified scan from SonarQube Cloud or SonarQube Server and attests them to Kosli.
1414
The results are parsed to find the status of the project's quality gate which is used to determine the attestation's compliance status.
1515

1616
The scan to be retrieved can be specified in two ways:
1717
1. (Default) Using metadata created by the Sonar scanner. By default this is located within a temporary .scannerwork folder in the repo base directory.
1818
If you have overriden the location of this folder by passing parameters to the Sonar scanner, or are running Kosli's CLI locally outside the repo's base directory,
1919
you can provide the correct path using the --sonar-working-dir flag. This metadata is generated by a specific scan, allowing Kosli to retrieve the results of that scan.
2020
2. Providing the Sonar project key and the revision of the scan (plus the SonarQube server URL if relevant). If running the Kosli CLI in some CI/CD pipeline, the revision
21-
is defaulted to the commit SHA. If you are running the command locally, or have overriden the revision in SonarCloud/SonarQube via parameters to the Sonar scanner, you can
21+
is defaulted to the commit SHA. If you are running the command locally, or have overriden the revision in SonarQube via parameters to the Sonar scanner, you can
2222
provide the correct revision using the --sonar-revision flag. Kosli then finds the scan results for the specified project key and revision.
2323

24-
Note that if your project is very large and you are using SonarCloud's automatic analysis, it is possible for the attest sonar command to run before the SonarCloud scan is completed.
24+
Note that if your project is very large and you are using SonarQube Cloud's automatic analysis, it is possible for the attest sonar command to run before the SonarQube Cloud scan is completed.
2525
In this case, we recommend using Kosli's Sonar webhook integration ( https://docs.kosli.com/integrations/sonar/ ) rather than the CLI to attest the scan results.
2626

2727

@@ -85,7 +85,7 @@ In [this YAML file](https://app.kosli.com/api/v2/livedocs/cyber-dojo/yaml?ci=git
8585

8686
## Examples Use Cases
8787

88-
**report a sonarcloud attestation about a trail using Sonar's metadata**
88+
**report a SonarQube Cloud attestation about a trail using Sonar's metadata**
8989

9090
```shell
9191
kosli attest sonar \
@@ -99,7 +99,7 @@ kosli attest sonar \
9999

100100
```
101101

102-
**report a sonarqube attestation about a trail using Sonar's metadata**
102+
**report a SonarQube Server attestation about a trail using Sonar's metadata**
103103

104104
```shell
105105
kosli attest sonar \
@@ -113,7 +113,7 @@ kosli attest sonar \
113113

114114
```
115115

116-
**report a sonarcloud attestation for a specific branch about a trail using key/revision**
116+
**report a SonarQube Cloud attestation for a specific branch about a trail using key/revision**
117117

118118
```shell
119119
kosli attest sonar \
@@ -129,7 +129,7 @@ kosli attest sonar \
129129

130130
```
131131

132-
**report a sonarqube attestation for a pull-request about a trail using key/revision**
132+
**report a SonarQube Server attestation for a pull-request about a trail using key/revision**
133133

134134
```shell
135135
kosli attest sonar \
@@ -146,7 +146,7 @@ kosli attest sonar \
146146

147147
```
148148

149-
**report a sonarcloud attestation about a trail with an attachment using Sonar's metadata**
149+
**report a SonarQube Cloud attestation about a trail with an attachment using Sonar's metadata**
150150

151151
```shell
152152
kosli attest sonar \

docs.kosli.com/content/legacy_ref/v2.11.3/_index.md

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: v2.11.4
33
bookCollapseSection: true
4-
weight: 603
4+
weight: 604
55
---
66

77
# v2.11.4
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: v2.11.5
33
bookCollapseSection: true
4-
weight: 602
4+
weight: 603
55
---
66

77
# v2.11.5
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: v2.11.6
33
bookCollapseSection: true
4-
weight: 601
4+
weight: 602
55
---
66

77
# v2.11.6
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: v2.11.7
33
bookCollapseSection: true
4-
weight: 600
4+
weight: 601
55
---
66

77
# v2.11.7
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: v2.11.8
3+
bookCollapseSection: true
4+
weight: 600
5+
---
6+
7+
# v2.11.8

docs.kosli.com/content/legacy_ref/v2.11.3/kosli.md renamed to docs.kosli.com/content/legacy_ref/v2.11.8/kosli.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: "kosli"
33
beta: false
44
deprecated: false
5+
summary: "The Kosli CLI."
56
---
67

78
# kosli

0 commit comments

Comments
 (0)