thoth-station / kebechet

I'm Kebechet bot, goddess of freshness - I will keep your source code fresh and up-to-date
24 stars 20 forks source link

Facing issue when using kebechet for version update only #1169

Closed harshad16 closed 1 year ago

harshad16 commented 1 year ago

Bug description

We use kebechet for only version updates on non-python type code-base repositories. when tried to make a new release using the kebechet version manager. we are facing following issues:

  File "/home/user/.local/share/virtualenvs/user-5PivF_Od/lib/python3.8/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "kebechet-cli", line 167, in cli_run_webhook
    run_webhook(payload=payload)
  File "/home/user/kebechet/kebechet_runners.py", line 83, in run_webhook
    run_url(url, service_type, parsed_payload)
  File "/home/user/kebechet/kebechet_runners.py", line 104, in run_url
    run(
  File "/home/user/kebechet/kebechet_runners.py", line 183, in run
    runtime_environments = [config.config["runtime_environments"][0]["name"]]
KeyError: 'runtime_environment

current kebechet version: v1.11.0 .thoth.yaml file used: https://github.com/thoth-station/thoth-application/blob/master/.thoth.yaml

Steps to Reproduce

Steps to reproduce the behavior:

  1. Try making a release for repositories with attached .thoth.yaml config
  2. See error
harshad16 commented 1 year ago

Related-to: https://github.com/thoth-station/thoth-application/issues/2698