diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a3e26e6a3f094dd8e813ea61e7fee879a8ebfed7..b5de2020af5fa809bb001c818f1b3d6d74fc2b19 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -216,6 +216,7 @@ deploy-master: - export KUBECONFIG=$KUBECFG_PRO script: - oc apply -f deployment/ + - oc patch deploy backend-files-depl -p "{\"spec\":{\"template\":{\"metadata\":{\"annotations\":{\"last-restart\":\"`date +'%d.%m.%Y %H:%M'`\"}}}}}" tags: - ns-spi-p01-syn @@ -242,6 +243,7 @@ deploy-rec: - export KUBECONFIG=$KUBECFG_REC script: - oc apply -f deployment/ + - oc patch deploy backend-files-depl -p "{\"spec\":{\"template\":{\"metadata\":{\"annotations\":{\"last-restart\":\"`date +'%d.%m.%Y %H:%M'`\"}}}}}" tags: - ns-spi-r01-syn @@ -267,6 +269,7 @@ deploy-develop: - export KUBECONFIG=$KUBECFG_DEV script: - oc apply -f deployment/ + - oc patch deploy backend-files-depl -p "{\"spec\":{\"template\":{\"metadata\":{\"annotations\":{\"last-restart\":\"`date +'%d.%m.%Y %H:%M'`\"}}}}}" tags: - ns-spi-d01-syn