Skip to content

Commit 313e2bd

Browse files
authored
Merge branch 'open-telemetry:main' into jordan.gonzalez/python/handler-consistency-across-runtimes
2 parents d43be42 + d9668be commit 313e2bd

File tree

27 files changed

+988
-2101
lines changed

27 files changed

+988
-2101
lines changed

.github/workflows/ci-collector.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2525
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
2626
with:
27-
go-version: '~1.21.9'
27+
go-version-file: collector/go.mod
2828
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
2929
with:
3030
path: ~/go/pkg/mod
@@ -47,7 +47,7 @@ jobs:
4747
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4848
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
4949
with:
50-
go-version: '~1.21.9'
50+
go-version-file: collector/go.mod
5151
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
5252
with:
5353
path: ~/go/pkg/mod

.github/workflows/publish-layer-collector.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ on:
4848
required: false
4949
type: string
5050

51+
permissions:
52+
contents: read
53+
5154
jobs:
5255
prepare-build-jobs:
5356
runs-on: ubuntu-latest
@@ -75,7 +78,7 @@ jobs:
7578
- name: Setup Go
7679
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
7780
with:
78-
go-version: '~1.21.9'
81+
go-version-file: collector/go.mod
7982
- name: Build Collector
8083
run: |
8184
if [[ -n "${{ inputs.build-tags }}" ]]; then

.github/workflows/release-layer-collector.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ on:
88

99
permissions:
1010
id-token: write
11-
contents: write
11+
contents: read
1212

1313
jobs:
1414
create-release:
15+
permissions:
16+
contents: write
1517
runs-on: ubuntu-latest
1618
steps:
1719
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -20,6 +22,8 @@ jobs:
2022
env:
2123
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2224
build-layer:
25+
permissions:
26+
contents: write
2327
runs-on: ubuntu-latest
2428
needs: create-release
2529
strategy:
@@ -33,7 +37,7 @@ jobs:
3337
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3438
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
3539
with:
36-
go-version: '^1.23.1'
40+
go-version-file: collector/go.mod
3741
- name: build
3842
run: make -C collector package GOARCH=${{ matrix.architecture }}
3943
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2

.github/workflows/release-layer-java.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ on:
88

99
permissions:
1010
id-token: write
11-
contents: write
11+
contents: read
1212

1313
jobs:
1414
create-release:
15+
permissions:
16+
contents: write
1517
runs-on: ubuntu-latest
1618
steps:
1719
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -20,6 +22,8 @@ jobs:
2022
env:
2123
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2224
build-layer:
25+
permissions:
26+
contents: write
2327
runs-on: ubuntu-latest
2428
needs: create-release
2529
outputs:

.github/workflows/release-layer-nodejs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ on:
88

99
permissions:
1010
id-token: write
11-
contents: write
11+
contents: read
1212

1313
jobs:
1414
create-release:
15+
permissions:
16+
contents: write
1517
runs-on: ubuntu-latest
1618
steps:
1719
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -20,6 +22,8 @@ jobs:
2022
env:
2123
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2224
build-layer:
25+
permissions:
26+
contents: write
2327
runs-on: ubuntu-latest
2428
needs: create-release
2529
outputs:

.github/workflows/release-layer-python.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ on:
88

99
permissions:
1010
id-token: write
11-
contents: write
11+
contents: read
1212

1313
jobs:
1414
create-release:
15+
permissions:
16+
contents: write
1517
runs-on: ubuntu-latest
1618
steps:
1719
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -20,6 +22,8 @@ jobs:
2022
env:
2123
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2224
build-layer:
25+
permissions:
26+
contents: write
2327
runs-on: ubuntu-latest
2428
needs: create-release
2529
outputs:

.github/workflows/release-layer-ruby.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ on:
88

99
permissions:
1010
id-token: write
11-
contents: write
11+
contents: read
1212

1313
jobs:
1414
create-release:
15+
permissions:
16+
contents: write
1517
runs-on: ubuntu-latest
1618
steps:
1719
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -20,6 +22,8 @@ jobs:
2022
env:
2123
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2224
build-layer:
25+
permissions:
26+
contents: write
2327
runs-on: ubuntu-latest
2428
needs: create-release
2529
outputs:

collector/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ clean:
3434

3535
.PHONY: build
3636
build: clean set-otelcol-version
37-
@echo Building otel collector extension
37+
@echo Building otel collector extension, $(shell go version)
3838
mkdir -p $(BUILD_SPACE)/extensions
3939
GOOS=linux GOARCH=$(GOARCH) $(GOBUILD) $(LDFLAGS) -o $(BUILD_SPACE)/extensions .
4040

0 commit comments

Comments
 (0)