Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions client_reference/kosli_diff_snapshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ kosli diff snapshots aws-beta aws-prod --output=json
```json
{
"snappish1": {
"snapshot_id": "aws-beta#7240",
"snapshot_id": "aws-beta#7251",
"artifacts": [
{
"fingerprint": "024abeaf878f55e501869bdfcef2651d04084fa5492a6c515c5146d6a4ebd756",
Expand All @@ -78,14 +78,6 @@ kosli diff snapshots aws-beta aws-prod --output=json
"commit_url": "https://github.com/cyber-dojo/exercises-start-points/commit/7d472fe23646dcf286e7845258598d9846df636b",
"instance_count": 1
},
{
"fingerprint": "4ab912309304956f1b462acd0313170d4eef00fd46ee06921c7a60978001273d",
"name": "244531986313.dkr.ecr.eu-central-1.amazonaws.com/saver:b909280@sha256:4ab912309304956f1b462acd0313170d4eef00fd46ee06921c7a60978001273d",
"most_recent_timestamp": 1781436253,
"flow": "saver-ci",
"commit_url": "https://github.com/cyber-dojo/saver/commit/b909280dcfac31d336ec145a90d73e0904dd2bb7",
"instance_count": 1
},
{
"fingerprint": "82bd54f6d6cce8a290b0dbb106177c731ace68e6d1829c91e969de8d841d125f",
"name": "244531986313.dkr.ecr.eu-central-1.amazonaws.com/web:47ef6ca@sha256:82bd54f6d6cce8a290b0dbb106177c731ace68e6d1829c91e969de8d841d125f",
Expand All @@ -102,6 +94,14 @@ kosli diff snapshots aws-beta aws-prod --output=json
"commit_url": "https://github.com/cyber-dojo/runner/commit/c248c8e2175307f6906e4a016d09b21d177923bd",
"instance_count": 3
},
{
"fingerprint": "b0ac80b4b90e684564fdda70932166d1ccf8033640242bae23aee17e1a5fed6e",
"name": "244531986313.dkr.ecr.eu-central-1.amazonaws.com/saver:fbae360@sha256:b0ac80b4b90e684564fdda70932166d1ccf8033640242bae23aee17e1a5fed6e",
"most_recent_timestamp": 1781797558,
"flow": "saver-ci",
"commit_url": "https://github.com/cyber-dojo/saver/commit/fbae360261d949b25a66a927921e757d4d064543",
"instance_count": 1
},
{
"fingerprint": "b62ed52cf05c8482962b91ab0ac5334719e692634286723ddcd41f7bf60d9305",
"name": "244531986313.dkr.ecr.eu-central-1.amazonaws.com/languages-start-points:063682d@sha256:b62ed52cf05c8482962b91ab0ac5334719e692634286723ddcd41f7bf60d9305",
Expand Down Expand Up @@ -137,7 +137,7 @@ kosli diff snapshots aws-beta aws-prod --output=json
]
},
"snappish2": {
"snapshot_id": "aws-prod#4781",
"snapshot_id": "aws-prod#4789",
"artifacts": [
{
"fingerprint": "29c69c2f30f261a26fff4793fd8ae44b9081def1d4bcaaa27b0fef0501d949e4",
Expand Down
6 changes: 3 additions & 3 deletions client_reference/kosli_get_environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ kosli get environment aws-prod --output=json
"name": "aws-prod",
"type": "ECS",
"description": "The ECS cluster for production cyber-dojo",
"last_modified_at": 1781604298.5932145,
"last_reported_at": 1781604298.5932145,
"last_changed_at": 1781596438.4966626,
"last_modified_at": 1781802478.7047107,
"last_reported_at": 1781802478.7047107,
"last_changed_at": 1781764378.5891397,
"state": true,
"include_scaling": false,
"tags": {
Expand Down
2,448 changes: 1,224 additions & 1,224 deletions client_reference/kosli_get_snapshot.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client_reference/kosli_get_trail.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Get the metadata of a specific trail.
| :--- | :--- |
| `-f`, `--flow` string | The Kosli flow name. |
| `-h`, `--help` | help for trail |
| `-o`, `--output` string | [defaulted] The format of the output. Valid formats are: [table, json]. (default "table") |
| `-o`, `--output` string | [defaulted] The format of the output. Valid formats are: [table, json, markdown]. (default "table") |


## Flags inherited from parent commands
Expand Down
16 changes: 8 additions & 8 deletions client_reference/kosli_list_environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ kosli list environments --output=json
"name": "aws-beta",
"type": "ECS",
"description": "The ECS cluster for staging cyber-dojo",
"last_modified_at": 1781604264.0449266,
"last_reported_at": 1781604264.0449266,
"last_changed_at": 1781597303.9477544,
"last_modified_at": 1781802504.1128178,
"last_reported_at": 1781802504.1128178,
"last_changed_at": 1781797644.0009706,
"state": true,
"include_scaling": false,
"tags": {
Expand All @@ -86,9 +86,9 @@ kosli list environments --output=json
"name": "aws-prod",
"type": "ECS",
"description": "The ECS cluster for production cyber-dojo",
"last_modified_at": 1781604298.5932145,
"last_reported_at": 1781604298.5932145,
"last_changed_at": 1781596438.4966626,
"last_modified_at": 1781802478.7047107,
"last_reported_at": 1781802478.7047107,
"last_changed_at": 1781764378.5891397,
"state": true,
"include_scaling": false,
"tags": {
Expand All @@ -108,9 +108,9 @@ kosli list environments --output=json
"name": "production",
"type": "logical",
"description": "Production environments for cyber-dojo",
"last_modified_at": 1781596438.4966626,
"last_modified_at": 1781764378.5891397,
"last_reported_at": null,
"last_changed_at": 1781596438.4966626,
"last_changed_at": 1781764378.5891397,
"state": true,
"include_scaling": false,
"tags": {},
Expand Down
116 changes: 58 additions & 58 deletions client_reference/kosli_list_snapshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,68 @@ kosli list snapshots aws-prod --output=json

```json
[
{
"index": 4789,
"from": 1781764378.5891397,
"to": 0.0,
"compliant": true,
"duration": 38157.75528383255
},
{
"index": 4788,
"from": 1781764318.4655225,
"to": 1781764378.5891397,
"compliant": true,
"duration": 60.12361717224121
},
{
"index": 4787,
"from": 1781764198.6089904,
"to": 1781764318.4655225,
"compliant": true,
"duration": 119.8565320968628
},
{
"index": 4786,
"from": 1781764138.425254,
"to": 1781764198.6089904,
"compliant": true,
"duration": 60.1837363243103
},
{
"index": 4785,
"from": 1781764018.5686495,
"to": 1781764138.425254,
"compliant": true,
"duration": 119.85660457611084
},
{
"index": 4784,
"from": 1781679118.686044,
"to": 1781764018.5686495,
"compliant": true,
"duration": 84899.88260555267
},
{
"index": 4783,
"from": 1781678878.4909782,
"to": 1781679118.686044,
"compliant": true,
"duration": 240.19506573677063
},
{
"index": 4782,
"from": 1781678698.538556,
"to": 1781678878.4909782,
"compliant": true,
"duration": 179.9524221420288
},
{
"index": 4781,
"from": 1781596438.4966626,
"to": 0.0,
"to": 1781678698.538556,
"compliant": true,
"duration": 7872.4069356918335
"duration": 82260.04189348221
},
{
"index": 4780,
Expand Down Expand Up @@ -113,62 +169,6 @@ kosli list snapshots aws-prod --output=json
"to": 1781596078.5283337,
"compliant": true,
"duration": 899.9678573608398
},
{
"index": 4774,
"from": 1781593978.426208,
"to": 1781595178.5604763,
"compliant": true,
"duration": 1200.134268283844
},
{
"index": 4773,
"from": 1781593799.0334685,
"to": 1781593978.426208,
"compliant": true,
"duration": 179.39273953437805
},
{
"index": 4772,
"from": 1781593738.5721767,
"to": 1781593799.0334685,
"compliant": true,
"duration": 60.461291790008545
},
{
"index": 4771,
"from": 1781592238.465858,
"to": 1781593738.5721767,
"compliant": true,
"duration": 1500.1063187122345
},
{
"index": 4770,
"from": 1781592178.6246305,
"to": 1781592238.465858,
"compliant": true,
"duration": 59.841227531433105
},
{
"index": 4769,
"from": 1781590498.431212,
"to": 1781592178.6246305,
"compliant": true,
"duration": 1680.1934185028076
},
{
"index": 4768,
"from": 1781590138.5979598,
"to": 1781590498.431212,
"compliant": false,
"duration": 359.8332521915436
},
{
"index": 4767,
"from": 1781535898.6708055,
"to": 1781590138.5979598,
"compliant": true,
"duration": 54239.9271543026
}
]
```
Expand Down
Loading