Improve CI/CD tooling support
The current solution for CI/CD integration (e.g. GitLab) is to use curl to hit a redeploy hook that sends a signal to Cloud66 for deploying the application. This doesn't integrate very well with pipeline flows, since there's no guarantee the deploy will succeed. Meanwhile the pipeline is marked as passed, but in reality the app failed to deploy.
The CX Toolbelt does offer an option to --listen, which is great. However, this Toolbelt is clearly intended for manual use and not by something like Docker or a CI pipeline script. This is possible but not officially supported, and the setup is a bit tedious. Ideally the toolbelt would be available through a tool like apt-get and use an API token as an environment variable to authenticate requests.