Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions .github/workflows/base-ci-goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,13 @@ jobs:
fetch-depth: 0

- name: Setup QEMU
if: runner.os != 'Windows'
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
with:
platforms: arm64,ppc64le,linux/arm/v7,s390x,riscv64

- name: Setup wixl # Required to build MSI packages for Windows
if: ${{ matrix.GOOS == 'windows' && ( matrix.GOARCH == '386' || matrix.GOARCH == 'amd64') }}
run: |
sudo apt-get update
sudo apt-get install -y wixl

- name: Setup Docker Buildx
if: runner.os != 'Windows'
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1

- name: Setup Go
Expand Down Expand Up @@ -167,7 +163,7 @@ jobs:
run: mv distributions/otelcol-contrib/dist/**/* distributions/otelcol-contrib/artifacts/

- name: Show built or downloaded content
if: inputs.distribution == 'otelcol-contrib'
if: inputs.distribution == 'otelcol-contrib' && runner.os != 'Windows'
run: ls -laR distributions/otelcol-contrib/artifacts

- name: Run GoReleaser for ${{ inputs.distribution }}
Expand All @@ -192,7 +188,7 @@ jobs:
run: cat ./distributions/${{ inputs.distribution }}/dist/**/metadata.json

- name: Print dist folder contents
if: always()
if: always() && runner.os != 'Windows'
run: ls -laR ./distributions/${{ inputs.distribution }}/dist

- name: Upload linux service packages
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/ci-goreleaser-otlp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ jobs:
uses: ./.github/workflows/base-ci-goreleaser.yaml
with:
distribution: otelcol-otlp
goos: '[ "linux", "windows", "darwin" ]'
goos: '[ "linux", "darwin" ]'
goarch: '[ "386", "amd64", "arm", "arm64", "ppc64le", "riscv64", "s390x" ]'
secrets: inherit
check-goreleaser-windows:
name: CI - OTLP - GoReleaser
uses: ./.github/workflows/base-ci-goreleaser.yaml
with:
distribution: otelcol-otlp
goos: '[ "windows" ]'
goarch: '[ "386", "amd64", "arm64" ]'
runner_os: 'windows-2025'
secrets: inherit
Loading