koyeb / koyeb-cli

Koyeb cli
Apache License 2.0
56 stars 29 forks source link

[ENG-2645] Warn the user if the build logs are from another deployment with the current one having skipped the build #201

Closed torrefatto closed 6 months ago

torrefatto commented 6 months ago

This PR is needed to properly leverage the possibility to skipping the build. If a user requests the build logs of a service whose current latest deployment is skip-build, we warn them that the build logs may be retrieved with koyeb deployments logs -t build <last_provisioned_deployment_id>. If the -t build is specified in the koyeb services logs command, we also early return.