-
Notifications
You must be signed in to change notification settings - Fork 1
Refactor: Remove duplicated code in custom-server.js #197
base: master
Are you sure you want to change the base?
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
- name: Rolling updates | ||
uses: appleboy/ssh-action@master | ||
with: | ||
host: 167.172.180.155 # Leader IP | ||
USERNAME: root | ||
KEY: ${{ secrets.CI_swarm_private_key }} | ||
script: | | ||
echo ${{ secrets.db-config }} >> db-config | ||
source db-config | ||
docker stack up minitwit -c minitwit_stack.yml | ||
docker service update -d --image dagandersen/frontend:latest minitwit_fontend | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tænker ikke det giver så meget mening at merge det her - eftersom at clusteret er nede, og dette vil breake pipelinen
Så giver det mere mening at beholde den nede på linje 146/158, som den allerede er på
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OBS: på dette PR står rolling-updates steppet 2 gange i pipelinen
No description provided.