Migrate ocb binary release to opentelemetry-collector-releases (see corresponding PR#10710 in opentelemetry-collector repo) #296
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration - Core - GoReleaser | |
on: | |
push: | |
branches: [main] | |
paths: | |
- "distributions/otelcol/**" | |
- "cmd/**" | |
- ".github/**" | |
- "scripts/**" | |
- "Makefile" | |
- "go.mod" | |
- "go.sum" | |
pull_request: | |
branches: [main] | |
paths: | |
- "distributions/otelcol/**" | |
- "cmd/**" | |
- ".github/**" | |
- "scripts/**" | |
- "Makefile" | |
- "go.mod" | |
- "go.sum" | |
jobs: | |
check-goreleaser: | |
name: Continuous Integration - Core - GoReleaser | |
uses: ./.github/workflows/base-ci-goreleaser.yaml | |
with: | |
distribution: otelcol | |
goos: '[ "linux", "windows", "darwin" ]' | |
goarch: '[ "386", "amd64", "arm64", "ppc64le", "arm", "s390x" ]' | |
secrets: inherit | |
package-tests: | |
name: Package tests | |
needs: check-goreleaser | |
uses: ./.github/workflows/package-tests.yaml | |
with: | |
distribution: otelcol | |
type: '[ "deb", "rpm" ]' |