Commit 8eaf57a3 authored by Erik Kimmel's avatar Erik Kimmel
Browse files

Merge branch 'chore/restart-config-server-before-deployment' into 'master'

Restart config-server before any deployment.

See merge request !73
parents c5f705c0 315d51f4
......@@ -103,6 +103,31 @@ build:
expire_in: 1 week
.restart-config-server: &restart_config_server
stage: build
script:
- eval $(ssh-agent -s)
- ssh-add <(echo "${SSH_PRIVATE_KEY}")
- ssh -o StrictHostKeyChecking=no ${SERVER_USER}@${SERVER_IP} 'echo "Successfully connected on $(hostname)"'
- ssh ${SERVER_USER}@${SERVER_IP} "sudo systemctl restart bootapp@config-server"
- eval $(ssh-agent -k)
allow_failure: true
restart-config-server-proxmox:
variables:
SERVER_IP: ${SERVER_IP_PROXMOX}
SERVER_USER: ${SERVER_USER_PROXMOX}
<<: *restart_config_server
restart-config-server-openstack:
tags:
- openstack
variables:
SERVER_IP: ${SERVER_IP_OPENSTACK_DEV}
SERVER_USER: ${SERVER_USER_OPENSTACK}
<<: *restart_config_server
# DEPLOY
......
......@@ -3,7 +3,7 @@
"files": "frontend/package-lock.json|^.secrets.baseline$",
"lines": null
},
"generated_at": "2020-11-30T10:19:27Z",
"generated_at": "2021-04-16T10:41:53Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
......@@ -58,14 +58,14 @@
"hashed_secret": "dd447c7c799dd4ebaacca8f0ad3da45a097d7211",
"is_secret": false,
"is_verified": false,
"line_number": 174,
"line_number": 199,
"type": "Base64 High Entropy String"
},
{
"hashed_secret": "8074db38f8a8acec1a147bc5daf2799ff6693fff",
"is_secret": false,
"is_verified": false,
"line_number": 189,
"line_number": 214,
"type": "Base64 High Entropy String"
}
],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment