diff --git a/.kci-dev.toml.example b/.kci-dev.toml.example index 31ff78e..b9ac8df 100644 --- a/.kci-dev.toml.example +++ b/.kci-dev.toml.example @@ -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" diff --git a/docs/index.md b/docs/index.md index c49ed2a..79d31fd 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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. @@ -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