Commit 6fbdce8c authored by Jeremy Destin's avatar Jeremy Destin Committed by Célia Michotey
Browse files

Fix: Rebase on master.

parent d5fefbe1
...@@ -155,26 +155,26 @@ build: ...@@ -155,26 +155,26 @@ build:
.restart-config-server: &restart_config_server .restart-config-server: &restart_config_server
stage: build stage: build
script: script:
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- ssh-add <(echo "${SSH_PRIVATE_KEY}") - ssh-add <(echo "${SSH_PRIVATE_KEY}")
- ssh -o StrictHostKeyChecking=no ${SERVER_USER}@${SERVER_IP} 'echo "Successfully connected on $(hostname)"' - ssh -o StrictHostKeyChecking=no ${SERVER_USER}@${SERVER_IP} 'echo "Successfully connected on $(hostname)"'
- ssh ${SERVER_USER}@${SERVER_IP} "sudo systemctl restart bootapp@config-server" - ssh ${SERVER_USER}@${SERVER_IP} "sudo systemctl restart bootapp@config-server"
- eval $(ssh-agent -k) - eval $(ssh-agent -k)
allow_failure: true allow_failure: true
restart-config-server-proxmox: restart-config-server-proxmox:
variables: variables:
SERVER_IP: ${SERVER_IP_PROXMOX} SERVER_IP: ${SERVER_IP_PROXMOX}
SERVER_USER: ${SERVER_USER_PROXMOX} SERVER_USER: ${SERVER_USER_PROXMOX}
<<: *restart_config_server <<: *restart_config_server
restart-config-server-openstack: restart-config-server-openstack:
tags: tags:
- openstack - openstack
variables: variables:
SERVER_IP: ${SERVER_IP_OPENSTACK_DEV} SERVER_IP: ${SERVER_IP_OPENSTACK_DEV}
SERVER_USER: ${SERVER_USER_OPENSTACK} SERVER_USER: ${SERVER_USER_OPENSTACK}
<<: *restart_config_server <<: *restart_config_server
# DEPLOY # DEPLOY
......
Supports Markdown
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