Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

Refactor: Remove duplicated code in custom-server.js #197

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

emilbartholdy
Copy link
Contributor

No description provided.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sonarqubecloud
Copy link

sonarqubecloud bot commented May 2, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Comment on lines +119 to +130
- 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

Copy link
Member

@dag-andersen dag-andersen May 2, 2020

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å

Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants