Skip to content

Commit 5c1b6a4

Browse files
authored
Add status page info (#548)
* docs: add info about status page * fix: revert prettifying changes
1 parent 54de4a7 commit 5c1b6a4

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

docs.kosli.com/content/tutorials/what_do_i_do_if_kosli_is_down.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ This will break CI workflow pipelines, blocking artifacts from being deployed.
1313
In this situation there is a built-in mechanism to instantly turn Kosli off and keep the pipelines flowing.
1414
When Kosli is back up, you can instantly turn Kosli back on.
1515

16+
{{% hint info %}}
17+
You can check the current status of Kosli services at https://status.app.kosli.com or by running `kosli status` in the CLI.
18+
{{% /hint %}}
19+
1620
## Turning Kosli CLI calls on and off instantly
1721

1822
If the `KOSLI_DRY_RUN` environment variable is set to `true` then all Kosli CLI commands will:
@@ -21,7 +25,7 @@ If the `KOSLI_DRY_RUN` environment variable is set to `true` then all Kosli CLI
2125
* Exit with a zero status code
2226

2327
We recommend creating an Org-level KOSLI_DRY_RUN variable in your CI system and, in all CI workflows,
24-
ensuring there is an environment variable set from it.
28+
ensuring there is an environment variable set from it.
2529

2630
For example, in a [Github Action workflow](https://github.com/cyber-dojo/differ/blob/main/.github/workflows/main.yml):
2731

@@ -32,10 +36,9 @@ env:
3236
KOSLI_DRY_RUN: ${{ vars.KOSLI_DRY_RUN }} # true iff Kosli is down
3337
```
3438
35-
3639
## Turning Kosli API calls on and off instantly
3740
38-
If you are using the Kosli API in your workflows (e.g. using `curl`), we recommend using the same Org-level `KOSLI_DRY_RUN`
41+
If you are using the Kosli API in your workflows (e.g. using `curl`), we recommend using the same Org-level `KOSLI_DRY_RUN`
3942
environment variable and guarding the `curl` call with a simple if statement. For example:
4043

4144
```shell
@@ -54,7 +57,3 @@ kosli_curl()
5457
fi
5558
}
5659
```
57-
58-
59-
60-

0 commit comments

Comments
 (0)