Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kci-dev.toml.example: Update with pipeline api and kernelci api #21

Merged
merged 1 commit into from
Oct 3, 2024
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
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
Loading