From fdcf197242b856f4a058322d42dd8b1982eda6f8 Mon Sep 17 00:00:00 2001 From: Shveta Sachdeva Date: Wed, 22 Jan 2025 11:04:50 -0800 Subject: [PATCH] Windows Testing Signed-off-by: Shveta Sachdeva --- .env.example | 10 +++++----- .github/workflows/windows-nightly-ci.yml | 7 +------ 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/.env.example b/.env.example index adedb505..6c68630a 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,4 @@ -#################### +-#################### ### EXAMPLE FILE ### #################### @@ -7,13 +7,13 @@ # For git password please use your generated git token, not a clear text password VSCODE_EXECUTABLE_PATH='/usr/share/code/code' -VSIX_FILE_NAME='konveyor-v0.0.4.vsix' -DEFAULT_VSIX_DOWNLOAD_URL= 'https://github.com/konveyor/editor-extensions/releases/download/v0.0.4/konveyor-v0.0.4.vsix' +VSIX_FILE_NAME='konveyor-v0.0.5.vsix' +DEFAULT_VSIX_DOWNLOAD_URL= 'https://github.com/konveyor/editor-extensions/releases/download/v0.0.5/konveyor-v0.0.5.vsix' PLUGIN_URL= 'https://github.com/konveyor/editor-extensions/releases/download/' -PLUGIN_VERSION= 'v0.0.4' +PLUGIN_VERSION= 'v0.0.5' # For Windows Path needs to be given in below format -# VSCODE_EXECUTABLE_PATH='C:/Users/nonadmin/AppData/Local/Programs/Microsoft VS Code/Code.exe' +WINDOWS_VSCODE_EXECUTABLE_PATH='C:/Users/nonadmin/AppData/Local/Programs/Microsoft VS Code/Code.exe' # For Linux # VSCODE_EXECUTABLE_PATH='/usr/share/code/code' diff --git a/.github/workflows/windows-nightly-ci.yml b/.github/workflows/windows-nightly-ci.yml index 81f9a93a..9a221e1f 100644 --- a/.github/workflows/windows-nightly-ci.yml +++ b/.github/workflows/windows-nightly-ci.yml @@ -22,11 +22,7 @@ jobs: runs-on: ${{ needs.start-ec2-instance.outputs.instance_label }} steps: - name: Install Node.js - run: | - echo "host : ${{ needs.start-ec2-instance.get-ec2-host.outputs.ec2-host }}" - echo "host : ${{ needs.start-ec2-instance.get-ec2-host.ec2-host }}" - echo "host : ${{ needs.start-ec2-instance.outputs.ec2-host }}" - choco install nodejs -y + run: choco install nodejs -y shell: powershell run-test-as-nonadmin: @@ -58,7 +54,6 @@ jobs: - name: Copy batch file to Windows EC2 instance run: | - echo "host : ${{ needs.start-ec2-instance.outputs.ec2-host }}" sshpass -p ${EC2_PASSWORD} scp -o StrictHostKeyChecking=no clone-repo.bat ${EC2_USER}@${{ needs.start-ec2-instance.outputs.ec2-host }}:C:\\Users\\nonadmin\\clone-repo.bat sshpass -p ${EC2_PASSWORD} scp -o StrictHostKeyChecking=no execute-tests.bat ${EC2_USER}@${{ needs.start-ec2-instance.outputs.ec2-host }}:C:\\Users\\nonadmin\\execute-tests.bat env: