[ci] feat: added rollout deployment
This commit is contained in:
parent
08a97e9225
commit
7505d18443
@ -34,8 +34,7 @@ jobs:
|
||||
context: '.'
|
||||
file: 'Dockerfile.linux.amd64'
|
||||
push: true
|
||||
tags: |
|
||||
cr.simoncor.net/siempie/start-simoncor-net:latest
|
||||
tags: 'cr.simoncor.net/siempie/start-simoncor-net:latest,cr.simoncor.net/siempie/start-simoncor-net:${{ gitea.sha }}'
|
||||
|
||||
|
||||
# ansible deployment
|
||||
@ -62,4 +61,5 @@ jobs:
|
||||
|
||||
# command
|
||||
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