[ci] feat: added rollout deployment
This commit is contained in:
parent
08a97e9225
commit
7505d18443
@ -34,8 +34,7 @@ jobs:
|
|||||||
context: '.'
|
context: '.'
|
||||||
file: 'Dockerfile.linux.amd64'
|
file: 'Dockerfile.linux.amd64'
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: 'cr.simoncor.net/siempie/start-simoncor-net:latest,cr.simoncor.net/siempie/start-simoncor-net:${{ gitea.sha }}'
|
||||||
cr.simoncor.net/siempie/start-simoncor-net:latest
|
|
||||||
|
|
||||||
|
|
||||||
# ansible deployment
|
# ansible deployment
|
||||||
@ -62,4 +61,5 @@ jobs:
|
|||||||
|
|
||||||
# command
|
# command
|
||||||
script: |
|
script: |
|
||||||
sudo /usr/local/bin/ansible-playbook /etc/ansible/playbooks/production/start.yaml
|
sudo -u simon kubectl apply -f /home/simon/Documents/kaas-start-simoncor-net/manifests
|
||||||
|
sudo -u simon kubectl rollout restart --namespace=start-simoncor-net deployment start-simoncor-net
|
||||||
|
Loading…
Reference in New Issue
Block a user