Skip to content

Commit

Permalink
kbuild.py: Remove hardcoded staging config
Browse files Browse the repository at this point in the history
Cleanup, remove staging config left by mistake.

Signed-off-by: Denys Fedoryshchenko <[email protected]>
  • Loading branch information
nuclearcat committed Jan 16, 2024
1 parent ab7e287 commit 02c6434
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions kernelci/kbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,11 +519,7 @@ def submit(self, retcode):
api_token = os.environ.get('KCI_API_TOKEN')
if not api_token:
raise ValueError("KCI_API_TOKEN is not set")
config = '/etc/kernelci/core/api-configs.yaml'
configs = kernelci.config.load(config)
api = 'staging.kernelci.org'
api_config = configs['api'][api]
api = kernelci.api.get_api(api_config, api_token)
api = kernelci.api.get_api(self._api_config, api_token)
# TODO/FIXME: real detailed job result

Check warning on line 523 in kernelci/kbuild.py

View workflow job for this annotation

GitHub Actions / Lint

Line too long (116/100)
# pass fail skip incomplete
if retcode != 0:
Expand Down

0 comments on commit 02c6434

Please sign in to comment.