Closed ryanj closed 1 year ago
After committing my change to the Gateway component, and after the pipeline run finishes successfully, the new image is not automatically promoted.
Currently, the user must delete a pod in order to trigger a redeploy of the new gateway image: https://redhat-scholars.github.io/backstage-workshop/backstage-workshop/04-development.html#validate_changes
Should we automatically deploy a new image after a successful build? If not, is there a better way to trigger a new deployment (instead of deleting a pod)?
Running oc rollout restart deploy/ryanj-poi-gateway-app will start the deployment. Maybe I need to run this via a new Task?
oc rollout restart deploy/ryanj-poi-gateway-app
Yes, see the Java example week https://redhat-scholars.github.io/openshift-starter-guides/rhs-openshift-starter-guides/4.11/nationalparks-pipeline.html#create_your_pipeline
Thanks! This should be resolved
After committing my change to the Gateway component, and after the pipeline run finishes successfully, the new image is not automatically promoted.
Currently, the user must delete a pod in order to trigger a redeploy of the new gateway image: https://redhat-scholars.github.io/backstage-workshop/backstage-workshop/04-development.html#validate_changes
Should we automatically deploy a new image after a successful build? If not, is there a better way to trigger a new deployment (instead of deleting a pod)?