CI/CD
planned
Joseph Cooper
Be able to enable or disable CI/CD for any service. If the service is a public repository/endpoint, then instructions for installing a webhook on github,bitbucket,etc will be available.
Log In
k
krejcidaniel.cz+kinto@gmail.com
I wonder if you have thought about some dependency between services within environment. For example I would like to first deploy Hasura to run migrations. If that succeeds it should deploy backend service and only if that one succeeds (tests pass) the web service should be deployed. It's some sort of pipelines.
For optimization purposes it could build everything immediately, but deploy only if previous pipeline step succeeded.
K
KintoBen
krejcidaniel.cz+kinto@gmail.com: hey we did not yet think about that, the CI/CD here will be a very basic version of a CI/CD that would basically build/deploy your code upon push on your branch. But definitely it will come a day when we will need to orchestrate the deployments of multiple services in a workflow, but it's long term plan atm.
k
krejcidaniel.cz+kinto@gmail.com
KintoBen Shall I create a separate request for that if it's not part of this one?
Joseph Cooper
krejcidaniel.cz+kinto@gmail.com: Yes, I have thought about this one, but keen to know more use cases. Are you wanting to control it like heroku (build workflows), is the use case only for promoting from one environment to another? If you can build out the story of what you would be doing exactly in a new ticket, we can open up a conversation.
k
krejcidaniel.cz+kinto@gmail.com
Joseph Cooper: Well, I certainly don't have such a big "orchestration" needs as Ben mentioned. For me it's simply about stability. As I said, ideally if all services in the pipeline can build at the same time and then deployment happens in order only if all builds have been successful.
Currently, the problem is that deploying for example Hasura backend with some breaking changes and backend API relying on them can open a few minutes of opportunity to run into weird errors due to incompatibility.
Maybe for starters it would be enough if we had an option for those automatically triggered builds to deploy them manually from the UI.
Joseph Cooper
planned