Github action missing deployment-strategy

Hi there!

For a few hours now, deployments using the Github action have been failing due to the (optional) deployment-strategy being missing.

Traceback (most recent call last):
  File "/home/runner/work/_actions/koyeb/action-git-deploy/v1/scripts/service-upsert.py", line 384, in <module>
    main()
  File "/home/runner/work/_actions/koyeb/action-git-deploy/v1/scripts/service-upsert.py", line 377, in main
    koyeb_service_create(args.app_name, args.service_name, params)
  File "/home/runner/work/_actions/koyeb/action-git-deploy/v1/scripts/service-upsert.py", line 242, in koyeb_service_create
    raise RuntimeError(
RuntimeError: Error while creating the service backend
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
❌ Error while creating the service: the Koyeb API returned an error 400: Validation error

🔎 Additional details
Field definition.strategy: Expected a valid deployment strategy type

🏥 How to solve the issue?
Fix the request, and try again

🕦 The original error was:
400 Bad Request
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Process completed with exit code 1.

Since nothing changed recently in the github actions or the CLI, we suppose it comes from recent changes in the API - and it probably is wrong since it is not required and should default to rolling.

As both a workaround to this issue and an improvement to the GitHub Action, we propose the addition of the deployment-strategy to the GitHub Action.

Cheers,
Sam

Hi,

We are working on it and we will release a fix soon. I’ll get back to you as soon as it is live.

Thank you for your contribution to the Github action. We’ll look into it as well!

It should be fixed.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.