Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Auto re-deploy Docker container?

I understand how to add a container image in Jelastic and also how to re-deploy, but I'm trying to have a CI/CD setup with Jelastic and I don't see a way to automate the re-deploying of a container image when a new image is updated in my container registry. Is there a way to do this in Jelastic?

like image 611
Oliver84 Avatar asked Jun 24 '26 22:06

Oliver84


1 Answers

  1. Issue a personal access token only for one API method - RedeployContainers

  2. Use rest API in your hooks

    https://cs.{platformDomain}/1.0/environment/control/rest/redeploycontainers?token=${token}&tag=${tag}&envName=${envName}&nodeGroup=${nodeGroup}

There is a list of predefined nodeGroups

like image 109
Virtuozzo Avatar answered Jun 27 '26 11:06

Virtuozzo