File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
internal/buildscripts/packaging/msi Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ commands:
27
27
parameters :
28
28
files :
29
29
type : string
30
- # TODO: Add dist/otel-collector-*amd64.msi back
31
30
default : |
32
31
bin/otelcontribcol_darwin_amd64
33
32
bin/otelcontribcol_linux_arm64
@@ -37,6 +36,7 @@ commands:
37
36
dist/otel-contrib-collector_*_amd64.deb
38
37
dist/otel-contrib-collector-*.x86_64.rpm
39
38
dist/otel-contrib-collector_*_arm64.deb
39
+ dist/otel-contrib-collector-*amd64.msi
40
40
steps :
41
41
- run :
42
42
name : Check if files exist
@@ -192,13 +192,20 @@ workflows:
192
192
filters :
193
193
tags :
194
194
only : /.*/
195
+ - windows-msi :
196
+ requires :
197
+ - cross-compile
198
+ filters :
199
+ tags :
200
+ only : /.*/
195
201
- publish-check :
196
202
requires :
197
203
- lint
198
204
- unit-tests
199
205
- integration-tests
200
206
- cross-compile
201
207
- loadtest
208
+ - windows-msi
202
209
- deb-package
203
210
- rpm-package
204
211
- publish-stable :
@@ -208,6 +215,7 @@ workflows:
208
215
- integration-tests
209
216
- cross-compile
210
217
- loadtest
218
+ - windows-msi
211
219
- deb-package
212
220
- rpm-package
213
221
filters :
Original file line number Diff line number Diff line change 17
17
Makefile like build commands for the Collector on Windows.
18
18
19
19
Usage: .\make.ps1 <Command> [-<Param> <Value> ...]
20
- Example: .\make.ps1 New-MSI -Config "./my-config.yaml"
20
+ Example: .\make.ps1 New-MSI -Config "./my-config.yaml" -Version "v0.0.2"
21
21
. PARAMETER Target
22
22
Build target to run (Install-Tools, New-MSI)
23
23
#>
@@ -28,6 +28,12 @@ Param(
28
28
$ErrorActionPreference = " Stop"
29
29
30
30
function Install-Tools {
31
+ # disable progress bar support as this causes CircleCI to crash
32
+ $OriginalPref = $ProgressPreference
33
+ $ProgressPreference = " SilentlyContinue"
34
+ Install-WindowsFeature Net- Framework- Core
35
+ $ProgressPreference = $OriginalPref
36
+
31
37
choco install wixtoolset - y
32
38
setx / m PATH " %PATH%;C:\Program Files (x86)\WiX Toolset v3.11\bin"
33
39
refreshenv
You can’t perform that action at this time.
0 commit comments