Skip to content

Commit 7bb457c

Browse files
committed
2 parents 761d996 + a4cc53f commit 7bb457c

File tree

45 files changed

+407
-376
lines changed

Some content is hidden

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

45 files changed

+407
-376
lines changed

.github/component_owners.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,4 @@ components:
8989
- sylvainjuge
9090
opamp-client:
9191
- LikeTheSalad
92+
- jackshirazi

.github/repository-settings.md

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,12 @@
11
# Repository settings
22

3-
Same
4-
as [opentelemetry-java-instrumentation repository settings](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/.github/repository-settings.md#repository-settings),
5-
except for
3+
This document describes any changes that have been made to the
4+
settings in this repository outside the settings tracked in the
5+
private admin repo.
66

7-
- The rules for `gh-pages` and `cloudfoundry` branches are not relevant in this repository.
7+
## Merge queue for `main`
88

9-
and the enablement of merge queues below.
10-
11-
## Merge queue
12-
13-
Needs to be enabled using classic branch protection (instead of rule set)
14-
because of our use of the classic branch protection "Restrict who can push to matching branches"
15-
which otherwise will block the merge queue from merging to main.
16-
17-
### Restrict branch creation
18-
19-
- Additional exclusion for `gh-readonly-queue/main/pr-*`
20-
21-
### Classic branch protection for `main`
9+
[The admin repo doesn't currently support tracking merge queue settings.]
2210

2311
- Require merge queue: CHECKED
2412
- Build concurrency: 5

.github/workflows/codeql.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- main
77
- release/*
88
pull_request:
9+
branches:
10+
- main
11+
- release/*
912
# TODO (trask) adding this to the merge queue causes the merge queue to fail
1013
# see related issues
1114
# - https://github.com/github/codeql-action/issues/1572
@@ -20,36 +23,48 @@ permissions:
2023

2124
jobs:
2225
analyze:
26+
name: Analyze (${{ matrix.language }})
2327
permissions:
2428
contents: read
2529
actions: read # for github/codeql-action/init to get workflow details
2630
security-events: write # for github/codeql-action/analyze to upload SARIF results
31+
strategy:
32+
fail-fast: false
33+
matrix:
34+
include:
35+
- language: actions
36+
- language: java
2737
runs-on: ubuntu-latest
2838
steps:
2939
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3040

3141
- name: Set up Java 17
42+
if: matrix.language == 'java'
3243
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
3344
with:
3445
distribution: temurin
3546
java-version: 17
3647

3748
- name: Set up gradle
49+
if: matrix.language == 'java'
3850
uses: gradle/actions/setup-gradle@8379f6a1328ee0e06e2bb424dadb7b159856a326 # v4.4.0
3951

4052
- name: Initialize CodeQL
41-
uses: github/codeql-action/init@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
53+
uses: github/codeql-action/init@fca7ace96b7d713c7035871441bd52efbe39e27e # v3.28.19
4254
with:
43-
languages: java, actions
55+
languages: ${{ matrix.language }}
4456
# using "latest" helps to keep up with the latest Kotlin support
4557
# see https://github.com/github/codeql-action/issues/1555#issuecomment-1452228433
4658
tools: latest
4759

4860
- name: Assemble
61+
if: matrix.language == 'java'
4962
# --no-build-cache is required for codeql to analyze all modules
5063
# --no-daemon is required for codeql to observe the compilation
5164
# (see https://docs.github.com/en/code-security/codeql-cli/getting-started-with-the-codeql-cli/preparing-your-code-for-codeql-analysis#specifying-build-commands)
5265
run: ./gradlew assemble --no-build-cache --no-daemon
5366

5467
- name: Perform CodeQL analysis
55-
uses: github/codeql-action/analyze@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
68+
uses: github/codeql-action/analyze@fca7ace96b7d713c7035871441bd52efbe39e27e # v3.28.19
69+
with:
70+
category: "/language:${{matrix.language}}"

.github/workflows/issue-management-feedback-label.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
permissions:
1313
contents: read
1414
issues: write
15+
pull-requests: write
1516
if: >
1617
contains(github.event.issue.labels.*.name, 'needs author feedback') &&
1718
github.event.comment.user.login == github.event.issue.user.login

.github/workflows/ossf-scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
persist-credentials: false
2525

26-
- uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
26+
- uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
2727
with:
2828
results_file: results.sarif
2929
results_format: sarif
@@ -42,6 +42,6 @@ jobs:
4242
# Upload the results to GitHub's code scanning dashboard (optional).
4343
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
4444
- name: "Upload to code-scanning"
45-
uses: github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
45+
uses: github/codeql-action/upload-sarif@fca7ace96b7d713c7035871441bd52efbe39e27e # v3.28.19
4646
with:
4747
sarif_file: results.sarif

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ In order to build and test this whole repository you need JDK 11+.
4040

4141
For developers testing code changes before a release is complete, there are
4242
snapshot builds of the `main` branch. They are available from
43-
the Sonatype OSS snapshots repository at `https://oss.sonatype.org/content/repositories/snapshots/`
44-
([browse](https://oss.sonatype.org/content/repositories/snapshots/io/opentelemetry/contrib/))
43+
the Sonatype snapshot repository at `https://central.sonatype.com/repository/maven-snapshots/`
44+
([browse](https://central.sonatype.com/service/rest/repository/browse/maven-snapshots/io/opentelemetry/contrib/)).
4545

4646
#### Building from source
4747

RELEASING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ The version is specified in [version.gradle.kts](version.gradle.kts).
77
## Snapshot builds
88

99
Every successful CI build of the main branch automatically executes `./gradlew publishToSonatype`
10-
as the last step, which publishes a snapshot build to
11-
[Sonatype OSS snapshots repository](https://oss.sonatype.org/content/repositories/snapshots/io/opentelemetry/contrib/).
10+
as the last step, which publishes a snapshot build to the
11+
[Sonatype snapshot repository](https://central.sonatype.com/service/rest/repository/browse/maven-snapshots/io/opentelemetry/contrib/).
1212

1313
## Release cadence
1414

build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ nexusPublishing {
1414
packageGroup.set("io.opentelemetry")
1515

1616
repositories {
17+
// see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
1718
sonatype {
19+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
20+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
1821
username.set(System.getenv("SONATYPE_USER"))
1922
password.set(System.getenv("SONATYPE_KEY"))
2023
}

buildSrc/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies {
1515
implementation("com.diffplug.spotless:spotless-plugin-gradle:7.0.4")
1616
implementation("net.ltgt.gradle:gradle-errorprone-plugin:4.2.0")
1717
implementation("net.ltgt.gradle:gradle-nullaway-plugin:2.2.0")
18-
implementation("org.owasp:dependency-check-gradle:12.1.1")
18+
implementation("org.owasp:dependency-check-gradle:12.1.3")
1919
}
2020

2121
spotless {

buildSrc/src/main/kotlin/otel.java-conventions.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ testing {
135135
dependencies {
136136
implementation(project(project.path))
137137

138-
implementation(enforcedPlatform("org.junit:junit-bom:5.12.2"))
138+
implementation(enforcedPlatform("org.junit:junit-bom:5.13.1"))
139139
implementation(enforcedPlatform("org.testcontainers:testcontainers-bom:1.21.1"))
140140
implementation(enforcedPlatform("com.google.guava:guava-bom:33.4.8-jre"))
141141
implementation(enforcedPlatform("com.linecorp.armeria:armeria-bom:1.32.5"))

0 commit comments

Comments
 (0)