Skip to content

Commit ede0ddb

Browse files
committed
Merge branch 'main' into zhaez/nightly-build
2 parents 60e1e8e + c776ce7 commit ede0ddb

File tree

17 files changed

+637
-358
lines changed

17 files changed

+637
-358
lines changed

.github/actions/patch-dependencies/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,14 @@ runs:
103103
shell: bash
104104

105105
- name: Build opentelemetry-java-instrumentation with tests
106-
uses: gradle/gradle-build-action@v2
106+
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa #v2
107107
if: ${{ env.patch_otel_java_instrumentation == 'true' && inputs.run_tests != 'false' }}
108108
with:
109109
arguments: check -x spotlessCheck publishToMavenLocal --scan --no-daemon
110110
build-root-directory: opentelemetry-java-instrumentation
111111

112112
- name: Build opentelemetry java instrumentation
113-
uses: gradle/gradle-build-action@v2
113+
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa #v2
114114
if: ${{ env.patch_otel_java_instrumentation == 'true' && inputs.run_tests == 'false' }}
115115
with:
116116
arguments: publishToMavenLocal --scan --no-daemon
@@ -119,4 +119,4 @@ runs:
119119
- name: cleanup opentelmetry-java-instrumentation
120120
run: rm -rf opentelemetry-java-instrumentation
121121
if: ${{ env.patch_otel_java_instrumentation == 'true' }}
122-
shell: bash
122+
shell: bash
Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/dependencyManagement/build.gradle.kts b/dependencyManagement/build.gradle.kts
2-
index 98def282f8..65fd6a8a13 100644
2+
index 2772032e73..c84a6662cf 100644
33
--- a/dependencyManagement/build.gradle.kts
44
+++ b/dependencyManagement/build.gradle.kts
5-
@@ -104,7 +104,7 @@ val DEPENDENCIES = listOf(
5+
@@ -101,7 +101,7 @@ val DEPENDENCIES = listOf(
66
"io.netty:netty:3.10.6.Final",
77
"io.opentelemetry.contrib:opentelemetry-azure-resources:${otelContribVersion}",
88
"io.opentelemetry.contrib:opentelemetry-aws-resources:${otelContribVersion}",
@@ -11,18 +11,16 @@ index 98def282f8..65fd6a8a13 100644
1111
"io.opentelemetry.contrib:opentelemetry-gcp-resources:${otelContribVersion}",
1212
"io.opentelemetry.contrib:opentelemetry-cloudfoundry-resources:${otelContribVersion}",
1313
"io.opentelemetry.contrib:opentelemetry-baggage-processor:${otelContribVersion}",
14+
1415
diff --git a/version.gradle.kts b/version.gradle.kts
15-
index 023d04703c..ec9690086c 100644
16+
index 282db803a9..5e7f1c6775 100644
1617
--- a/version.gradle.kts
1718
+++ b/version.gradle.kts
1819
@@ -1,5 +1,5 @@
19-
-val stableVersion = "2.18.1"
20-
-val alphaVersion = "2.18.1-alpha"
21-
+val stableVersion = "2.18.1-adot1"
22-
+val alphaVersion = "2.18.1-adot1-alpha"
20+
-val stableVersion = "2.20.1"
21+
-val alphaVersion = "2.20.1-alpha"
22+
+val stableVersion = "2.20.1-adot1"
23+
+val alphaVersion = "2.20.1-adot1-alpha"
2324

2425
allprojects {
2526
if (findProperty("otel.stable") != "true") {
26-
--
27-
2.45.1
28-

.github/patches/versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
OTEL_JAVA_INSTRUMENTATION_VERSION=v2.18.1
1+
OTEL_JAVA_INSTRUMENTATION_VERSION=v2.20.1
22
OTEL_JAVA_CONTRIB_VERSION=v1.48.0

.github/workflows/application-signals-e2e-test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
upload-main-build:
2626
runs-on: ubuntu-latest
2727
steps:
28+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #5.0.0
29+
2830
- name: Configure AWS Credentials
2931
uses: aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838 #5.0.0
3032
with:
@@ -36,7 +38,10 @@ jobs:
3638
name: aws-opentelemetry-agent.jar
3739

3840
- name: Upload main-build adot.jar to s3
39-
run: aws s3 cp ./aws-opentelemetry-agent-*-SNAPSHOT.jar s3://adot-main-build-staging-jar/aws-opentelemetry-agent.jar
41+
run: |
42+
# Extract artifact suffix using version.gradle.kts
43+
VERSION=$(awk -F'"' '/val adotVersion = / {print $2}' version.gradle.kts)
44+
aws s3 cp ./aws-opentelemetry-agent-$VERSION.jar s3://adot-main-build-staging-jar/aws-opentelemetry-agent.jar
4045
4146
#
4247
# PACKAGED DISTRIBUTION LANGUAGE VERSION COVERAGE

.github/workflows/daily-scan.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@
88
name: Daily scan
99

1010
on:
11-
schedule: # scheduled to run at 14:00, 20:00, 02:00 UTC every day
12-
- cron: '0 14 * * *' # 6:00/7:00 PST/PDT (14:00 UTC)
13-
- cron: '0 20 * * *' # 12:00/13:00 PST/PDT (20:00 UTC)
14-
- cron: '0 02 * * *' # 18:00/19:00 PST/PDT (02:00 UTC)
11+
schedule: # scheduled to run every 6 hours
12+
- cron: '10 */6 * * *' # “At minute 10 past every 6th hour.”
1513
workflow_dispatch: # be able to run the workflow on demand
1614

1715
env:

0 commit comments

Comments
 (0)