Skip to content

Commit b68069f

Browse files
authored
Prepare 2.25.1 patch release (#2657)
* CSA build updates (#2648) * use appdynamics artifactory instead of github hackery * update to latest * only build a jar on gitlab * never not fighting gradle * spotless * tests that use autoconfigure need to reset * spotless * trying to simplify where this gitlab condition is actually needed... * Revert "trying to simplify where this gitlab condition is actually needed..." This reverts commit 1a102de. (cherry picked from commit 5215ef4) * update CSA for 2.25.1 patch release
1 parent 59ed3a0 commit b68069f

File tree

5 files changed

+31
-18
lines changed

5 files changed

+31
-18
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ and this repository adheres to [Semantic Versioning](https://semver.org/spec/v2.
88

99
## Unreleased
1010

11+
## v2.25.1 - 2026-02-26
12+
13+
- Update CSA to version 26.2.1-1436.
14+
1115
## v2.25.0 - 2026-02-20
1216

1317
### General

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ To extend the instrumentation with the OpenTelemetry Instrumentation for Java,
107107
you have to use a compatible API version.
108108

109109
<!-- IMPORTANT: do not change comments or break those lines below -->
110-
The Splunk Distribution of OpenTelemetry Java version <!--SPLUNK_VERSION-->2.25.0<!--SPLUNK_VERSION--> is compatible
110+
The Splunk Distribution of OpenTelemetry Java version <!--SPLUNK_VERSION-->2.25.1<!--SPLUNK_VERSION--> is compatible
111111
with:
112112

113113
* OpenTelemetry API version <!--OTEL_VERSION-->1.57.0<!--OTEL_VERSION-->

agent-csa-bundle/build.gradle.kts

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88

99
// This should be updated for every CSA release, eventually in dependencyManagement?
1010

11-
val csaVersion = "25.12.0-1409"
11+
val csaVersion = "26.2.1-1436"
1212
val otelInstrumentationVersion: String by rootProject.extra
1313

1414
base.archivesName.set("splunk-otel-javaagent-csa")
@@ -29,33 +29,27 @@ val splunkAgent: Configuration by configurations.creating {
2929
}
3030

3131
repositories {
32-
ivy {
33-
// Required to source artifact directly from github release page
34-
// https://github.com/signalfx/csa-releases/releases/download/<version>/oss-agent-mtagent-extension-deployment.jar
35-
url = uri("https://github.com/")
36-
metadataSources {
37-
artifact()
38-
}
39-
patternLayout {
40-
ivy("[organisation]/[module]/releases/download/[revision]/[artifact].[ext]")
41-
artifact("[organisation]/[module]/releases/download/[revision]/[artifact].[ext]")
42-
}
32+
maven {
33+
url = uri("https://artifactory.bare.appdynamics.com/artifactory/maven-releases/")
4334
}
4435
}
4536

4637
dependencies {
4738
splunkAgent(project(":agent", configuration = "shadow"))
48-
csaReleases("signalfx:csa-releases:$csaVersion") {
39+
csaReleases("com.cisco.security:secureapp-otel-java-extension:$csaVersion") {
4940
artifact {
50-
name = "oss-agent-mtagent-extension-deployment"
51-
extension = "jar"
41+
name = "secureapp-otel-java-extension"
42+
extension = "zip"
5243
}
5344
}
5445
}
5546

5647
tasks {
5748
// This exists purely to get the extension jar into our build dir
5849
val copyCsaJar by registering(Jar::class) {
50+
onlyIf("csa is only built from gitlab") {
51+
System.getenv("GITLAB_CI") != null
52+
}
5953
archiveFileName.set("oss-agent-mtagent-extension-deployment.jar")
6054
doFirst {
6155
from(zipTree(csaReleases.singleFile))
@@ -64,13 +58,19 @@ tasks {
6458

6559
// Extract and rename extension classes
6660
val extractExtensionClasses by registering(Copy::class) {
61+
onlyIf("csa is only built from gitlab") {
62+
System.getenv("GITLAB_CI") != null
63+
}
6764
dependsOn(copyCsaJar)
6865
from(zipTree(copyCsaJar.get().archiveFile))
6966
into("build/ext-exploded")
7067
}
7168

7269
// Rename class to classdata
7370
val renameClasstoClassdata by registering(Copy::class) {
71+
onlyIf("csa is only built from gitlab") {
72+
System.getenv("GITLAB_CI") != null
73+
}
7474
dependsOn(extractExtensionClasses)
7575
from("build/ext-exploded/com/cisco/mtagent/adaptors/")
7676
into("build/ext-exploded/com/cisco/mtagent/adaptors/")
@@ -81,12 +81,18 @@ tasks {
8181

8282
// Copy service file so path on disk matches path in jar
8383
val copyServiceFile by registering(Copy::class) {
84+
onlyIf("csa is only built from gitlab") {
85+
System.getenv("GITLAB_CI") != null
86+
}
8487
dependsOn(extractExtensionClasses)
8588
from("build/ext-exploded/META-INF/services/")
8689
into("build/ext-exploded/inst/META-INF/services/")
8790
}
8891

8992
val shadowCsaClasses by registering(ShadowJar::class) {
93+
onlyIf("csa is only built from gitlab") {
94+
System.getenv("GITLAB_CI") != null
95+
}
9096
archiveFileName.set("shadow-csa-classes.jar")
9197
dependsOn(copyServiceFile, renameClasstoClassdata, splunkAgent)
9298

@@ -117,6 +123,9 @@ tasks {
117123
}
118124

119125
jar {
126+
onlyIf("csa is only built from gitlab") {
127+
System.getenv("GITLAB_CI") != null
128+
}
120129
dependsOn(shadowCsaClasses)
121130
from(zipTree(shadowCsaClasses.get().archiveFile.get()))
122131
from(copyCsaJar.get().archiveFile.get())

deployments/cloudfoundry/buildpack/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ If you want to use a specific version of the Java agent in your application, you
4040
environment variable before application deployment, either using `cf set-env` or the `manifest.yml` file:
4141

4242
```sh
43-
$ cf set-env SPLUNK_OTEL_JAVA_VERSION 2.25.0
43+
$ cf set-env SPLUNK_OTEL_JAVA_VERSION 2.25.1
4444
```
4545

4646
By default, the [latest](https://github.com/signalfx/splunk-otel-java/releases/latest) available agent version is used.

version.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// do NOT update that variable manually - it is managed by the pre/post release scripts
2-
val distroVersion = "2.25.0"
2+
val distroVersion = "2.25.1"
33

44
allprojects {
55
version = distroVersion

0 commit comments

Comments
 (0)