Hi everyone.
I’m currently developing a CI / CD pipeline with Jenkins and Rancher. What I accomplished so far:
- Fetching the sourcecode from a GIT repo
- Build an image
- Push that image into a private and local registry
- Setup the service in Rancher
So far everything is up and running. What I’d like to do now is to automate the process of deploying the images into Docker containers on Rancher. This basically involves the upgrade-mechanism in Rancher (I’m using the mechanism via the UI and it works flawlessly).
Unfortunately, the documentation doesn’t help me to understand that mechanism better (http://docs.rancher.com/rancher/api/api-resources/service/).
I don’t know how this request would look like. Where to give the image registry and name? Where to give the target host strategy?
I’d be really happy about some examples. For normal (automated) deployments, only the imagetags change - nothing else.
Thanks for any help in advance.
Rgds
Thomas