Skip to content

Commit

Permalink
Windows Nightly CI
Browse files Browse the repository at this point in the history
Signed-off-by: Shveta Sachdeva <[email protected]>
  • Loading branch information
sshveta committed Jan 22, 2025
1 parent b87d5a5 commit fab5a46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/windows-nightly-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ jobs:

- name: Copy batch file to Windows EC2 instance
run: |
echo "host : ${{ env.ec2-host }}"
echo "host : ${{ needs.start-ec2-instance.outputs.ec2-host }}"
sshpass -p ${EC2_PASSWORD} scp -o StrictHostKeyChecking=no clone-repo.bat ${EC2_USER}@${EC2_HOST}:C:\\Users\\nonadmin\\clone-repo.bat
sshpass -p ${EC2_PASSWORD} scp -o StrictHostKeyChecking=no execute-tests.bat ${EC2_USER}@${EC2_HOST}:C:\\Users\\nonadmin\\execute-tests.bat
env:
EC2_USER: nonadmin
EC2_HOST: ${{ env.ec2-host }}
EC2_HOST: ${{ needs.start-ec2-instance.outputs.ec2-host }}
EC2_PASSWORD: ${{ secrets.NONADMIN_PASSWORD }}

- name: Execute batch file on EC2 Windows instance
Expand All @@ -68,7 +68,7 @@ jobs:
sshpass -p ${EC2_PASSWORD} ssh -o StrictHostKeyChecking=no ${EC2_USER}@${EC2_HOST} 'powershell -Command "Start-Process -FilePath C:\\Users\\nonadmin\\execute-tests.bat -NoNewWindow -Wait"'
env:
EC2_USER: nonadmin
EC2_HOST: ${{ env.ec2-host }}
EC2_HOST: ${{ needs.start-ec2-instance.outputs.ec2-host }}
EC2_PASSWORD: ${{ secrets.NONADMIN_PASSWORD }}

stop-ec2-instance:
Expand Down

0 comments on commit fab5a46

Please sign in to comment.