From 21ccaf90b16d567c8b1b9e2dc8c40ed85459a63d Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 10 Aug 2022 13:48:59 -1000 Subject: [PATCH 01/23] Update config.yml --- .circleci/config.yml | 36 ++++++++++++------------------------ 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 48f598e..58f12cf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,30 +1,18 @@ -version: 2.1 +version: 2 jobs: - build: - docker: - - image: cimg/base:2020.01 - environment: - AWS_ACCESS_KEY_ID: TESTING_ENV + e2e-test-windows-smoke-windows-large-2022: + machine: + image: windows-server-2022-gui:edge steps: - - checkout - - run: echo 'export listall="ls -a"' >> $BASH_ENV -# - run: echo 'export AWS_ACCESS_KEY_ID=TESTING_ENV' >> $BASH_ENV - - run: echo ${AWS_ACCESS_KEY_ID} - - + - checkout + - run: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -property catalog_productDisplayVersion workflows: - version: 2 - my_workflow: + run-ci: jobs: - - build: - filters: - tags: - only: /^v.*/ - - - - - -#test + - e2e-test-windows-smoke-windows-large-2022 + + + + From 4dfe21e33256303fa1e2c0397fb419b1d6e94b01 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 10 Aug 2022 13:49:53 -1000 Subject: [PATCH 02/23] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 58f12cf..c168512 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,6 +8,7 @@ jobs: - checkout - run: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -property catalog_productDisplayVersion workflows: +version: 2 run-ci: jobs: - e2e-test-windows-smoke-windows-large-2022 From 654c96beccb131b763a98219bcc00d310d675418 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 10 Aug 2022 13:51:24 -1000 Subject: [PATCH 03/23] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c168512..5ece25d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,7 @@ jobs: - checkout - run: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -property catalog_productDisplayVersion workflows: -version: 2 + version: 2 run-ci: jobs: - e2e-test-windows-smoke-windows-large-2022 From 6a5caca8259fb1ced9298c2a8662c11b61a938e5 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 10 Aug 2022 13:52:42 -1000 Subject: [PATCH 04/23] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5ece25d..292a12c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,6 +4,7 @@ jobs: e2e-test-windows-smoke-windows-large-2022: machine: image: windows-server-2022-gui:edge + resource_class: windows.large steps: - checkout - run: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -property catalog_productDisplayVersion From 093acbce43df61ca79d764a8f2e3a38644e4a635 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 10 Aug 2022 13:58:53 -1000 Subject: [PATCH 05/23] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 292a12c..c46fcf2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,7 @@ jobs: resource_class: windows.large steps: - checkout - - run: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -property catalog_productDisplayVersion + - run: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools workflows: version: 2 run-ci: From 96c73d8898c5cda2ba3de643f22f49aefb563a6b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 10 Aug 2022 14:04:17 -1000 Subject: [PATCH 06/23] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index c46fcf2..9c8ad5f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,6 +8,7 @@ jobs: steps: - checkout - run: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools + shell: bash.exe workflows: version: 2 run-ci: From 4bd4e81b067554f89c5148c6b660a82858745f05 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 10 Aug 2022 14:05:20 -1000 Subject: [PATCH 07/23] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9c8ad5f..76e8353 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,7 @@ jobs: steps: - checkout - run: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools - shell: bash.exe + shell: powershell.exe workflows: version: 2 run-ci: From 530fc7874226631af62140f0ca91bdf978c9180b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 10 Aug 2022 14:09:33 -1000 Subject: [PATCH 08/23] Update config.yml --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 76e8353..d04d549 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,8 +7,8 @@ jobs: resource_class: windows.large steps: - checkout - - run: C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools - shell: powershell.exe + - run: + command: C:\Program Files (x86)\Microsoft Visual Studio\2022 workflows: version: 2 run-ci: From 546027810c72f8709820a711187712e27589f975 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 2 Feb 2024 11:04:31 -0800 Subject: [PATCH 09/23] Update config.yml --- .circleci/config.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d04d549..06fd896 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,19 +1,16 @@ +version: 2.1 -version: 2 jobs: - e2e-test-windows-smoke-windows-large-2022: + build: # name of your job + resource_class: 'windows.medium' machine: - image: windows-server-2022-gui:edge - resource_class: windows.large + image: 'windows-server-2022-gui:current' + shell: 'powershell.exe -ExecutionPolicy Bypass' steps: - - checkout - - run: - command: C:\Program Files (x86)\Microsoft Visual Studio\2022 -workflows: - version: 2 - run-ci: - jobs: - - e2e-test-windows-smoke-windows-large-2022 + # Commands are run in a Windows virtual machine environment + - checkout + - run: Write-Host 'Hello, Windows' + From c9443cbf81231b1a1d4d8926d141ed5101841d22 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 2 Feb 2024 11:09:50 -0800 Subject: [PATCH 10/23] Update config.yml --- .circleci/config.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 06fd896..6ef8069 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,11 +5,10 @@ jobs: resource_class: 'windows.medium' machine: image: 'windows-server-2022-gui:current' - shell: 'powershell.exe -ExecutionPolicy Bypass' + shell: bash steps: # Commands are run in a Windows virtual machine environment - - checkout - - run: Write-Host 'Hello, Windows' + - run: find *.config From 792c9f012db96edc3a75138b56d148732cc495d4 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 2 Feb 2024 11:15:49 -0800 Subject: [PATCH 11/23] Update config.yml --- .circleci/config.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6ef8069..900c45f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,15 +1,20 @@ version: 2.1 +orbs: + win: circleci/windows@5.0 + jobs: - build: # name of your job - resource_class: 'windows.medium' - machine: - image: 'windows-server-2022-gui:current' - shell: bash + build: + executor: + name: win/server-2019 + version: edge steps: - # Commands are run in a Windows virtual machine environment - - run: find *.config - + - checkout + - run: + name: Query installed components + command: | + choco install -y vswhere # Installs vswhere tool + vswhere.exe -property components -products * From 752a0606a2e5b96026bcd3c6314df7cf2e07809f Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 2 Feb 2024 11:21:25 -0800 Subject: [PATCH 12/23] Update config.yml --- .circleci/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 900c45f..8dac550 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,6 @@ jobs: name: win/server-2019 version: edge steps: - - checkout - run: name: Query installed components command: | From 274ad086709cad2e195e9707f8a80b66c0e61fc7 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 2 Feb 2024 11:26:37 -0800 Subject: [PATCH 13/23] Update config.yml --- .circleci/config.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8dac550..28fe39e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,10 +10,13 @@ jobs: version: edge steps: - run: - name: Query installed components - command: | - choco install -y vswhere # Installs vswhere tool - vswhere.exe -property components -products * + name: List Chocolatey packages + command: choco list --local-only + - run: + name: List Chocolatey packages + command: choco list --local-only > + - run: cat choco-packages.txt + From 71b43817ba94f353caf53843aceb26ff83c00a24 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 2 Feb 2024 11:27:47 -0800 Subject: [PATCH 14/23] Update config.yml --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 28fe39e..5c976a9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,10 +11,10 @@ jobs: steps: - run: name: List Chocolatey packages - command: choco list --local-only + command: choco list - run: name: List Chocolatey packages - command: choco list --local-only > + command: choco list > choco-packages.txt - run: cat choco-packages.txt From 9812f53bc10e5287e53c9dcd5c108ab5e706253c Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 2 Feb 2024 11:30:49 -0800 Subject: [PATCH 15/23] Update config.yml --- .circleci/config.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5c976a9..540eef2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,13 +10,9 @@ jobs: version: edge steps: - run: - name: List Chocolatey packages - command: choco list - - run: - name: List Chocolatey packages - command: choco list > choco-packages.txt - - run: cat choco-packages.txt - + name: List Visual Studio Components + command: | + Get-WindowsCapability -Online | Where-Object { $_.Name -like "*VisualStudio*" } | Format-Table -AutoSize From c28b00f56c563631d86218d0d51afcee22fa49ab Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 2 Feb 2024 11:32:54 -0800 Subject: [PATCH 16/23] Update config.yml --- .circleci/config.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 540eef2..7d2ac1c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,10 +9,11 @@ jobs: name: win/server-2019 version: edge steps: - - run: - name: List Visual Studio Components - command: | - Get-WindowsCapability -Online | Where-Object { $_.Name -like "*VisualStudio*" } | Format-Table -AutoSize + - run: | + # PowerShell commands to find Visual Studio Community Edition components + Get-WmiObject -Class Win32_Product | Where-Object { + $_.Name -like "Microsoft Visual Studio*Community*" + } | Select-Object Name, Version From 50da332131d994592a9917e500d750cca6855ebf Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 2 Feb 2024 11:41:29 -0800 Subject: [PATCH 17/23] Update config.yml --- .circleci/config.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7d2ac1c..2d0be61 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,12 +9,12 @@ jobs: name: win/server-2019 version: edge steps: - - run: | - # PowerShell commands to find Visual Studio Community Edition components - Get-WmiObject -Class Win32_Product | Where-Object { - $_.Name -like "Microsoft Visual Studio*Community*" - } | Select-Object Name, Version - + - run: + name: Install vstest + command: choco install visualstudio2017testagent -y + - run: + name: List Chocolatey packages + command: choco list From 5585ee440d96161c0755bbcb7c6a6ca02c8a09a6 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Fri, 2 Feb 2024 11:42:31 -0800 Subject: [PATCH 18/23] Update config.yml --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2d0be61..96deac7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,6 +15,8 @@ jobs: - run: name: List Chocolatey packages command: choco list + + From cd3a799f2e1a78990a88f043b604fa7c54a77226 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 7 Feb 2024 10:43:32 -0800 Subject: [PATCH 19/23] Update config.yml --- .circleci/config.yml | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 96deac7..546191a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,22 +1,20 @@ version: 2.1 - orbs: - win: circleci/windows@5.0 - + win: circleci/windows@4.1 jobs: build: - executor: - name: win/server-2019 - version: edge + executor: win/server-2019 steps: - - run: - name: Install vstest - command: choco install visualstudio2017testagent -y - - run: - name: List Chocolatey packages - command: choco list - - + - run: Write-Host 'Hello, Windows' + - run: $svcFile="something" + - run: $env:svcFile + - run: echo $svcFile + - run: setx APP_VERSION=$svcFile + - run: $env:APP_VERSION +workflows: + my-workflow: + jobs: + - build From 4567c87a184a79fe8c69147a813ed052f758f3c1 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 7 Feb 2024 10:45:57 -0800 Subject: [PATCH 20/23] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 546191a..2b59b90 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,7 @@ jobs: - run: $svcFile="something" - run: $env:svcFile - run: echo $svcFile - - run: setx APP_VERSION=$svcFile + - run: setx APP_VERSION="test" - run: $env:APP_VERSION workflows: my-workflow: From 14378851054f4858e5054aa41ef11f780c8ba569 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 7 Feb 2024 10:47:19 -0800 Subject: [PATCH 21/23] Update config.yml --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2b59b90..45c6409 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,10 +5,10 @@ jobs: build: executor: win/server-2019 steps: - - run: Write-Host 'Hello, Windows' - - run: $svcFile="something" - - run: $env:svcFile - - run: echo $svcFile + # - run: Write-Host 'Hello, Windows' + # - run: $svcFile="something" + # - run: $env:svcFile + # - run: echo $svcFile - run: setx APP_VERSION="test" - run: $env:APP_VERSION workflows: From 0b6b05d96d48fe26f01b3c2d13d8f68185a863e2 Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 7 Feb 2024 10:47:30 -0800 Subject: [PATCH 22/23] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 45c6409..29fd2f3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,7 @@ jobs: # - run: $svcFile="something" # - run: $env:svcFile # - run: echo $svcFile - - run: setx APP_VERSION="test" + - run: setx APP_VERSION "test" - run: $env:APP_VERSION workflows: my-workflow: From c10f8f5d76c19c3ecb5da35c7160013553e4b77b Mon Sep 17 00:00:00 2001 From: Henna <62267575+HennaAbbas@users.noreply.github.com> Date: Wed, 7 Feb 2024 10:49:08 -0800 Subject: [PATCH 23/23] Update config.yml --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 29fd2f3..64b3a30 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,9 +1,9 @@ version: 2.1 orbs: - win: circleci/windows@4.1 + win: circleci/windows@5.0 jobs: build: - executor: win/server-2019 + executor: win/server-2022 steps: # - run: Write-Host 'Hello, Windows' # - run: $svcFile="something"