Skip to content

Commit

Permalink
Try escaping the password in the Windows Minimega workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaxley committed Dec 10, 2024
1 parent db7134e commit 0cca8f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -306,12 +306,12 @@ jobs:
ssh lme-user@${{ env.AZURE_IP }} 'sudo ssh -o StrictHostKeyChecking=no vmuser@${{ env.LINUX_IP }} chmod +x ./install_agent_linux.sh ' && \
ssh lme-user@${{ env.AZURE_IP }} 'sudo ssh -o StrictHostKeyChecking=no vmuser@${{ env.LINUX_IP }} ./install_agent_linux.sh --token ${{ env.ENROLLMENT_TOKEN }} --version 8.15.3'
"
- name: Install the Elastic Agent in Windows Minimega
run: |
set +H
cd testing/v2/development
docker compose -p ${{ env.UNIQUE_ID }} exec -T pipeline bash -c "
ssh lme-user@${{ env.AZURE_IP }} 'export SSHPASS=\'minimega!1\' && export WINDOWS_HOST=${{ env.LINUX_IP }} && sudo /home/lme-user/LME/testing/v2/installers/lib/install_agent_linux.sh --token ${{ env.ENROLLMENT_TOKEN }} --version 8.15.3'
ssh lme-user@${{ env.AZURE_IP }} \"export SSHPASS='minimega!1' && export WINDOWS_HOST=${{ env.LINUX_IP }} && sudo /home/lme-user/LME/testing/v2/installers/lib/install_agent_linux.sh --token ${{ env.ENROLLMENT_TOKEN }} --version 8.15.3\"
"
- name: Check if the Elastic agent is reporting
Expand Down

0 comments on commit 0cca8f8

Please sign in to comment.