From cdc4b280e2b42719ad161a94aca6e5ac85fa1592 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 11 Feb 2019 22:48:37 -0500 Subject: [PATCH 001/140] initial commit. --- buildspec.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 buildspec.yml diff --git a/buildspec.yml b/buildspec.yml new file mode 100644 index 000000000..ceb5965b0 --- /dev/null +++ b/buildspec.yml @@ -0,0 +1,6 @@ +version: 0.2 + +phases: + build: + commands: + - dir C:\Program Files (x86)\Windows Kits\ From 7f5e6f5408d151b107dc82f12a9055eab2d833e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 11 Feb 2019 22:51:16 -0500 Subject: [PATCH 002/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index ceb5965b0..70e42f685 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,4 +3,4 @@ version: 0.2 phases: build: commands: - - dir C:\Program Files (x86)\Windows Kits\ + - 'dir "C:\Program Files (x86)\Windows Kits\"' From 90fdfeadde41e649c9286972c7ce9af71145135c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 11 Feb 2019 22:53:04 -0500 Subject: [PATCH 003/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 70e42f685..fafd3eae7 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,4 +3,4 @@ version: 0.2 phases: build: commands: - - 'dir "C:\Program Files (x86)\Windows Kits\"' + - 'dir "C:\Program Files (x86)\Windows Kits\10\bin\"' From c6e5ac3e7a3cef852367f2b1685ed5adc5a3bf36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 11 Feb 2019 22:55:18 -0500 Subject: [PATCH 004/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index fafd3eae7..4cc61e2aa 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,4 +3,4 @@ version: 0.2 phases: build: commands: - - 'dir "C:\Program Files (x86)\Windows Kits\10\bin\"' + - 'dir "C:\Program Files (x86)\Windows Kits\10\bin\x64\"' From 1b5e23ff4a66751914c7ca04708c3248ef016d75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 11 Feb 2019 22:57:47 -0500 Subject: [PATCH 005/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 4cc61e2aa..bbdc8bff5 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,4 +3,4 @@ version: 0.2 phases: build: commands: - - 'dir "C:\Program Files (x86)\Windows Kits\10\bin\x64\"' + - 'dir /s "C:\Program Files (x86)\Windows Kits\10\"' From e8cdd2c50642a96ed2492d37d0e40e30c2fe36a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 11 Feb 2019 23:00:33 -0500 Subject: [PATCH 006/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index bbdc8bff5..260474d7a 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,4 +3,4 @@ version: 0.2 phases: build: commands: - - 'dir /s "C:\Program Files (x86)\Windows Kits\10\"' + - 'dir "C:\Program Files (x86)\Windows Kits\10\" /s' From 8eb6b05af52e4939c39dc41590e7a99550b5a9ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 11 Feb 2019 23:02:43 -0500 Subject: [PATCH 007/140] test --- buildspec.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 260474d7a..fbaa21d01 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,4 +3,5 @@ version: 0.2 phases: build: commands: - - 'dir "C:\Program Files (x86)\Windows Kits\10\" /s' + - 'cd "C:\Program Files (x86)\Windows Kits\10\"' + - 'dir . /s' From fd4804bb63ca0ff2c413d35503936dac671039da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 11 Feb 2019 23:05:05 -0500 Subject: [PATCH 008/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index fbaa21d01..4cded73c6 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,4 +4,4 @@ phases: build: commands: - 'cd "C:\Program Files (x86)\Windows Kits\10\"' - - 'dir . /s' + - 'dir . /s /b sortorder:N' From 6377cda82e5eaa48a95acc757b94958881977a0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 11 Feb 2019 23:10:17 -0500 Subject: [PATCH 009/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 4cded73c6..83c1ddfe7 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,4 +4,4 @@ phases: build: commands: - 'cd "C:\Program Files (x86)\Windows Kits\10\"' - - 'dir . /s /b sortorder:N' + - 'dir /s /b' From 5dfbe5c84c7af86036c4ffe62cee72e598bab960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 11 Feb 2019 23:12:37 -0500 Subject: [PATCH 010/140] test --- buildspec.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 83c1ddfe7..5a4b7b0f8 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,5 +3,4 @@ version: 0.2 phases: build: commands: - - 'cd "C:\Program Files (x86)\Windows Kits\10\"' - - 'dir /s /b' + - 'dir "C:\Program Files (x86)\Windows Kits\10\bin\x86\"' From 1acbf636eafe56088d65aa874e6facce6ec94836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 11 Feb 2019 23:38:04 -0500 Subject: [PATCH 011/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 5a4b7b0f8..447591f93 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,4 +3,4 @@ version: 0.2 phases: build: commands: - - 'dir "C:\Program Files (x86)\Windows Kits\10\bin\x86\"' + - 'dir "C:\Program Files (x86)\Windows Kits\8.0\bin\x86\"' From 2208d4e5d0b4d2de58b81ca9f6e427c62beb4958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 11 Feb 2019 23:39:58 -0500 Subject: [PATCH 012/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 447591f93..56c88ccba 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,4 +3,4 @@ version: 0.2 phases: build: commands: - - 'dir "C:\Program Files (x86)\Windows Kits\8.0\bin\x86\"' + - 'dir "C:\Program Files (x86)\Windows Kits\8.0\"' From 92be1fa7a2618fdbdedd71c40ff0a3761b1ee804 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 11 Feb 2019 23:41:42 -0500 Subject: [PATCH 013/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 56c88ccba..70e42f685 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,4 +3,4 @@ version: 0.2 phases: build: commands: - - 'dir "C:\Program Files (x86)\Windows Kits\8.0\"' + - 'dir "C:\Program Files (x86)\Windows Kits\"' From ea4d327525e5778bde2a3ccb83bd0da9816426ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 11 Feb 2019 23:44:28 -0500 Subject: [PATCH 014/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 70e42f685..cb7de3e6e 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,4 +3,4 @@ version: 0.2 phases: build: commands: - - 'dir "C:\Program Files (x86)\Windows Kits\"' + - 'dir "C:\Program Files (x86)\Windows Kits\8.1\"' From ea1fad7a435870d1b1253cc818f687b69ba25f80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 11 Feb 2019 23:47:26 -0500 Subject: [PATCH 015/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index cb7de3e6e..639f88f43 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,4 +3,4 @@ version: 0.2 phases: build: commands: - - 'dir "C:\Program Files (x86)\Windows Kits\8.1\"' + - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\"' From a10f1741b0a19fed4d713ab89d0a90809d17be8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 11 Feb 2019 23:49:25 -0500 Subject: [PATCH 016/140] test --- buildspec.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 639f88f43..4ae403fd8 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,4 +3,6 @@ version: 0.2 phases: build: commands: - - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\"' + - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\arm\"' + - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\"' + - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x86\"' From 687c31b05c98a750483782e57914227b28235170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 12:56:42 -0500 Subject: [PATCH 017/140] test chocolatey. --- buildspec.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 4ae403fd8..51ebf8c68 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,8 +1,20 @@ version: 0.2 phases: + install: + commands: + # Install chocolatey + - '@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"' + # Install deps + - choco install yarn + pre_build: + commands: + - yarn install + - node -v build: commands: - - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\arm\"' - - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\"' - - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x86\"' + - yarn run lint + - yarn run test.unit + - yarn run build.prod + # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe"' + # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe"' From bf490a49eb6034b977ee6d9d701f9bf5b67a1630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 13:51:26 -0500 Subject: [PATCH 018/140] test --- buildspec.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 51ebf8c68..215bbfa42 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,9 +3,7 @@ version: 0.2 phases: install: commands: - # Install chocolatey - '@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"' - # Install deps - choco install yarn pre_build: commands: From 0bf0b666a73b28d35d1d70e58a37a8cccdccd14a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 13:54:31 -0500 Subject: [PATCH 019/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 215bbfa42..f555e0ec3 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,7 +3,7 @@ version: 0.2 phases: install: commands: - - '@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"' + - powershell -NoProfile -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" - choco install yarn pre_build: commands: From 1a90c4de88be14edc4b5dfc1043b107f9c4c3cb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 13:58:02 -0500 Subject: [PATCH 020/140] Add yes confirm. --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index f555e0ec3..4f58c88cb 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,7 +4,7 @@ phases: install: commands: - powershell -NoProfile -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" - - choco install yarn + - choco install -y yarn pre_build: commands: - yarn install From 50410ab0453e2b704f281a13f11d5aed2acb23b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 14:07:12 -0500 Subject: [PATCH 021/140] test --- buildspec.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 4f58c88cb..225dfa51b 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,10 +5,11 @@ phases: commands: - powershell -NoProfile -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" - choco install -y yarn + - dir C:\ProgramData\Chocolatey + - node -v pre_build: commands: - yarn install - - node -v build: commands: - yarn run lint From 37fa75ed916593f13b2ae25a8a1928ffc974fd31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 14:10:56 -0500 Subject: [PATCH 022/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 225dfa51b..a1ecaf59d 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,7 +5,7 @@ phases: commands: - powershell -NoProfile -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" - choco install -y yarn - - dir C:\ProgramData\Chocolatey + - dir C:\ProgramData\Chocolatey\bin - node -v pre_build: commands: From 1539eec81f8c6201c7979c93828e4926574319fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 14:15:08 -0500 Subject: [PATCH 023/140] add refresh --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index a1ecaf59d..4a7ee610b 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,7 +5,7 @@ phases: commands: - powershell -NoProfile -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" - choco install -y yarn - - dir C:\ProgramData\Chocolatey\bin + - powershell -NoProfile -ExecutionPolicy unrestricted -Command "refreshenv" - node -v pre_build: commands: From 78c38dec6f327f0efbd5c09ac3ccf7019d6c933d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 14:38:28 -0500 Subject: [PATCH 024/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 4a7ee610b..9026ad348 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -9,7 +9,7 @@ phases: - node -v pre_build: commands: - - yarn install + - powershell -NoProfile -ExecutionPolicy unrestricted -Command "yarn install" build: commands: - yarn run lint From dd4508e5c3fad2d9b80c86213ccae60bab3ea310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 14:43:30 -0500 Subject: [PATCH 025/140] test --- buildspec.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 9026ad348..38d85b9f0 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,9 +3,11 @@ version: 0.2 phases: install: commands: - - powershell -NoProfile -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" + - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" - choco install -y yarn - - powershell -NoProfile -ExecutionPolicy unrestricted -Command "refreshenv" + - powershell -ExecutionPolicy unrestricted -Command "refreshenv" + - powershell -ExecutionPolicy unrestricted -Command "yarn -v" + - yarn -v - node -v pre_build: commands: From d7291c527ac468bdb407582a48ccda59ff561f43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 15:04:37 -0500 Subject: [PATCH 026/140] test --- buildspec.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 38d85b9f0..08262bdaf 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -6,7 +6,8 @@ phases: - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" - choco install -y yarn - powershell -ExecutionPolicy unrestricted -Command "refreshenv" - - powershell -ExecutionPolicy unrestricted -Command "yarn -v" + - echo %PATH% + # - powershell -ExecutionPolicy unrestricted -Command "yarn -v" - yarn -v - node -v pre_build: From 0750a713eb46e2c674213650ef36a0a5fabc9ccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 15:07:21 -0500 Subject: [PATCH 027/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 08262bdaf..ac5acebb8 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -6,7 +6,7 @@ phases: - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" - choco install -y yarn - powershell -ExecutionPolicy unrestricted -Command "refreshenv" - - echo %PATH% + - echo $Env:PATH # - powershell -ExecutionPolicy unrestricted -Command "yarn -v" - yarn -v - node -v From 15cd09b6139e45b33a2719368d2e6a02a7c5a1ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 15:10:51 -0500 Subject: [PATCH 028/140] test --- buildspec.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildspec.yml b/buildspec.yml index ac5acebb8..ed3467f16 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -6,6 +6,8 @@ phases: - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" - choco install -y yarn - powershell -ExecutionPolicy unrestricted -Command "refreshenv" + - dir "C:\Program Files (x86)\Yarn\bin\" + - refreshenv - echo $Env:PATH # - powershell -ExecutionPolicy unrestricted -Command "yarn -v" - yarn -v From 32e78e85d949234e386f39c6df4f201cb599a357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 15:14:02 -0500 Subject: [PATCH 029/140] test --- buildspec.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index ed3467f16..5d72a1b5d 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -10,15 +10,15 @@ phases: - refreshenv - echo $Env:PATH # - powershell -ExecutionPolicy unrestricted -Command "yarn -v" - - yarn -v + - "C:\Program Files (x86)\Yarn\bin\yarn" -v - node -v pre_build: commands: - - powershell -NoProfile -ExecutionPolicy unrestricted -Command "yarn install" + - "C:\Program Files (x86)\Yarn\bin\yarn" install build: commands: - - yarn run lint - - yarn run test.unit - - yarn run build.prod + - "C:\Program Files (x86)\Yarn\bin\yarn" run lint + - "C:\Program Files (x86)\Yarn\bin\yarn" run test.unit + - "C:\Program Files (x86)\Yarn\bin\yarn" run build.prod # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe"' # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe"' From 8c1fd6646778d39533478955e84a7f300e1d084d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 15:16:30 -0500 Subject: [PATCH 030/140] test --- buildspec.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 5d72a1b5d..9e1b027aa 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -9,7 +9,6 @@ phases: - dir "C:\Program Files (x86)\Yarn\bin\" - refreshenv - echo $Env:PATH - # - powershell -ExecutionPolicy unrestricted -Command "yarn -v" - "C:\Program Files (x86)\Yarn\bin\yarn" -v - node -v pre_build: From 336d0f9d92709a9e3e0c65c894d51d08c50a45a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 15:29:28 -0500 Subject: [PATCH 031/140] test --- buildspec.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 9e1b027aa..b84fb79ab 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -7,17 +7,18 @@ phases: - choco install -y yarn - powershell -ExecutionPolicy unrestricted -Command "refreshenv" - dir "C:\Program Files (x86)\Yarn\bin\" + - set PATH=$Env:PATH;"C:\Program Files (x86)\Yarn\bin\yarn" - refreshenv - echo $Env:PATH - - "C:\Program Files (x86)\Yarn\bin\yarn" -v + - yarn -v - node -v pre_build: commands: - - "C:\Program Files (x86)\Yarn\bin\yarn" install + - yarn install build: commands: - - "C:\Program Files (x86)\Yarn\bin\yarn" run lint - - "C:\Program Files (x86)\Yarn\bin\yarn" run test.unit - - "C:\Program Files (x86)\Yarn\bin\yarn" run build.prod + - yarn run lint + - yarn run test.unit + - yarn run build.prod # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe"' # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe"' From d1220b943f5b346029ad042d9ce1b9f2adeda99e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 15:38:01 -0500 Subject: [PATCH 032/140] test --- buildspec.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index b84fb79ab..0f9d9c860 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -7,10 +7,9 @@ phases: - choco install -y yarn - powershell -ExecutionPolicy unrestricted -Command "refreshenv" - dir "C:\Program Files (x86)\Yarn\bin\" - - set PATH=$Env:PATH;"C:\Program Files (x86)\Yarn\bin\yarn" - refreshenv - echo $Env:PATH - - yarn -v + - start "C:\Program Files (x86)\Yarn\bin\yarn" -v - node -v pre_build: commands: From dae6d2f38512bc5073039068482cbda8576a9652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 15:43:59 -0500 Subject: [PATCH 033/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 0f9d9c860..e9d8195ee 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -9,7 +9,7 @@ phases: - dir "C:\Program Files (x86)\Yarn\bin\" - refreshenv - echo $Env:PATH - - start "C:\Program Files (x86)\Yarn\bin\yarn" -v + - '"C:\Program Files (x86)\Yarn\bin\yarn" -v' - node -v pre_build: commands: From fa38ea947d218fe39f3854f898a4f8b1ce2f28e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 15:47:10 -0500 Subject: [PATCH 034/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index e9d8195ee..d40ab510d 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -9,7 +9,7 @@ phases: - dir "C:\Program Files (x86)\Yarn\bin\" - refreshenv - echo $Env:PATH - - '"C:\Program Files (x86)\Yarn\bin\yarn" -v' + - '"C:\Program Files (x86)\Yarn\bin\yarn"' - node -v pre_build: commands: From d6dc2d68aa9021581e46ac31743274ee7fbbc8c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 15:53:14 -0500 Subject: [PATCH 035/140] test --- buildspec.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index d40ab510d..025a6ec58 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,10 +5,11 @@ phases: commands: - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" - choco install -y yarn - - powershell -ExecutionPolicy unrestricted -Command "refreshenv" - - dir "C:\Program Files (x86)\Yarn\bin\" - - refreshenv + - set PATH=%PATH%;C:\Program Files (x86)\Yarn\bin\ + - echo $Env:PATH + - powershelll -ExecutionPolicy unrestricted -Command "set PATH=%PATH%;C:\Program Files (x86)\Yarn\bin\" - echo $Env:PATH + - dir "C:\Program Files (x86)\Yarn\bin\" - '"C:\Program Files (x86)\Yarn\bin\yarn"' - node -v pre_build: From df78c144ea89e02d9980f98e65df179b978253e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 15:55:42 -0500 Subject: [PATCH 036/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 025a6ec58..efd0f82d4 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,7 +5,7 @@ phases: commands: - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" - choco install -y yarn - - set PATH=%PATH%;C:\Program Files (x86)\Yarn\bin\ + - set PATH=%PATH%;"C:\Program Files (x86)\Yarn\bin\" - echo $Env:PATH - powershelll -ExecutionPolicy unrestricted -Command "set PATH=%PATH%;C:\Program Files (x86)\Yarn\bin\" - echo $Env:PATH From d0e034bc191a33b449b32a0e3f357d998a27cbae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 15:59:12 -0500 Subject: [PATCH 037/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index efd0f82d4..881391671 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -7,7 +7,7 @@ phases: - choco install -y yarn - set PATH=%PATH%;"C:\Program Files (x86)\Yarn\bin\" - echo $Env:PATH - - powershelll -ExecutionPolicy unrestricted -Command "set PATH=%PATH%;C:\Program Files (x86)\Yarn\bin\" + - powershell -ExecutionPolicy unrestricted -Command "set PATH=%PATH%;C:\Program Files (x86)\Yarn\bin\" - echo $Env:PATH - dir "C:\Program Files (x86)\Yarn\bin\" - '"C:\Program Files (x86)\Yarn\bin\yarn"' From c9ff4f7b8e8d0a25a587d93baf7f5719abe91cba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 16:02:40 -0500 Subject: [PATCH 038/140] Test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 881391671..871d1056e 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -7,7 +7,7 @@ phases: - choco install -y yarn - set PATH=%PATH%;"C:\Program Files (x86)\Yarn\bin\" - echo $Env:PATH - - powershell -ExecutionPolicy unrestricted -Command "set PATH=%PATH%;C:\Program Files (x86)\Yarn\bin\" + - powershell -ExecutionPolicy unrestricted -Command "set PATH=%PATH%;^"C:\Program Files (x86)\Yarn\bin\^"" - echo $Env:PATH - dir "C:\Program Files (x86)\Yarn\bin\" - '"C:\Program Files (x86)\Yarn\bin\yarn"' From 061497dd5ec79c6c3838bfbdf10910d36672594c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 16:05:21 -0500 Subject: [PATCH 039/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 871d1056e..716c9697f 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -7,7 +7,7 @@ phases: - choco install -y yarn - set PATH=%PATH%;"C:\Program Files (x86)\Yarn\bin\" - echo $Env:PATH - - powershell -ExecutionPolicy unrestricted -Command "set PATH=%PATH%;^"C:\Program Files (x86)\Yarn\bin\^"" + - powershell -ExecutionPolicy unrestricted -Command 'set PATH=%PATH%;"C:\Program Files (x86)\Yarn\bin\"' - echo $Env:PATH - dir "C:\Program Files (x86)\Yarn\bin\" - '"C:\Program Files (x86)\Yarn\bin\yarn"' From d2c5cda64b92ce3707c3deb06cd18e570e32564b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 16:09:38 -0500 Subject: [PATCH 040/140] test --- buildspec.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 716c9697f..a2249199c 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,9 +5,9 @@ phases: commands: - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" - choco install -y yarn - - set PATH=%PATH%;"C:\Program Files (x86)\Yarn\bin\" - - echo $Env:PATH - - powershell -ExecutionPolicy unrestricted -Command 'set PATH=%PATH%;"C:\Program Files (x86)\Yarn\bin\"' + - $env:Path += ";C:\Program Files (x86)\Yarn\bin\" + - echo $env:Path + - $Env:PATH += ";C:\Program Files (x86)\Yarn\bin\" - echo $Env:PATH - dir "C:\Program Files (x86)\Yarn\bin\" - '"C:\Program Files (x86)\Yarn\bin\yarn"' From c16790b3a511e567dc5de9449e12f74fd7aaa2f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 16:14:27 -0500 Subject: [PATCH 041/140] giving up --- buildspec.yml | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index a2249199c..0b856dbeb 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,22 +3,24 @@ version: 0.2 phases: install: commands: - - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" - - choco install -y yarn - - $env:Path += ";C:\Program Files (x86)\Yarn\bin\" - - echo $env:Path - - $Env:PATH += ";C:\Program Files (x86)\Yarn\bin\" - - echo $Env:PATH - - dir "C:\Program Files (x86)\Yarn\bin\" - - '"C:\Program Files (x86)\Yarn\bin\yarn"' - - node -v + # - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" + # - choco install -y yarn + # - $env:Path += ";C:\Program Files (x86)\Yarn\bin\" + # - echo $env:Path + # - $Env:PATH += ";C:\Program Files (x86)\Yarn\bin\" + # - echo $Env:PATH + # - dir "C:\Program Files (x86)\Yarn\bin\" + # - '"C:\Program Files (x86)\Yarn\bin\yarn"' + # - node -v + - npm install -g yarn + - yarn -v pre_build: commands: - yarn install - build: - commands: - - yarn run lint - - yarn run test.unit - - yarn run build.prod + # build: + # commands: + # - yarn run lint + # - yarn run test.unit + # - yarn run build.prod # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe"' # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe"' From 4bf41a4adad7080e82307befdd638be5112fadb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 16:16:22 -0500 Subject: [PATCH 042/140] test --- buildspec.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 0b856dbeb..58714af31 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -13,14 +13,13 @@ phases: # - '"C:\Program Files (x86)\Yarn\bin\yarn"' # - node -v - npm install -g yarn - - yarn -v pre_build: commands: - yarn install - # build: - # commands: - # - yarn run lint - # - yarn run test.unit - # - yarn run build.prod + build: + commands: + - yarn run lint + - yarn run test.unit + - yarn run build.prod # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe"' # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe"' From 95b8baff1c43a8d97c3034626b00a28d6f941c2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 16:23:03 -0500 Subject: [PATCH 043/140] test --- buildspec.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/buildspec.yml b/buildspec.yml index 58714af31..14aff8754 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -18,6 +18,7 @@ phases: - yarn install build: commands: + - cd - yarn run lint - yarn run test.unit - yarn run build.prod From 09a6c6a3801f73d1adb773a270afaebbf98c57aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 16:26:36 -0500 Subject: [PATCH 044/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 14aff8754..4cbee81a1 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -19,7 +19,7 @@ phases: build: commands: - cd - - yarn run lint + # - yarn run lint - yarn run test.unit - yarn run build.prod # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe"' From 280bb32a02a2c9c0a9d1cc80ade10812aaaf51be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 21:36:09 -0500 Subject: [PATCH 045/140] test --- buildspec.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 4cbee81a1..7d3784d23 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,8 +3,11 @@ version: 0.2 phases: install: commands: - # - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" + - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" # - choco install -y yarn + - dir "C:\Program Files (x86)\" + - choco install -y googlechrome + - dir "C:\Program Files (x86)\" # - $env:Path += ";C:\Program Files (x86)\Yarn\bin\" # - echo $env:Path # - $Env:PATH += ";C:\Program Files (x86)\Yarn\bin\" @@ -18,9 +21,9 @@ phases: - yarn install build: commands: - - cd # - yarn run lint - yarn run test.unit - - yarn run build.prod + - yarn run build.prod --silent + # - $CODEBUILD_SRC_DIR_moab\moab-bin.exe build # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe"' # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe"' From acf570efe412c5221338c0da9def866468662a81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 21:40:19 -0500 Subject: [PATCH 046/140] test --- buildspec.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildspec.yml b/buildspec.yml index 7d3784d23..cfa55379b 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -7,6 +7,8 @@ phases: # - choco install -y yarn - dir "C:\Program Files (x86)\" - choco install -y googlechrome + - dir "C:\Program Files (x86)\Google\" + - choco install -y opera - dir "C:\Program Files (x86)\" # - $env:Path += ";C:\Program Files (x86)\Yarn\bin\" # - echo $env:Path From a05e7191a731d48f2fce01d9b420bfe24b81758a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 21:51:20 -0500 Subject: [PATCH 047/140] test --- buildspec.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index cfa55379b..fdc97e0bd 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -20,12 +20,17 @@ phases: - npm install -g yarn pre_build: commands: - - yarn install + - yarn install --silent build: commands: # - yarn run lint - yarn run test.unit - yarn run build.prod --silent - # - $CODEBUILD_SRC_DIR_moab\moab-bin.exe build + - $CODEBUILD_SRC_DIR_moab\moab-bin.exe makezip # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe"' # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe"' + +artifacts: + files: + - build/**/* + discard-paths: yes \ No newline at end of file From e4f93e746c319916ccaf019dc0c5b51353ccac08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 21:59:29 -0500 Subject: [PATCH 048/140] test --- buildspec.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index fdc97e0bd..d34ed778c 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -10,6 +10,7 @@ phases: - dir "C:\Program Files (x86)\Google\" - choco install -y opera - dir "C:\Program Files (x86)\" + - dir "C:\Program Files\" # - $env:Path += ";C:\Program Files (x86)\Yarn\bin\" # - echo $env:Path # - $Env:PATH += ";C:\Program Files (x86)\Yarn\bin\" @@ -26,7 +27,7 @@ phases: # - yarn run lint - yarn run test.unit - yarn run build.prod --silent - - $CODEBUILD_SRC_DIR_moab\moab-bin.exe makezip + - .\$CODEBUILD_SRC_DIR_moab\moab-bin.exe makezip # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe"' # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe"' From 1d1a6f83048970396eee891ac6ecd3d91738b03b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 22:11:50 -0500 Subject: [PATCH 049/140] test --- buildspec.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index d34ed778c..b484cfc58 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,6 +3,8 @@ version: 0.2 phases: install: commands: + - dir $CODEBUILD_SRC_DIR_moab + - dir ${CODEBUILD_SRC_DIR_moab} - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" # - choco install -y yarn - dir "C:\Program Files (x86)\" @@ -27,7 +29,7 @@ phases: # - yarn run lint - yarn run test.unit - yarn run build.prod --silent - - .\$CODEBUILD_SRC_DIR_moab\moab-bin.exe makezip + - .\${CODEBUILD_SRC_DIR_moab}\moab-bin.exe makezip # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe"' # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe"' From 073fad6c7e94036ec9e550eacd5b870ccc19d28c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 22:15:51 -0500 Subject: [PATCH 050/140] test --- buildspec.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildspec.yml b/buildspec.yml index b484cfc58..ac26dd8a1 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,6 +3,8 @@ version: 0.2 phases: install: commands: + - echo $Env:CODEBUILD_SRC_DIR_moab + - echo $CODEBUILD_SRC_DIR_moab - dir $CODEBUILD_SRC_DIR_moab - dir ${CODEBUILD_SRC_DIR_moab} - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" From 2b98ee0188c1b74596781c73cc3ebb4a70d10d7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 22:17:54 -0500 Subject: [PATCH 051/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index ac26dd8a1..19c9ce4b7 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,7 +5,7 @@ phases: commands: - echo $Env:CODEBUILD_SRC_DIR_moab - echo $CODEBUILD_SRC_DIR_moab - - dir $CODEBUILD_SRC_DIR_moab + - dir $Env:CODEBUILD_SRC_DIR_moab - dir ${CODEBUILD_SRC_DIR_moab} - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" # - choco install -y yarn From db074631df1555be2e37fbac7ed09b0fc65445e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 22:20:01 -0500 Subject: [PATCH 052/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 19c9ce4b7..b640de938 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -31,7 +31,7 @@ phases: # - yarn run lint - yarn run test.unit - yarn run build.prod --silent - - .\${CODEBUILD_SRC_DIR_moab}\moab-bin.exe makezip + - .\$Env:CODEBUILD_SRC_DIR_moab\moab-bin.exe makezip # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe"' # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe"' From 10d87f92c0f01670d53de828f53f3a1c7863fca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 12 Feb 2019 22:30:46 -0500 Subject: [PATCH 053/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index b640de938..5f43da9b7 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -31,7 +31,7 @@ phases: # - yarn run lint - yarn run test.unit - yarn run build.prod --silent - - .\$Env:CODEBUILD_SRC_DIR_moab\moab-bin.exe makezip + - '& "$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe" makezip' # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe"' # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe"' From c5a88ed0196443db1868442cdc23dd892a75908d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Fri, 15 Feb 2019 15:46:34 -0500 Subject: [PATCH 054/140] test --- buildspec.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildspec.yml b/buildspec.yml index 5f43da9b7..f8b9b5810 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -26,6 +26,10 @@ phases: pre_build: commands: - yarn install --silent + - echo "[projects]" >> C:\Users\ContainerAdministrator\.moabconfig + - echo " [projects.ghostery-extension]" >> C:\Users\ContainerAdministrator\.moabconfig + - echo " edge_makepri_path = \"C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe\"" >> C:\Users\ContainerAdministrator\.moabconfig + - echo " edge_makeappx_path = \"C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe\"" >> C:\Users\ContainerAdministrator\.moabconfig build: commands: # - yarn run lint From 14ddb6c5b0bda548b114af884bd9b26fb58d2b49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Fri, 15 Feb 2019 15:58:37 -0500 Subject: [PATCH 055/140] test --- buildspec.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index f8b9b5810..a0f172b12 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -28,8 +28,9 @@ phases: - yarn install --silent - echo "[projects]" >> C:\Users\ContainerAdministrator\.moabconfig - echo " [projects.ghostery-extension]" >> C:\Users\ContainerAdministrator\.moabconfig - - echo " edge_makepri_path = \"C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe\"" >> C:\Users\ContainerAdministrator\.moabconfig - - echo " edge_makeappx_path = \"C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe\"" >> C:\Users\ContainerAdministrator\.moabconfig + - echo " edge_makepri_path = """C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe"" >> C:\Users\ContainerAdministrator\.moabconfig + - echo " edge_makeappx_path = """C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe"" >> C:\Users\ContainerAdministrator\.moabconfig + - type C:\Users\ContainerAdministrator\.moabconfig build: commands: # - yarn run lint From a34882514aba67390d06d9077dd90676587708cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Fri, 15 Feb 2019 16:07:17 -0500 Subject: [PATCH 056/140] test --- buildspec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index a0f172b12..01c4b36b4 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -28,8 +28,8 @@ phases: - yarn install --silent - echo "[projects]" >> C:\Users\ContainerAdministrator\.moabconfig - echo " [projects.ghostery-extension]" >> C:\Users\ContainerAdministrator\.moabconfig - - echo " edge_makepri_path = """C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe"" >> C:\Users\ContainerAdministrator\.moabconfig - - echo " edge_makeappx_path = """C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe"" >> C:\Users\ContainerAdministrator\.moabconfig + - echo " edge_makepri_path = ""C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe""" >> C:\Users\ContainerAdministrator\.moabconfig + - echo " edge_makeappx_path = ""C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe""" >> C:\Users\ContainerAdministrator\.moabconfig - type C:\Users\ContainerAdministrator\.moabconfig build: commands: From fa434e5792c161133091752385f4893f610a05d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Fri, 15 Feb 2019 16:32:01 -0500 Subject: [PATCH 057/140] test --- buildspec.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 01c4b36b4..9c4ba642d 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -26,10 +26,10 @@ phases: pre_build: commands: - yarn install --silent - - echo "[projects]" >> C:\Users\ContainerAdministrator\.moabconfig - - echo " [projects.ghostery-extension]" >> C:\Users\ContainerAdministrator\.moabconfig - - echo " edge_makepri_path = ""C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe""" >> C:\Users\ContainerAdministrator\.moabconfig - - echo " edge_makeappx_path = ""C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe""" >> C:\Users\ContainerAdministrator\.moabconfig + - Add-Content "[projects]" >> C:\Users\ContainerAdministrator\.moabconfig + - Add-Content " [projects.ghostery-extension]" >> C:\Users\ContainerAdministrator\.moabconfig + - Add-Content " edge_makepri_path = ""C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe""" >> C:\Users\ContainerAdministrator\.moabconfig + - Add-Content " edge_makeappx_path = ""C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe""" >> C:\Users\ContainerAdministrator\.moabconfig - type C:\Users\ContainerAdministrator\.moabconfig build: commands: From ca5c97938e3cd0308e31948c4880107e136eeebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Fri, 15 Feb 2019 16:39:33 -0500 Subject: [PATCH 058/140] test --- buildspec.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 9c4ba642d..b90149a9a 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -26,10 +26,10 @@ phases: pre_build: commands: - yarn install --silent - - Add-Content "[projects]" >> C:\Users\ContainerAdministrator\.moabconfig - - Add-Content " [projects.ghostery-extension]" >> C:\Users\ContainerAdministrator\.moabconfig - - Add-Content " edge_makepri_path = ""C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe""" >> C:\Users\ContainerAdministrator\.moabconfig - - Add-Content " edge_makeappx_path = ""C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe""" >> C:\Users\ContainerAdministrator\.moabconfig + - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value '[projects]' + - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' [projects.ghostery-extension]' + - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' edge_makepri_path = "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe"' + - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' edge_makeappx_path = "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe"' - type C:\Users\ContainerAdministrator\.moabconfig build: commands: From e6e06c55f21c35cb7f59ad774e2060207ccca47d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Fri, 15 Feb 2019 16:48:57 -0500 Subject: [PATCH 059/140] test --- buildspec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index b90149a9a..a892b1efb 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -28,8 +28,8 @@ phases: - yarn install --silent - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value '[projects]' - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' [projects.ghostery-extension]' - - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' edge_makepri_path = "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe"' - - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' edge_makeappx_path = "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe"' + - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x64\\makepri.exe"' + - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x64\\makeappx.exe"' - type C:\Users\ContainerAdministrator\.moabconfig build: commands: From 1e8c59abe8d990debe83c3ae40a5634525bc2a24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Fri, 15 Feb 2019 17:11:53 -0500 Subject: [PATCH 060/140] test --- buildspec.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index a892b1efb..d9d7a3b4e 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,16 +5,10 @@ phases: commands: - echo $Env:CODEBUILD_SRC_DIR_moab - echo $CODEBUILD_SRC_DIR_moab - - dir $Env:CODEBUILD_SRC_DIR_moab - - dir ${CODEBUILD_SRC_DIR_moab} - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" # - choco install -y yarn - - dir "C:\Program Files (x86)\" - choco install -y googlechrome - - dir "C:\Program Files (x86)\Google\" - choco install -y opera - - dir "C:\Program Files (x86)\" - - dir "C:\Program Files\" # - $env:Path += ";C:\Program Files (x86)\Yarn\bin\" # - echo $env:Path # - $Env:PATH += ";C:\Program Files (x86)\Yarn\bin\" From 6eb0c24a4e0b13100e214b2df3c51d87892e071d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Fri, 15 Feb 2019 17:23:00 -0500 Subject: [PATCH 061/140] test --- buildspec.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index d9d7a3b4e..4e4fa65d3 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -31,8 +31,6 @@ phases: - yarn run test.unit - yarn run build.prod --silent - '& "$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe" makezip' - # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makeappx.exe"' - # - 'dir "C:\Program Files (x86)\Windows Kits\8.1\bin\x64\makepri.exe"' artifacts: files: From 90ec92a403db7bf68585dfd3ee8bbe7d8fe16b46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Wed, 20 Feb 2019 15:48:32 -0500 Subject: [PATCH 062/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 4e4fa65d3..f7ad82873 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -29,7 +29,7 @@ phases: commands: # - yarn run lint - yarn run test.unit - - yarn run build.prod --silent + - yarn run build.prod --silent 1> /dev/null - '& "$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe" makezip' artifacts: From 2c77bb258bd68eccdf6054452557cf6f6cf6ec30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Wed, 20 Feb 2019 15:49:54 -0500 Subject: [PATCH 063/140] test --- buildspec.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index f7ad82873..19c806d43 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -9,13 +9,6 @@ phases: # - choco install -y yarn - choco install -y googlechrome - choco install -y opera - # - $env:Path += ";C:\Program Files (x86)\Yarn\bin\" - # - echo $env:Path - # - $Env:PATH += ";C:\Program Files (x86)\Yarn\bin\" - # - echo $Env:PATH - # - dir "C:\Program Files (x86)\Yarn\bin\" - # - '"C:\Program Files (x86)\Yarn\bin\yarn"' - # - node -v - npm install -g yarn pre_build: commands: From 2c331814e91336bccc92af54a97211ef5ce0b73d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Wed, 20 Feb 2019 15:56:39 -0500 Subject: [PATCH 064/140] nul --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 19c806d43..2486558dd 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -22,7 +22,7 @@ phases: commands: # - yarn run lint - yarn run test.unit - - yarn run build.prod --silent 1> /dev/null + - yarn run build.prod --silent > NUL - '& "$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe" makezip' artifacts: From c38f70ad47e6eaadb59bcc0016f50464bb94c9f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Wed, 20 Feb 2019 16:01:18 -0500 Subject: [PATCH 065/140] no nul --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 2486558dd..37c5b3483 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -22,7 +22,7 @@ phases: commands: # - yarn run lint - yarn run test.unit - - yarn run build.prod --silent > NUL + - yarn run build.prod --silent - '& "$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe" makezip' artifacts: From 9b3b4133f4c202d7d30e5f8d8567344ceeb285fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Wed, 20 Feb 2019 16:55:45 -0500 Subject: [PATCH 066/140] test --- buildspec.yml | 5 ++--- package.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 37c5b3483..28e8a90b3 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -7,8 +7,7 @@ phases: - echo $CODEBUILD_SRC_DIR_moab - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" # - choco install -y yarn - - choco install -y googlechrome - - choco install -y opera + - choco install --confirm --limit-output googlechrome opera - npm install -g yarn pre_build: commands: @@ -23,7 +22,7 @@ phases: # - yarn run lint - yarn run test.unit - yarn run build.prod --silent - - '& "$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe" makezip' + - '& "$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe" build' artifacts: files: diff --git a/package.json b/package.json index 63c75725a..e13273ac9 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "main": "webpack.config.js", "scripts": { "build.dev": "webpack --mode development --display-error-details --progress --env.dev", - "build.prod": "webpack --mode production --display-error-details --progress --env.prod", + "build.prod": "webpack --mode production --env.prod", "build.watch": "webpack --mode development --display-error-details --progress --verbose --watch --env.dev --env.watch", "prebuild.dev": "node ./tools/licenses/fetchLicenses.js", "prebuild.prod": "node ./tools/licenses/fetchLicenses.js", From 88ac40a0a1fe6836a12af907e31e14a9558aa191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Wed, 20 Feb 2019 17:13:42 -0500 Subject: [PATCH 067/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 28e8a90b3..b4c57defa 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -7,7 +7,7 @@ phases: - echo $CODEBUILD_SRC_DIR_moab - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" # - choco install -y yarn - - choco install --confirm --limit-output googlechrome opera + - choco install --confirm --limit-output --no-progress googlechrome opera - npm install -g yarn pre_build: commands: From 1147f75625ba42b6e7cd12930aed1bc3b9918837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 21 Feb 2019 13:15:06 -0500 Subject: [PATCH 068/140] test --- buildspec.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index b4c57defa..0799cda6d 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,8 +3,7 @@ version: 0.2 phases: install: commands: - - echo $Env:CODEBUILD_SRC_DIR_moab - - echo $CODEBUILD_SRC_DIR_moab + - dir "C:\Program Files (x86)\Windows Kits\" - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" # - choco install -y yarn - choco install --confirm --limit-output --no-progress googlechrome opera @@ -20,7 +19,7 @@ phases: build: commands: # - yarn run lint - - yarn run test.unit + - yarn run test.unit --verbose=false - yarn run build.prod --silent - '& "$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe" build' From 2494d563acb1bac9f5c61fa3ba4660df01658150 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 21 Feb 2019 13:17:09 -0500 Subject: [PATCH 069/140] test --- buildspec.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 0799cda6d..f24b65b63 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,7 +3,8 @@ version: 0.2 phases: install: commands: - - dir "C:\Program Files (x86)\Windows Kits\" + - dir "C:\Program Files (x86)\Windows Kits\10\" + - dir "C:\Program Files (x86)\Windows Kits\10\bin\" - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" # - choco install -y yarn - choco install --confirm --limit-output --no-progress googlechrome opera From 38865c45e5023588444d1c024c29caef2803b923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 21 Feb 2019 13:19:25 -0500 Subject: [PATCH 070/140] test --- buildspec.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index f24b65b63..25dc341a6 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,8 +3,7 @@ version: 0.2 phases: install: commands: - - dir "C:\Program Files (x86)\Windows Kits\10\" - - dir "C:\Program Files (x86)\Windows Kits\10\bin\" + - dir "C:\Program Files (x86)\Windows Kits\10\bin\x64\" - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" # - choco install -y yarn - choco install --confirm --limit-output --no-progress googlechrome opera From 521b7d7960fd254c4db7f95536876e0e95a23684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 21 Feb 2019 13:22:43 -0500 Subject: [PATCH 071/140] test --- buildspec.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildspec.yml b/buildspec.yml index 25dc341a6..b6d7c4a7b 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,7 +3,11 @@ version: 0.2 phases: install: commands: + - dir "C:\Program Files (x86)\Windows Kits\10\bin\arm\" + - dir "C:\Program Files (x86)\Windows Kits\10\bin\arm64\" - dir "C:\Program Files (x86)\Windows Kits\10\bin\x64\" + - dir "C:\Program Files (x86)\Windows Kits\10\bin\x64\ucrt\" + - dir "C:\Program Files (x86)\Windows Kits\10\bin\x86\" - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" # - choco install -y yarn - choco install --confirm --limit-output --no-progress googlechrome opera From 394583d3b45a73796490bb45a815c3d4ebc0383a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 21 Feb 2019 15:39:30 -0500 Subject: [PATCH 072/140] tesT --- buildspec.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index b6d7c4a7b..a029b6898 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,14 +3,14 @@ version: 0.2 phases: install: commands: + - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" + # - choco install -y yarn + - choco install --confirm --limit-output --no-progress googlechrome opera windows-sdk-10.1 - dir "C:\Program Files (x86)\Windows Kits\10\bin\arm\" - dir "C:\Program Files (x86)\Windows Kits\10\bin\arm64\" - dir "C:\Program Files (x86)\Windows Kits\10\bin\x64\" - dir "C:\Program Files (x86)\Windows Kits\10\bin\x64\ucrt\" - dir "C:\Program Files (x86)\Windows Kits\10\bin\x86\" - - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" - # - choco install -y yarn - - choco install --confirm --limit-output --no-progress googlechrome opera - npm install -g yarn pre_build: commands: From fd026afc219e340417aed4e1d7e60606c6edb8b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 21 Feb 2019 17:23:32 -0500 Subject: [PATCH 073/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index a029b6898..353d21fd4 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,7 +5,7 @@ phases: commands: - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" # - choco install -y yarn - - choco install --confirm --limit-output --no-progress googlechrome opera windows-sdk-10.1 + - choco install --confirm --limit-output --no-progress --ignore-checksums googlechrome opera windows-sdk-10.1 - dir "C:\Program Files (x86)\Windows Kits\10\bin\arm\" - dir "C:\Program Files (x86)\Windows Kits\10\bin\arm64\" - dir "C:\Program Files (x86)\Windows Kits\10\bin\x64\" From 26d9019fc22270097c827d0660a35be5cc528a8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 21 Feb 2019 17:45:11 -0500 Subject: [PATCH 074/140] test --- buildspec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 353d21fd4..1cf0184b0 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -17,8 +17,8 @@ phases: - yarn install --silent - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value '[projects]' - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' [projects.ghostery-extension]' - - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x64\\makepri.exe"' - - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\8.1\\bin\\x64\\makeappx.exe"' + - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makepri.exe"' + - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makeappx.exe"' - type C:\Users\ContainerAdministrator\.moabconfig build: commands: From 11758fa42494080408655cef9142965478efcfa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Fri, 22 Feb 2019 12:25:46 -0500 Subject: [PATCH 075/140] remove comments --- buildspec.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 1cf0184b0..3105bfe5c 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -6,11 +6,6 @@ phases: - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" # - choco install -y yarn - choco install --confirm --limit-output --no-progress --ignore-checksums googlechrome opera windows-sdk-10.1 - - dir "C:\Program Files (x86)\Windows Kits\10\bin\arm\" - - dir "C:\Program Files (x86)\Windows Kits\10\bin\arm64\" - - dir "C:\Program Files (x86)\Windows Kits\10\bin\x64\" - - dir "C:\Program Files (x86)\Windows Kits\10\bin\x64\ucrt\" - - dir "C:\Program Files (x86)\Windows Kits\10\bin\x86\" - npm install -g yarn pre_build: commands: @@ -19,7 +14,6 @@ phases: - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' [projects.ghostery-extension]' - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makepri.exe"' - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makeappx.exe"' - - type C:\Users\ContainerAdministrator\.moabconfig build: commands: # - yarn run lint From 87beb968c816ba0dac3501d1d537b831e4b211ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 25 Feb 2019 12:12:37 -0500 Subject: [PATCH 076/140] test --- buildspec.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 3105bfe5c..c0524c6f0 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,12 +1,6 @@ version: 0.2 phases: - install: - commands: - - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" - # - choco install -y yarn - - choco install --confirm --limit-output --no-progress --ignore-checksums googlechrome opera windows-sdk-10.1 - - npm install -g yarn pre_build: commands: - yarn install --silent From 98dbaf1a46eb6becbeb317c1332f5e7abbc51adc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 26 Feb 2019 11:06:13 -0500 Subject: [PATCH 077/140] test --- Dockerfile | 19 +++---------------- buildspec.yml | 1 + 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/Dockerfile b/Dockerfile index 49fdf4ad7..657e98fda 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,4 @@ -FROM node:8 - -RUN curl https://s3.amazonaws.com/cdncliqz/update/ghostery/moab/moab_6a9b26e > /bin/moab && \ - chmod +x /bin/moab - -RUN npm install -g yarn - -ARG UID -ARG GID -RUN groupadd jenkins -g $GID \ - && useradd -ms /bin/bash jenkins -u $UID -g $GID - -USER jenkins -COPY package.json /home/jenkins/ -COPY yarn.lock /home/jenkins/ -RUN cd /home/jenkins/ && yarn install --frozen-lockfile +FROM mcr.microsoft.com/windows/servercore:ltsc2016 +RUN powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" +RUN choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 diff --git a/buildspec.yml b/buildspec.yml index c0524c6f0..369dd9b92 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,6 +3,7 @@ version: 0.2 phases: pre_build: commands: + - docker version - yarn install --silent - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value '[projects]' - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' [projects.ghostery-extension]' From 383696c9babe3bf06021544fef8f8b5d07aad5ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 26 Feb 2019 11:20:13 -0500 Subject: [PATCH 078/140] Revert "test" This reverts commit 98dbaf1a46eb6becbeb317c1332f5e7abbc51adc. --- Dockerfile | 19 ++++++++++++++++--- buildspec.yml | 1 - 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 657e98fda..49fdf4ad7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,17 @@ -FROM mcr.microsoft.com/windows/servercore:ltsc2016 +FROM node:8 + +RUN curl https://s3.amazonaws.com/cdncliqz/update/ghostery/moab/moab_6a9b26e > /bin/moab && \ + chmod +x /bin/moab + +RUN npm install -g yarn + +ARG UID +ARG GID +RUN groupadd jenkins -g $GID \ + && useradd -ms /bin/bash jenkins -u $UID -g $GID + +USER jenkins +COPY package.json /home/jenkins/ +COPY yarn.lock /home/jenkins/ +RUN cd /home/jenkins/ && yarn install --frozen-lockfile -RUN powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" -RUN choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 diff --git a/buildspec.yml b/buildspec.yml index 369dd9b92..c0524c6f0 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,7 +3,6 @@ version: 0.2 phases: pre_build: commands: - - docker version - yarn install --silent - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value '[projects]' - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' [projects.ghostery-extension]' From db89365871f0424dcdfd7cdead388592f91fc4b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 26 Feb 2019 11:25:41 -0500 Subject: [PATCH 079/140] add cache --- buildspec.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index c0524c6f0..94baadffa 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -18,4 +18,8 @@ phases: artifacts: files: - build/**/* - discard-paths: yes \ No newline at end of file + discard-paths: yes + +cache: + paths: + - node_modules/**/* From 78d61d19c1e903a2437ee52516aeabfd0d18b924 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 26 Feb 2019 11:35:18 -0500 Subject: [PATCH 080/140] Revert "add cache" This reverts commit db89365871f0424dcdfd7cdead388592f91fc4b8. --- buildspec.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 94baadffa..c0524c6f0 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -18,8 +18,4 @@ phases: artifacts: files: - build/**/* - discard-paths: yes - -cache: - paths: - - node_modules/**/* + discard-paths: yes \ No newline at end of file From cb960c4b246f88a33d2fb9ded58c8b1a87dc8c9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 26 Feb 2019 11:55:41 -0500 Subject: [PATCH 081/140] test --- buildspec.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index c0524c6f0..534ebf65e 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,7 +3,9 @@ version: 0.2 phases: pre_build: commands: - - yarn install --silent + - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" + - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 + - '& "C:\Program Files (x86)\Yarn\bin\yarn.cmd" install --silent' - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value '[projects]' - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' [projects.ghostery-extension]' - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makepri.exe"' @@ -11,8 +13,8 @@ phases: build: commands: # - yarn run lint - - yarn run test.unit --verbose=false - - yarn run build.prod --silent + - '& "C:\Program Files (x86)\Yarn\bin\yarn.cmd" run test.unit --verbose=false' + - '& "C:\Program Files (x86)\Yarn\bin\yarn.cmd" run build.prod --silent' - '& "$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe" build' artifacts: From 62238bd3646f520286c3d57bddf0a7c704d62e4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 26 Feb 2019 12:21:16 -0500 Subject: [PATCH 082/140] test --- buildspec.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 534ebf65e..068b96547 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,12 +4,14 @@ phases: pre_build: commands: - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" - - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 - - '& "C:\Program Files (x86)\Yarn\bin\yarn.cmd" install --silent' - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value '[projects]' - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' [projects.ghostery-extension]' - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makepri.exe"' - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makeappx.exe"' + install: + commands: + - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 + - '& "C:\Program Files (x86)\Yarn\bin\yarn.cmd" install --silent' build: commands: # - yarn run lint @@ -20,4 +22,8 @@ phases: artifacts: files: - build/**/* - discard-paths: yes \ No newline at end of file + discard-paths: yes + +cache: + paths: + - 'node_modules/**/*' \ No newline at end of file From 8625400f05835e4b4eeb30c6e68bf643d0576cb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 26 Feb 2019 12:33:01 -0500 Subject: [PATCH 083/140] test --- buildspec.yml | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 068b96547..cce7019c2 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,29 +1,30 @@ version: 0.2 +env: + variables: + YARN_BIN: 'C:\Program Files (x86)\Yarn\bin\yarn.cmd' + MOAB_BIN: '$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe' + MOABCONFIG_PATH: 'C:\Users\ContainerAdministrator\.moabconfig' + phases: - pre_build: - commands: - - powershell -ExecutionPolicy unrestricted -Command "Invoke-Expression ((New-Object Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" - - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value '[projects]' - - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' [projects.ghostery-extension]' - - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makepri.exe"' - - Add-Content -Path C:\Users\ContainerAdministrator\.moabconfig -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makeappx.exe"' install: commands: - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 - - '& "C:\Program Files (x86)\Yarn\bin\yarn.cmd" install --silent' + - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makepri.exe"' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makeappx.exe"' + pre_build: + commands: + - '& $env:YARN_BIN install --silent' build: commands: - # - yarn run lint - - '& "C:\Program Files (x86)\Yarn\bin\yarn.cmd" run test.unit --verbose=false' - - '& "C:\Program Files (x86)\Yarn\bin\yarn.cmd" run build.prod --silent' - - '& "$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe" build' + - '& $env:YARN_BIN run lint' + - '& $env:YARN_BIN run test.unit --verbose=false' + - '& $env:YARN_BIN run build.prod --silent' + - '& $env:MOAB_BIN build' artifacts: files: - build/**/* discard-paths: yes - -cache: - paths: - - 'node_modules/**/*' \ No newline at end of file From dd4caf490f3b28c4adf390adbe87cc3a82f15d3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 26 Feb 2019 12:41:17 -0500 Subject: [PATCH 084/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index cce7019c2..5569b4258 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -19,7 +19,7 @@ phases: - '& $env:YARN_BIN install --silent' build: commands: - - '& $env:YARN_BIN run lint' + # - '& $env:YARN_BIN run lint' - '& $env:YARN_BIN run test.unit --verbose=false' - '& $env:YARN_BIN run build.prod --silent' - '& $env:MOAB_BIN build' From 260159c856a56840331c563f318d39e0ba51f761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 26 Feb 2019 12:43:32 -0500 Subject: [PATCH 085/140] test --- buildspec.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/buildspec.yml b/buildspec.yml index 5569b4258..6277eba17 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -9,6 +9,7 @@ env: phases: install: commands: + - echo $env:MOAB_BIN - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' From f31ae0a02e719dba7af67977501fe4a78683924d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Tue, 26 Feb 2019 12:46:24 -0500 Subject: [PATCH 086/140] test --- buildspec.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 6277eba17..df2555b46 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,13 +3,11 @@ version: 0.2 env: variables: YARN_BIN: 'C:\Program Files (x86)\Yarn\bin\yarn.cmd' - MOAB_BIN: '$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe' MOABCONFIG_PATH: 'C:\Users\ContainerAdministrator\.moabconfig' phases: install: commands: - - echo $env:MOAB_BIN - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' @@ -23,7 +21,7 @@ phases: # - '& $env:YARN_BIN run lint' - '& $env:YARN_BIN run test.unit --verbose=false' - '& $env:YARN_BIN run build.prod --silent' - - '& $env:MOAB_BIN build' + - '& "$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe" build' artifacts: files: From d160b85dc8eaa2674958e6b7074ca14aa66f97c3 Mon Sep 17 00:00:00 2001 From: Serge Zarembsky Date: Wed, 8 May 2019 18:42:57 -0400 Subject: [PATCH 087/140] Excluding Edge --- buildspec.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index df2555b46..6043e1500 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -8,11 +8,12 @@ env: phases: install: commands: + # - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makepri.exe"' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makeappx.exe"' + # - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makepri.exe"' + # - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makeappx.exe"' pre_build: commands: - '& $env:YARN_BIN install --silent' From 9289036aafa5d2dcee6873482fce151210c57694 Mon Sep 17 00:00:00 2001 From: Serge Zarembsky Date: Wed, 8 May 2019 18:48:35 -0400 Subject: [PATCH 088/140] Removing Edge --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 6043e1500..ece3e5430 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -9,7 +9,7 @@ phases: install: commands: # - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 - - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 + - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' # - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makepri.exe"' From 3cb766b67c2d7776fbd6fbb9295d05cbf2310005 Mon Sep 17 00:00:00 2001 From: Serge Zarembsky Date: Wed, 8 May 2019 19:08:57 -0400 Subject: [PATCH 089/140] Removed chrome --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index ece3e5430..077304534 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -9,7 +9,7 @@ phases: install: commands: # - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 - - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera + - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn opera - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' # - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makepri.exe"' From 0a44994f1255a4c146b3ac52505b6cf5593f967e Mon Sep 17 00:00:00 2001 From: Serge Zarembsky Date: Thu, 9 May 2019 13:09:46 -0400 Subject: [PATCH 090/140] Reset to Jose test --- buildspec.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index df2555b46..784b3d4ba 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -9,6 +9,7 @@ phases: install: commands: - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 + - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn opera - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makepri.exe"' @@ -18,7 +19,7 @@ phases: - '& $env:YARN_BIN install --silent' build: commands: - # - '& $env:YARN_BIN run lint' + - '& $env:YARN_BIN run lint' - '& $env:YARN_BIN run test.unit --verbose=false' - '& $env:YARN_BIN run build.prod --silent' - '& "$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe" build' From 626ee61e5859d9ff5c703c4eb236e660ad665f1e Mon Sep 17 00:00:00 2001 From: Serge Zarembsky Date: Thu, 9 May 2019 13:20:57 -0400 Subject: [PATCH 091/140] Changed sdk path --- buildspec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 784b3d4ba..2d7710c28 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -12,8 +12,8 @@ phases: - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn opera - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makepri.exe"' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.17763.0\\x64\\makeappx.exe"' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.1.18362.1\\x64\\makepri.exe"' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.1.18362.1\\x64\\makeappx.exe"' pre_build: commands: - '& $env:YARN_BIN install --silent' From 366b01e9656673120da734155f1b03f433cfe586 Mon Sep 17 00:00:00 2001 From: Serge Zarembsky Date: Thu, 9 May 2019 13:31:26 -0400 Subject: [PATCH 092/140] Comment out lint --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 2d7710c28..e88e0272b 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -19,7 +19,7 @@ phases: - '& $env:YARN_BIN install --silent' build: commands: - - '& $env:YARN_BIN run lint' + # - '& $env:YARN_BIN run lint' - '& $env:YARN_BIN run test.unit --verbose=false' - '& $env:YARN_BIN run build.prod --silent' - '& "$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe" build' From ed23a648b6795a3e160c2b0b2c1c4024bf5bee66 Mon Sep 17 00:00:00 2001 From: Serge Zarembsky Date: Thu, 9 May 2019 13:53:21 -0400 Subject: [PATCH 093/140] Adjusting path --- buildspec.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index e88e0272b..eb870b0ad 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -9,11 +9,10 @@ phases: install: commands: - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 - - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn opera - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.1.18362.1\\x64\\makepri.exe"' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.1.18362.1\\x64\\makeappx.exe"' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.1.18362.0\\x64\\makepri.exe"' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.1.18362.0\\x64\\makeappx.exe"' pre_build: commands: - '& $env:YARN_BIN install --silent' From 804591cf9afd8e2e2f3f8ee01f499c881d736778 Mon Sep 17 00:00:00 2001 From: Serge Zarembsky Date: Thu, 9 May 2019 15:26:44 -0400 Subject: [PATCH 094/140] Added --verbose --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index eb870b0ad..0b0639b05 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -8,7 +8,7 @@ env: phases: install: commands: - - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 + - choco install --confirm --verbose --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.1.18362.0\\x64\\makepri.exe"' From 14046028910cde558022e89f4c4ee2673ca1eedd Mon Sep 17 00:00:00 2001 From: Serge Zarembsky Date: Thu, 9 May 2019 18:09:36 -0400 Subject: [PATCH 095/140] Returned --limited-output to choco --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 0b0639b05..eb870b0ad 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -8,7 +8,7 @@ env: phases: install: commands: - - choco install --confirm --verbose --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 + - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.1.18362.0\\x64\\makepri.exe"' From 52a78956b7d6b5ae8a4ed9459e3a015d376d8301 Mon Sep 17 00:00:00 2001 From: Serge Zarembsky Date: Fri, 10 May 2019 10:21:09 -0400 Subject: [PATCH 096/140] Try to list the directory --- buildspec.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/buildspec.yml b/buildspec.yml index eb870b0ad..72bcaeaea 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -13,6 +13,7 @@ phases: - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.1.18362.0\\x64\\makepri.exe"' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.1.18362.0\\x64\\makeappx.exe"' + - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin" pre_build: commands: - '& $env:YARN_BIN install --silent' From e6ef6b9b42002e05fa9067225942c52ce4c2a23c Mon Sep 17 00:00:00 2001 From: Serge Zarembsky Date: Fri, 10 May 2019 10:47:54 -0400 Subject: [PATCH 097/140] Adjusting paths to Edge build tools --- buildspec.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 72bcaeaea..b77e3abcf 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -11,9 +11,9 @@ phases: - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.1.18362.0\\x64\\makepri.exe"' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.1.18362.0\\x64\\makeappx.exe"' - - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin" + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makepri.exe"' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makeappx.exe"' + # - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin" pre_build: commands: - '& $env:YARN_BIN install --silent' From 8bce0c4ff0ada3d2ca0d063339bfa37e081ed4ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 13 May 2019 14:53:44 -0400 Subject: [PATCH 098/140] Fix windows sdk version. --- buildspec.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index b77e3abcf..bb2ec17ad 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,15 +4,17 @@ env: variables: YARN_BIN: 'C:\Program Files (x86)\Yarn\bin\yarn.cmd' MOABCONFIG_PATH: 'C:\Users\ContainerAdministrator\.moabconfig' + WINDOWS_SDK_VERSION: '10.0.18362.0' phases: install: commands: - - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 + - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera + - choco install windows-sdk-10.1 --version $env:WINDOWS_SDK_VERSION --confirm --limit-output --no-progress --ignore-checksums - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makepri.exe"' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makeappx.exe"' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\$env:WINDOWS_SDK_VERSION\\x64\\makepri.exe"' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\$env:WINDOWS_SDK_VERSION\\x64\\makeappx.exe"' # - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin" pre_build: commands: From 0ded134573088db00779c180ad2fbd9c7f8d802f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 13 May 2019 15:01:33 -0400 Subject: [PATCH 099/140] Revert "Fix windows sdk version." This reverts commit 8bce0c4ff0ada3d2ca0d063339bfa37e081ed4ad. --- buildspec.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index bb2ec17ad..b77e3abcf 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,17 +4,15 @@ env: variables: YARN_BIN: 'C:\Program Files (x86)\Yarn\bin\yarn.cmd' MOABCONFIG_PATH: 'C:\Users\ContainerAdministrator\.moabconfig' - WINDOWS_SDK_VERSION: '10.0.18362.0' phases: install: commands: - - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera - - choco install windows-sdk-10.1 --version $env:WINDOWS_SDK_VERSION --confirm --limit-output --no-progress --ignore-checksums + - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\$env:WINDOWS_SDK_VERSION\\x64\\makepri.exe"' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\$env:WINDOWS_SDK_VERSION\\x64\\makeappx.exe"' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makepri.exe"' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makeappx.exe"' # - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin" pre_build: commands: From 332b99ad38403868a1cb93acdfa7396eee4f88f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 13 May 2019 15:04:21 -0400 Subject: [PATCH 100/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index b77e3abcf..9a3af52d6 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -9,11 +9,11 @@ phases: install: commands: - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 + - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin" - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makepri.exe"' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makeappx.exe"' - # - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin" pre_build: commands: - '& $env:YARN_BIN install --silent' From 03d876a65fb585788cdfd12acaed01fe32779836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 13 May 2019 15:12:36 -0400 Subject: [PATCH 101/140] test --- buildspec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 9a3af52d6..af1ffd3c6 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -8,8 +8,8 @@ env: phases: install: commands: - - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 - - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin" + - choco install --confirm --limit-output --no-progress --ignore-checksums windows-sdk-10.1 + - Dir /s "C:\\Program Files (x86)\\Windows Kits\\10\\bin" - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makepri.exe"' From 5600995668c2349b7ad18c1a1dea60388223bde7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 13 May 2019 15:21:26 -0400 Subject: [PATCH 102/140] test --- buildspec.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index af1ffd3c6..916366f8b 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -9,7 +9,15 @@ phases: install: commands: - choco install --confirm --limit-output --no-progress --ignore-checksums windows-sdk-10.1 - - Dir /s "C:\\Program Files (x86)\\Windows Kits\\10\\bin" + - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin" + - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\arm" + - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\arm64" + - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x64" + - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x86" + - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.14393.0" + - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.15063.0" + - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.16299.0" + - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0" - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makepri.exe"' From b22099453c27cc7a9e955919fb0f409383c1c101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 13 May 2019 15:52:24 -0400 Subject: [PATCH 103/140] Revert "test" This reverts commit 5600995668c2349b7ad18c1a1dea60388223bde7. --- buildspec.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 916366f8b..af1ffd3c6 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -9,15 +9,7 @@ phases: install: commands: - choco install --confirm --limit-output --no-progress --ignore-checksums windows-sdk-10.1 - - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin" - - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\arm" - - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\arm64" - - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x64" - - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x86" - - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.14393.0" - - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.15063.0" - - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.16299.0" - - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0" + - Dir /s "C:\\Program Files (x86)\\Windows Kits\\10\\bin" - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makepri.exe"' From 52ad1504f595cb4a14a0890f16cc328500b1e19a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 13 May 2019 15:52:26 -0400 Subject: [PATCH 104/140] Revert "test" This reverts commit 03d876a65fb585788cdfd12acaed01fe32779836. --- buildspec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index af1ffd3c6..9a3af52d6 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -8,8 +8,8 @@ env: phases: install: commands: - - choco install --confirm --limit-output --no-progress --ignore-checksums windows-sdk-10.1 - - Dir /s "C:\\Program Files (x86)\\Windows Kits\\10\\bin" + - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 + - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin" - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makepri.exe"' From 0168665ae3ac937501a611ce91a0cc52d5482a51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 13 May 2019 15:52:27 -0400 Subject: [PATCH 105/140] Revert "test" This reverts commit 332b99ad38403868a1cb93acdfa7396eee4f88f6. --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 9a3af52d6..b77e3abcf 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -9,11 +9,11 @@ phases: install: commands: - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 - - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin" - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makepri.exe"' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makeappx.exe"' + # - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin" pre_build: commands: - '& $env:YARN_BIN install --silent' From 488f53e24535aee7b9b4445285ba7c830b9a714b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 13 May 2019 15:52:29 -0400 Subject: [PATCH 106/140] Revert "Revert "Fix windows sdk version."" This reverts commit 0ded134573088db00779c180ad2fbd9c7f8d802f. --- buildspec.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index b77e3abcf..bb2ec17ad 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,15 +4,17 @@ env: variables: YARN_BIN: 'C:\Program Files (x86)\Yarn\bin\yarn.cmd' MOABCONFIG_PATH: 'C:\Users\ContainerAdministrator\.moabconfig' + WINDOWS_SDK_VERSION: '10.0.18362.0' phases: install: commands: - - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 + - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera + - choco install windows-sdk-10.1 --version $env:WINDOWS_SDK_VERSION --confirm --limit-output --no-progress --ignore-checksums - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makepri.exe"' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makeappx.exe"' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\$env:WINDOWS_SDK_VERSION\\x64\\makepri.exe"' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\$env:WINDOWS_SDK_VERSION\\x64\\makeappx.exe"' # - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin" pre_build: commands: From 71f9ce02e5e538cf9acadba24787917f93049e2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 13 May 2019 15:52:30 -0400 Subject: [PATCH 107/140] Revert "Fix windows sdk version." This reverts commit 8bce0c4ff0ada3d2ca0d063339bfa37e081ed4ad. --- buildspec.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index bb2ec17ad..b77e3abcf 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,17 +4,15 @@ env: variables: YARN_BIN: 'C:\Program Files (x86)\Yarn\bin\yarn.cmd' MOABCONFIG_PATH: 'C:\Users\ContainerAdministrator\.moabconfig' - WINDOWS_SDK_VERSION: '10.0.18362.0' phases: install: commands: - - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera - - choco install windows-sdk-10.1 --version $env:WINDOWS_SDK_VERSION --confirm --limit-output --no-progress --ignore-checksums + - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\$env:WINDOWS_SDK_VERSION\\x64\\makepri.exe"' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\$env:WINDOWS_SDK_VERSION\\x64\\makeappx.exe"' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makepri.exe"' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makeappx.exe"' # - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin" pre_build: commands: From 2b08ba3ad3b8c9384c8598e50dbdfb783884ab60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Mon, 13 May 2019 16:02:02 -0400 Subject: [PATCH 108/140] Test --- buildspec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index b77e3abcf..877cf9714 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -8,12 +8,12 @@ env: phases: install: commands: - - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera windows-sdk-10.1 + - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera + - choco install --confirm --limit-output --no-progress --ignore-checksums --version 10.1.18362.1 windows-sdk-10.1 - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makepri.exe"' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makeappx.exe"' - # - Dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin" pre_build: commands: - '& $env:YARN_BIN install --silent' From ed0f4664c00406ab8a08f29746473ff9e1cc9e66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Wed, 14 Aug 2019 15:48:25 -0400 Subject: [PATCH 109/140] test --- buildspec.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 877cf9714..7c33bb47c 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -7,8 +7,12 @@ env: phases: install: + runtime-versions: + nodejs: 8 + dotnet: 2.2 commands: - - choco install --confirm --limit-output --no-progress --ignore-checksums git nodejs yarn googlechrome opera + - dir "C:\\Program Files (x86)\\Windows Kits\\" + - choco install --confirm --limit-output --no-progress --ignore-checksums yarn googlechrome opera - choco install --confirm --limit-output --no-progress --ignore-checksums --version 10.1.18362.1 windows-sdk-10.1 - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' From 29024390282d013c2e9e03448dbd38750916ef00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Wed, 14 Aug 2019 15:53:39 -0400 Subject: [PATCH 110/140] test 2. --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 7c33bb47c..bb899d414 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -11,7 +11,7 @@ phases: nodejs: 8 dotnet: 2.2 commands: - - dir "C:\\Program Files (x86)\\Windows Kits\\" + - dir "C:\\Program Files (x86)\\Windows Kits\\bin\\" - choco install --confirm --limit-output --no-progress --ignore-checksums yarn googlechrome opera - choco install --confirm --limit-output --no-progress --ignore-checksums --version 10.1.18362.1 windows-sdk-10.1 - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' From 2f4ec93c6dbe4a718a5f36ae865cc69a844edf08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Wed, 14 Aug 2019 15:55:36 -0400 Subject: [PATCH 111/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index bb899d414..6b0af5107 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -11,7 +11,7 @@ phases: nodejs: 8 dotnet: 2.2 commands: - - dir "C:\\Program Files (x86)\\Windows Kits\\bin\\" + - dir "C:\\Program Files (x86)\\Windows Kits\\10\\" - choco install --confirm --limit-output --no-progress --ignore-checksums yarn googlechrome opera - choco install --confirm --limit-output --no-progress --ignore-checksums --version 10.1.18362.1 windows-sdk-10.1 - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' From 7ed0bd8e1bd25fda9673630da5dc671e7c101203 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Wed, 14 Aug 2019 15:57:53 -0400 Subject: [PATCH 112/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 6b0af5107..692a37814 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -11,7 +11,7 @@ phases: nodejs: 8 dotnet: 2.2 commands: - - dir "C:\\Program Files (x86)\\Windows Kits\\10\\" + - dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\" - choco install --confirm --limit-output --no-progress --ignore-checksums yarn googlechrome opera - choco install --confirm --limit-output --no-progress --ignore-checksums --version 10.1.18362.1 windows-sdk-10.1 - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' From 4956ee3320cb9c4bcae0e0cf4dac2cf3e3784c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Wed, 14 Aug 2019 16:00:17 -0400 Subject: [PATCH 113/140] test --- buildspec.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 692a37814..3b13dc359 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -11,7 +11,10 @@ phases: nodejs: 8 dotnet: 2.2 commands: - - dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\" + - dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\arm" + - dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\arm64" + - dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x64" + - dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x86" - choco install --confirm --limit-output --no-progress --ignore-checksums yarn googlechrome opera - choco install --confirm --limit-output --no-progress --ignore-checksums --version 10.1.18362.1 windows-sdk-10.1 - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' From 36af799b15e4e7c17af0e1025c480a0e619b20b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Wed, 14 Aug 2019 16:02:31 -0400 Subject: [PATCH 114/140] test --- buildspec.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 3b13dc359..ea34cface 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -11,10 +11,10 @@ phases: nodejs: 8 dotnet: 2.2 commands: - - dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\arm" - - dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\arm64" - - dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x64" - - dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x86" + - dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\arm\\ucrt" + - dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\arm64\\ucrt" + - dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x64\\ucrt" + - dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x86\\ucrt" - choco install --confirm --limit-output --no-progress --ignore-checksums yarn googlechrome opera - choco install --confirm --limit-output --no-progress --ignore-checksums --version 10.1.18362.1 windows-sdk-10.1 - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' From a4ba70ee9798afab8b543e39e39b12b3f300815b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Wed, 14 Aug 2019 16:17:40 -0400 Subject: [PATCH 115/140] remove tests. --- buildspec.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index ea34cface..3e27ea15f 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -9,12 +9,7 @@ phases: install: runtime-versions: nodejs: 8 - dotnet: 2.2 commands: - - dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\arm\\ucrt" - - dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\arm64\\ucrt" - - dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x64\\ucrt" - - dir "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x86\\ucrt" - choco install --confirm --limit-output --no-progress --ignore-checksums yarn googlechrome opera - choco install --confirm --limit-output --no-progress --ignore-checksums --version 10.1.18362.1 windows-sdk-10.1 - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' From 9d6ffa3fb1d7fcd0c3767a83954736cab24ed80d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Wed, 14 Aug 2019 16:48:56 -0400 Subject: [PATCH 116/140] Fix paths. --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 3e27ea15f..f1261be7c 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -29,4 +29,4 @@ phases: artifacts: files: - build/**/* - discard-paths: yes + discard-paths: no From 71c7666f75b733f6c60a2716c16c1c91d744cf41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Wed, 14 Aug 2019 17:31:12 -0400 Subject: [PATCH 117/140] test --- buildspec.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index f1261be7c..cc162563c 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -28,5 +28,6 @@ phases: artifacts: files: - - build/**/* - discard-paths: no + - '**/*' + name: 'ghostery-extension-&env:CODEBUILD_RESOLVED_SOURCE_VERSION' + base-directory: build From 0e4d4dbcfb3408ba8b78bfda6b083084e2bc8f6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 11:39:53 -0400 Subject: [PATCH 118/140] TEST --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index cc162563c..281da472d 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -29,5 +29,5 @@ phases: artifacts: files: - '**/*' - name: 'ghostery-extension-&env:CODEBUILD_RESOLVED_SOURCE_VERSION' + name: ghostery-extension-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION base-directory: build From e21234daa1cf037e56794faf0bca9ff4106cce4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 12:09:13 -0400 Subject: [PATCH 119/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 281da472d..5d2ee3943 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -29,5 +29,5 @@ phases: artifacts: files: - '**/*' - name: ghostery-extension-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION + name: $($manifest = Get-Content | .\manifest.json | Out-String | ConvertFrom-Json; $manifest.version).$Env:CODEBUILD_RESOLVED_SOURCE_VERSION base-directory: build From a112bedddadb5f755e2ff4f018727473d7b11328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 12:22:51 -0400 Subject: [PATCH 120/140] fix typo --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 5d2ee3943..4a1030c9e 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -29,5 +29,5 @@ phases: artifacts: files: - '**/*' - name: $($manifest = Get-Content | .\manifest.json | Out-String | ConvertFrom-Json; $manifest.version).$Env:CODEBUILD_RESOLVED_SOURCE_VERSION + name: $($manifest = Get-Content .\manifest.json | Out-String | ConvertFrom-Json; $manifest.version).$Env:CODEBUILD_RESOLVED_SOURCE_VERSION base-directory: build From 7327bfefbb53e4fba252bea33fa5508f4558e8d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 16:32:43 -0400 Subject: [PATCH 121/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 4a1030c9e..b63ff4414 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -29,5 +29,5 @@ phases: artifacts: files: - '**/*' - name: $($manifest = Get-Content .\manifest.json | Out-String | ConvertFrom-Json; $manifest.version).$Env:CODEBUILD_RESOLVED_SOURCE_VERSION + name: $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version).$Env:CODEBUILD_RESOLVED_SOURCE_VERSION base-directory: build From 3320a5c10e3d99595cf29e055f15cefccf662244 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 16:46:24 -0400 Subject: [PATCH 122/140] TEST --- buildspec.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/buildspec.yml b/buildspec.yml index b63ff4414..7c6bc533a 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -10,6 +10,7 @@ phases: runtime-versions: nodejs: 8 commands: + - echo $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version) - choco install --confirm --limit-output --no-progress --ignore-checksums yarn googlechrome opera - choco install --confirm --limit-output --no-progress --ignore-checksums --version 10.1.18362.1 windows-sdk-10.1 - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' From ae2e9bb00a1678b26052cd75a5957c9c940ec727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 16:50:25 -0400 Subject: [PATCH 123/140] test --- buildspec.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 7c6bc533a..2c9a490cc 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -10,25 +10,25 @@ phases: runtime-versions: nodejs: 8 commands: - - echo $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version) - - choco install --confirm --limit-output --no-progress --ignore-checksums yarn googlechrome opera - - choco install --confirm --limit-output --no-progress --ignore-checksums --version 10.1.18362.1 windows-sdk-10.1 - - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makepri.exe"' - - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makeappx.exe"' + # - echo $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version) + # - choco install --confirm --limit-output --no-progress --ignore-checksums yarn googlechrome opera + # - choco install --confirm --limit-output --no-progress --ignore-checksums --version 10.1.18362.1 windows-sdk-10.1 + # - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' + # - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' + # - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makepri.exe"' + # - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makeappx.exe"' pre_build: commands: - - '& $env:YARN_BIN install --silent' + # - '& $env:YARN_BIN install --silent' build: commands: # - '& $env:YARN_BIN run lint' - - '& $env:YARN_BIN run test.unit --verbose=false' - - '& $env:YARN_BIN run build.prod --silent' - - '& "$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe" build' + # - '& $env:YARN_BIN run test.unit --verbose=false' + # - '& $env:YARN_BIN run build.prod --silent' + # - '& "$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe" build' artifacts: files: - '**/*' - name: $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version).$Env:CODEBUILD_RESOLVED_SOURCE_VERSION - base-directory: build + name: '$((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version).$Env:CODEBUILD_RESOLVED_SOURCE_VERSION' + # base-directory: build From 5f633297b3bb4569d0f57ea6d11bb8263da4f73e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 16:53:08 -0400 Subject: [PATCH 124/140] test --- buildspec.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 2c9a490cc..a3ef7f67a 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -10,6 +10,7 @@ phases: runtime-versions: nodejs: 8 commands: + - $manifest = Get-Content .\manifest.json | Out-String | ConvertFrom-Json # - echo $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version) # - choco install --confirm --limit-output --no-progress --ignore-checksums yarn googlechrome opera # - choco install --confirm --limit-output --no-progress --ignore-checksums --version 10.1.18362.1 windows-sdk-10.1 @@ -30,5 +31,5 @@ phases: artifacts: files: - '**/*' - name: '$((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version).$Env:CODEBUILD_RESOLVED_SOURCE_VERSION' + name: $($manifest.version).$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # base-directory: build From f731884a7d4d90b443117af39b6ec80b2e2c83b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 16:56:21 -0400 Subject: [PATCH 125/140] test --- buildspec.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index a3ef7f67a..4e5b083e5 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,6 +4,7 @@ env: variables: YARN_BIN: 'C:\Program Files (x86)\Yarn\bin\yarn.cmd' MOABCONFIG_PATH: 'C:\Users\ContainerAdministrator\.moabconfig' + VERSION: $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version) phases: install: @@ -31,5 +32,5 @@ phases: artifacts: files: - '**/*' - name: $($manifest.version).$Env:CODEBUILD_RESOLVED_SOURCE_VERSION + name: $Env:VERSION-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # base-directory: build From 650e6a2997134e809a5daf01e4a2e840f75ff514 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 16:58:58 -0400 Subject: [PATCH 126/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 4e5b083e5..7847e7e83 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,7 +4,7 @@ env: variables: YARN_BIN: 'C:\Program Files (x86)\Yarn\bin\yarn.cmd' MOABCONFIG_PATH: 'C:\Users\ContainerAdministrator\.moabconfig' - VERSION: $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version) + VERSION: echo $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version) phases: install: From 238afb494552bbc224d4fe6acf25e603086ed440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 17:02:08 -0400 Subject: [PATCH 127/140] test --- buildspec.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 7847e7e83..e0411ddf1 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -32,5 +32,6 @@ phases: artifacts: files: - '**/*' - name: $Env:VERSION-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION + name: $(Get-Date -UFormat "%Y%m%d-%H%M%S")-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION + # name: echo $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version)-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # base-directory: build From 159c1ed88c66e03caa370b0117eed37c6cee5db1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 17:05:40 -0400 Subject: [PATCH 128/140] test --- buildspec.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index e0411ddf1..ea416fc7e 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,7 +4,6 @@ env: variables: YARN_BIN: 'C:\Program Files (x86)\Yarn\bin\yarn.cmd' MOABCONFIG_PATH: 'C:\Users\ContainerAdministrator\.moabconfig' - VERSION: echo $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version) phases: install: @@ -32,6 +31,6 @@ phases: artifacts: files: - '**/*' - name: $(Get-Date -UFormat "%Y%m%d-%H%M%S")-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION + name: $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version | echo)-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # name: echo $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version)-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # base-directory: build From ad297b09f26616dd8a82a90ac75435bfe7f3ac03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 17:14:59 -0400 Subject: [PATCH 129/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index ea416fc7e..592833ed7 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -31,6 +31,6 @@ phases: artifacts: files: - '**/*' - name: $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version | echo)-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION + name: $(((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version | echo).TrimEnd())-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # name: echo $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version)-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # base-directory: build From 2af32388e3b36dd6d1ffac2147529c0f2f4de830 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 17:18:22 -0400 Subject: [PATCH 130/140] test --- buildspec.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 592833ed7..6a775e66d 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -31,6 +31,7 @@ phases: artifacts: files: - '**/*' - name: $(((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version | echo).TrimEnd())-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION + name: $(node --eval "console.log(require("./manifest.json").version)")-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION + # name: $(((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version | echo).TrimEnd())-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # name: echo $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version)-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # base-directory: build From e42cf4b1ee5a9cfc501459830fc98f249e5343ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 17:20:32 -0400 Subject: [PATCH 131/140] fix typo --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 6a775e66d..3ae7981a0 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -31,7 +31,7 @@ phases: artifacts: files: - '**/*' - name: $(node --eval "console.log(require("./manifest.json").version)")-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION + name: $(node --eval "console.log(require('./manifest.json').version)")-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # name: $(((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version | echo).TrimEnd())-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # name: echo $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version)-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # base-directory: build From 30cf7b61ccd2237d60d0f413d20782bd2cd4fe57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 17:23:33 -0400 Subject: [PATCH 132/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 3ae7981a0..2aa535bfe 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -31,7 +31,7 @@ phases: artifacts: files: - '**/*' - name: $(node --eval "console.log(require('./manifest.json').version)")-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION + name: $(node --eval "process.stdout.write(require('./manifest.json').version)")-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # name: $(((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version | echo).TrimEnd())-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # name: echo $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version)-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # base-directory: build From 525383559a2dd05e84d32a0dcd8a81c7ad4929d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 17:30:24 -0400 Subject: [PATCH 133/140] test --- buildspec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 2aa535bfe..8e61b89d0 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -10,7 +10,6 @@ phases: runtime-versions: nodejs: 8 commands: - - $manifest = Get-Content .\manifest.json | Out-String | ConvertFrom-Json # - echo $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version) # - choco install --confirm --limit-output --no-progress --ignore-checksums yarn googlechrome opera # - choco install --confirm --limit-output --no-progress --ignore-checksums --version 10.1.18362.1 windows-sdk-10.1 @@ -23,6 +22,7 @@ phases: # - '& $env:YARN_BIN install --silent' build: commands: + - $Env:GHOSTERY_VERSION = $(node --eval "process.stdout.write(require('./manifest.json').version)") # - '& $env:YARN_BIN run lint' # - '& $env:YARN_BIN run test.unit --verbose=false' # - '& $env:YARN_BIN run build.prod --silent' @@ -31,7 +31,7 @@ phases: artifacts: files: - '**/*' - name: $(node --eval "process.stdout.write(require('./manifest.json').version)")-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION + name: $Env:GHOSTERY_VERSION-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # name: $(((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version | echo).TrimEnd())-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # name: echo $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version)-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # base-directory: build From 40e6d4cf62f15051d91dad38919c4bc61d9e095d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 17:45:59 -0400 Subject: [PATCH 134/140] test --- buildspec.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 8e61b89d0..dac58da85 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -22,7 +22,6 @@ phases: # - '& $env:YARN_BIN install --silent' build: commands: - - $Env:GHOSTERY_VERSION = $(node --eval "process.stdout.write(require('./manifest.json').version)") # - '& $env:YARN_BIN run lint' # - '& $env:YARN_BIN run test.unit --verbose=false' # - '& $env:YARN_BIN run build.prod --silent' @@ -31,7 +30,6 @@ phases: artifacts: files: - '**/*' - name: $Env:GHOSTERY_VERSION-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION - # name: $(((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version | echo).TrimEnd())-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION + name: $(echo "$((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version | echo)-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION") # name: echo $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version)-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION # base-directory: build From 6f72a3a8e04def2eb1aa1b4f3164378db27c50db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 17:49:11 -0400 Subject: [PATCH 135/140] test --- buildspec.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index dac58da85..c7e675695 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -30,6 +30,5 @@ phases: artifacts: files: - '**/*' - name: $(echo "$((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version | echo)-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION") - # name: echo $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version)-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION + name: $(echo "$((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version)-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION") # base-directory: build From 6e5476810e8e40af0edf7cdc5d99433d8fd2c32c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 17:53:06 -0400 Subject: [PATCH 136/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index c7e675695..0d1536409 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -30,5 +30,5 @@ phases: artifacts: files: - '**/*' - name: $(echo "$((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version)-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION") + name: $("$((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version)-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION") # base-directory: build From 66669c5de39511903c3ac549737bbfc419fcedc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 17:55:53 -0400 Subject: [PATCH 137/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 0d1536409..2c11e2124 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -30,5 +30,5 @@ phases: artifacts: files: - '**/*' - name: $("$((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version)-$Env:CODEBUILD_RESOLVED_SOURCE_VERSION") + name: $("$((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version).$Env:CODEBUILD_RESOLVED_SOURCE_VERSION") # base-directory: build From b370ba60105e8aaf189725a52a044deaa2a48798 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 18:03:26 -0400 Subject: [PATCH 138/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 2c11e2124..150db0adf 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -30,5 +30,5 @@ phases: artifacts: files: - '**/*' - name: $("$((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version).$Env:CODEBUILD_RESOLVED_SOURCE_VERSION") + name: $("$((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version).$(git rev-parse --short HEAD)") # base-directory: build From 1edd7c3f9482d376cb6757d5bb20ca17a5fea58f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 18:12:50 -0400 Subject: [PATCH 139/140] re add all commands. --- buildspec.yml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 150db0adf..5ea86e477 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -10,25 +10,24 @@ phases: runtime-versions: nodejs: 8 commands: - # - echo $((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version) - # - choco install --confirm --limit-output --no-progress --ignore-checksums yarn googlechrome opera - # - choco install --confirm --limit-output --no-progress --ignore-checksums --version 10.1.18362.1 windows-sdk-10.1 - # - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' - # - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' - # - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makepri.exe"' - # - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makeappx.exe"' + - choco install --confirm --limit-output --no-progress --ignore-checksums yarn googlechrome opera + - choco install --confirm --limit-output --no-progress --ignore-checksums --version 10.1.18362.1 windows-sdk-10.1 + - Add-Content -Path $env:MOABCONFIG_PATH -Value '[projects]' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' [projects.ghostery-extension]' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makepri_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makepri.exe"' + - Add-Content -Path $env:MOABCONFIG_PATH -Value ' edge_makeappx_path = "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.18362.0\\x64\\makeappx.exe"' pre_build: commands: - # - '& $env:YARN_BIN install --silent' + - '& $env:YARN_BIN install --silent' build: commands: - # - '& $env:YARN_BIN run lint' - # - '& $env:YARN_BIN run test.unit --verbose=false' - # - '& $env:YARN_BIN run build.prod --silent' - # - '& "$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe" build' + - '& $env:YARN_BIN lint' + - '& $env:YARN_BIN test.unit --verbose=false' + - '& $env:YARN_BIN build.prod --silent' + - '& "$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe" build' artifacts: files: - '**/*' name: $("$((Get-Content .\manifest.json | Out-String | ConvertFrom-Json).version).$(git rev-parse --short HEAD)") - # base-directory: build + base-directory: build From ea6cb77ab3da12b0032084d4cde0e5631aea7c53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mar=C3=ADa=20Signanini?= Date: Thu, 15 Aug 2019 18:24:55 -0400 Subject: [PATCH 140/140] test --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 5ea86e477..934a5b476 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -21,7 +21,7 @@ phases: - '& $env:YARN_BIN install --silent' build: commands: - - '& $env:YARN_BIN lint' + # - '& $env:YARN_BIN lint' - '& $env:YARN_BIN test.unit --verbose=false' - '& $env:YARN_BIN build.prod --silent' - '& "$env:CODEBUILD_SRC_DIR_moab\moab-bin.exe" build'