Skip to content

Commit 2a57fb2

Browse files
authored
Merge pull request #21 from aliceinwire/pytest_update
kci-dev.toml.example: Update with pipeline api and kernelci api
2 parents e21a20a + 7bc93ba commit 2a57fb2

File tree

2 files changed

+21
-8
lines changed

2 files changed

+21
-8
lines changed

.kci-dev.toml.example

+7-3
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@ default_instance="local"
44
host="https://127.0.0.1"
55
token="example"
66

7-
[staging]
7+
[staging_pipeline]
88
host="https://staging.kernelci.org:9100/"
99
token="example"
1010

1111
[staging_api]
12-
host="https://staging.kernelci.org:9000/latest/"
12+
host="https://staging.kernelci.org:9000/"
1313
token="example"
1414

15-
[production]
15+
[production_pipeline]
1616
host="https://kernelci-pipeline.westus3.cloudapp.azure.com/"
1717
token="example"
18+
19+
[production_api]
20+
host="https://kernelci-api.westus3.cloudapp.azure.com/"
21+
token="example"

docs/index.md

+14-5
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,27 @@ poetry run kci-dev
1818

1919
kci-dev uses a configuration file .kci-dev.toml in the program directory.
2020
```toml
21-
default_instance="staging"
21+
default_instance="local"
22+
2223
[local]
2324
host="https://127.0.0.1"
2425
token="example"
2526

26-
[staging]
27+
[staging_pipeline]
2728
host="https://staging.kernelci.org:9100/"
28-
token="SOMEVERYSECRETTOKEN"
29+
token="example"
30+
31+
[staging_api]
32+
host="https://staging.kernelci.org:9000/"
33+
token="example"
2934

30-
[production]
35+
[production_pipeline]
3136
host="https://kernelci-pipeline.westus3.cloudapp.azure.com/"
3237
token="example"
38+
39+
[production_api]
40+
host="https://kernelci-api.westus3.cloudapp.azure.com/"
41+
token="example"
3342
```
3443

3544
Where `default_instance` is the default instance to use, if not provided in the command line.
@@ -45,7 +54,7 @@ You can provide the instance name to use for the command.
4554

4655
Example:
4756
```sh
48-
kci-dev --instance staging
57+
kci-dev --instance staging_api
4958
```
5059

5160
### settings

0 commit comments

Comments
 (0)