mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
984 B
984 B
Openshift
Staging and production is deployed in Openshift. You should read more about Openshift's own documentation and Kubernetes documentation to understand more.
Updating deployments
Auto-deploying pods when new images are pulled from Github doesn't work at the moment because of a bug in Openshift. Until it is fixed the deployments have to be updated manually.
- Select role as developer if there is an option. Otherwise skip this.
- Go to
Topology - Select backend or frontend
- From
Actionsdropdown menu select "Edit Deployment" - Select
Form viewif not selected. - Tick
Auto deploy when new Image is available - Save
If there was a new version of an image, a new pod should be created and the old one destroyed after the new pod is up and running.
Same goes for production.
Trying to update the staging right after merging a pull request might not always work because Openshift pulls the new image from Github packages roughly every 15mins.