Skip to content

Commit bb5ab45

Browse files
authored
Merge branch 'open-telemetry:main' into gradle_task_for_weaver_command
2 parents b831d55 + e479f89 commit bb5ab45

File tree

100 files changed

+4184
-248
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+4184
-248
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
#
22
# Learn about membership in OpenTelemetry community:
3-
# https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md
4-
#
5-
#
6-
# Learn about CODEOWNERS file format:
7-
# https://help.github.com/en/articles/about-code-owners
3+
# https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md
84
#
95

106
* @open-telemetry/java-contrib-approvers

.github/component_owners.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ components:
2525
baggage-processor:
2626
- mikegoldsmith
2727
- zeitlinger
28+
cel-sampler:
29+
- dol
30+
- trask
31+
- jack-berg
32+
- breedx-splk
2833
cloudfoundry-resources:
2934
- KarstenSchnitter
3035
compressors:

.github/config/lychee.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Lychee configuration file
2+
# See https://lychee.cli.rs/config/
3+
14
timeout = 30
25
retry_wait_time = 5
36
max_retries = 6

.github/renovate.json5

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,16 @@
8181
],
8282
enabled: false,
8383
},
84+
{
85+
// caffeine 3+ requires Java 11+
86+
matchPackageNames: [
87+
'com.github.ben-manes.caffeine:caffeine',
88+
],
89+
matchUpdateTypes: [
90+
'major',
91+
],
92+
enabled: false,
93+
},
8494
{
8595
// junit-pioneer 2+ requires Java 11+
8696
matchPackageNames: [

.github/repository-settings.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,28 @@ private admin repo.
1515
- Maximum pull requests to merge: 5
1616
- Only merge non-failing pull requests: CHECKED
1717
- Status check timeout: 60 minutes
18+
19+
## Secrets and variables > Actions
20+
21+
### Repository secrets
22+
23+
- `GPG_PASSWORD` - stored in OpenTelemetry-Java 1Password
24+
- `GPG_PRIVATE_KEY` - stored in OpenTelemetry-Java 1Password
25+
- `NVD_API_KEY` - stored in OpenTelemetry-Java 1Password
26+
- Generated at https://nvd.nist.gov/developers/request-an-api-key
27+
- Key is associated with [@trask](https://github.com/trask)'s gmail address
28+
- `SONATYPE_KEY` - owned by [@trask](https://github.com/trask)
29+
- `SONATYPE_USER` - owned by [@trask](https://github.com/trask)
30+
31+
### Organization secrets
32+
33+
- `CODECOV_TOKEN`
34+
- `DEVELOCITY_ACCESS_KEY` (scoped only to Java repos)
35+
- `FOSSA_API_KEY`
36+
- `OTELBOT_JAVA_CONTRIB_PRIVATE_KEY` (scoped only to this repo)
37+
- `OTELBOT_PRIVATE_KEY`
38+
39+
### Organization variables
40+
41+
- `OSSF_SCORECARD_APP_ID`
42+
- `OTELBOT_APP_ID`

.github/scripts/draft-change-log-entries.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ component_names["aws-xray/"]="AWS X-Ray SDK support"
2929
component_names["aws-xray-propagator/"]="AWS X-Ray propagator"
3030
component_names["azure-resources/"]="Azure resources"
3131
component_names["baggage-processor/"]="Baggage processor"
32+
component_names["cel-sampler/"]="Common Expression Language sampler"
3233
component_names["cloudfoundry-resources/"]="CloudFoundry resources"
3334
component_names["compressors/"]="Compressors"
3435
component_names["consistent-sampling/"]="Consistent sampling"

.github/workflows/auto-spotless-apply.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
pull-requests: write
1818
steps:
1919
- name: Download patch
20-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
20+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
2121
with:
2222
run-id: ${{ github.event.workflow_run.id }}
2323
path: ${{ runner.temp }}

.github/workflows/auto-spotless-check.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
2323
with:
2424
distribution: temurin
25-
java-version: 17
25+
java-version: 21
2626

2727
- name: Set up gradle
2828
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
@@ -36,6 +36,8 @@ jobs:
3636

3737
- name: Spotless
3838
run: ./gradlew spotlessApply
39+
env:
40+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
3941

4042
- id: create-patch
4143
name: Create patch file
@@ -47,7 +49,7 @@ jobs:
4749
4850
- name: Upload patch file
4951
if: steps.create-patch.outputs.exists == 'true'
50-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
52+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
5153
with:
5254
path: patch
5355
name: patch

.github/workflows/build-common.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
2828
with:
2929
distribution: temurin
30-
java-version: 17
30+
java-version: 21
3131

3232
- name: Set up Gradle
3333
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
@@ -36,6 +36,8 @@ jobs:
3636

3737
- name: Spotless
3838
run: ./gradlew spotlessCheck ${{ inputs.no-build-cache && '--no-build-cache' || '' }}
39+
env:
40+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
3941

4042
build:
4143
runs-on: ubuntu-latest
@@ -46,7 +48,7 @@ jobs:
4648
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
4749
with:
4850
distribution: temurin
49-
java-version: 17
51+
java-version: 21
5052

5153
- name: Set up Gradle
5254
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
@@ -55,6 +57,8 @@ jobs:
5557

5658
- name: Build
5759
run: ./gradlew build -x spotlessCheck -x test ${{ inputs.no-build-cache && '--no-build-cache' || '' }}
60+
env:
61+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
5862

5963
- name: Check for jApiCmp diffs
6064
# The jApiCmp diff compares current to latest, which isn't appropriate for release branches
@@ -102,7 +106,7 @@ jobs:
102106
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
103107
with:
104108
distribution: temurin
105-
java-version: 17
109+
java-version: 21
106110

107111
- name: Set up Gradle
108112
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
@@ -117,6 +121,8 @@ jobs:
117121
"-Porg.gradle.java.installations.auto-download=false"
118122
"-PmaxTestRetries=${{ inputs.max-test-retries }}"
119123
${{ inputs.no-build-cache && '--no-build-cache' || '' }}
124+
env:
125+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
120126

121127
- name: Build scan
122128
if: ${{ !cancelled() && hashFiles('build-scan.txt') != '' }}

.github/workflows/build-daily.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
uses: ./.github/workflows/build-common.yml
1515
with:
1616
no-build-cache: true
17+
secrets:
18+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
1719

1820
link-check:
1921
uses: ./.github/workflows/reusable-link-check.yml

0 commit comments

Comments
 (0)