Skip to content

Commit

Permalink
Merge pull request #4303 from DFE-Digital/1875-fix-disable-maintenanc…
Browse files Browse the repository at this point in the history
…e-workflow

Add update image tag for failback maintenance page
  • Loading branch information
johnake authored Jun 25, 2024
2 parents 2feb35d + f6f17c1 commit e565d98
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions maintenance_page/scripts/failback.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,9 @@ kubectl -n ${NAMESPACE} delete --ignore-not-found=true -f maintenance_page/mani
echo Delete maintenance service
kubectl -n ${NAMESPACE} delete --ignore-not-found=true -f maintenance_page/manifests/maintenance/service_maintenance.yml

echo Update image tag
perl -p -e "s/#MAINTENANCE_IMAGE_TAG#/dummy-tag/" maintenance_page/manifests/maintenance/deployment_maintenance.yml.tmpl \
> maintenance_page/manifests/maintenance/deployment_maintenance.yml

echo Delete maintenance app
kubectl -n ${NAMESPACE} delete --ignore-not-found=true -f maintenance_page/manifests/maintenance/deployment_maintenance.yml

0 comments on commit e565d98

Please sign in to comment.