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