Verified Commit 5e244958 authored by Raphaël Flores's avatar Raphaël Flores
Browse files

Fix proxmox user variable. GNP-5796.

parent 1aae69b5
......@@ -58,8 +58,8 @@ deploy-synonyms-to-prod-cluster-proxmox:
- eval $(ssh-agent -s)
- ssh-add <(echo "${ES_SSH_PRIVATE_KEY}")
- git lfs pull -I "data/synonyms"
- for ES_HOST in $ES_PROD_HOSTS $ES_PROD_MASTER_PROXMOX ; do scp -o StrictHostKeyChecking=no data/synonyms/all_*.gz ${SERVER_USER}@${ES_HOST}:/tmp/ 2>/dev/null; done ;
- for ES_HOST in $ES_PROD_HOSTS $ES_PROD_MASTER_PROXMOX ; do ssh -o StrictHostKeyChecking=no ${SERVER_USER}@${ES_HOST} "mkdir -p /etc/elasticsearch/analysis/synonyms/ ; gzip -d /tmp/all_*gz ; mv /tmp/all_autophrases.txt /tmp/all_synonyms.txt /etc/elasticsearch/analysis/synonyms/" ; done ;
- for ES_HOST in $ES_PROD_HOSTS $ES_PROD_MASTER_PROXMOX ; do scp -o StrictHostKeyChecking=no data/synonyms/all_*.gz ${SERVER_USER_PROXMOX}@${ES_HOST}:/tmp/ 2>/dev/null; done ;
- for ES_HOST in $ES_PROD_HOSTS $ES_PROD_MASTER_PROXMOX ; do ssh -o StrictHostKeyChecking=no ${SERVER_USER_PROXMOX}@${ES_HOST} "mkdir -p /etc/elasticsearch/analysis/synonyms/ ; gzip -d /tmp/all_*gz ; mv /tmp/all_autophrases.txt /tmp/all_synonyms.txt /etc/elasticsearch/analysis/synonyms/" ; done ;
- eval $(ssh-agent -k)
only:
changes:
......
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