kernelci / kernelci-core

Core KernelCI tools
https://kernelci.org
GNU Lesser General Public License v2.1
99 stars 96 forks source link

kernelci.cli.job: fix `kci job submit` command #2573

Closed JenySadadia closed 1 week ago

JenySadadia commented 1 month ago

Fixes https://github.com/kernelci/kernelci-core/issues/2574

kci job submit is not able to find runtime_token for the TOML configuration. Fix the bug by providing api config entry as it will look for api.<api-config>.runtime_token in the kci.secrets section of the TOML file.

JenySadadia commented 1 week ago

Tested OK on staging.