Skip to content

Commit

Permalink
Merge pull request #21 from aliceinwire/pytest_update
Browse files Browse the repository at this point in the history
kci-dev.toml.example: Update with pipeline api and kernelci api
  • Loading branch information
aliceinwire authored Oct 3, 2024
2 parents e21a20a + 7bc93ba commit 2a57fb2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
10 changes: 7 additions & 3 deletions .kci-dev.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ default_instance="local"
host="https://127.0.0.1"
token="example"

[staging]
[staging_pipeline]
host="https://staging.kernelci.org:9100/"
token="example"

[staging_api]
host="https://staging.kernelci.org:9000/latest/"
host="https://staging.kernelci.org:9000/"
token="example"

[production]
[production_pipeline]
host="https://kernelci-pipeline.westus3.cloudapp.azure.com/"
token="example"

[production_api]
host="https://kernelci-api.westus3.cloudapp.azure.com/"
token="example"
19 changes: 14 additions & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,27 @@ poetry run kci-dev

kci-dev uses a configuration file .kci-dev.toml in the program directory.
```toml
default_instance="staging"
default_instance="local"

[local]
host="https://127.0.0.1"
token="example"

[staging]
[staging_pipeline]
host="https://staging.kernelci.org:9100/"
token="SOMEVERYSECRETTOKEN"
token="example"

[staging_api]
host="https://staging.kernelci.org:9000/"
token="example"

[production]
[production_pipeline]
host="https://kernelci-pipeline.westus3.cloudapp.azure.com/"
token="example"

[production_api]
host="https://kernelci-api.westus3.cloudapp.azure.com/"
token="example"
```

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

Example:
```sh
kci-dev --instance staging
kci-dev --instance staging_api
```

### settings
Expand Down

0 comments on commit 2a57fb2

Please sign in to comment.