diff --git a/opentelemetry-java-contrib.yaml b/opentelemetry-java-contrib.yaml new file mode 100644 index 00000000000..ed94e3e677f --- /dev/null +++ b/opentelemetry-java-contrib.yaml @@ -0,0 +1,75 @@ +package: + name: opentelemetry-java-contrib + version: 1.41.0 + epoch: 0 + description: Helpful libraries and standalone OpenTelemetry-based utilities for opentelemetry java and java instrumentation + copyright: + - license: Apache-2.0 + +environment: + contents: + packages: + - bash + - busybox + - ca-certificates-bundle + - openjdk-17-default-jdk + environment: + JAVA_HOME: /usr/lib/jvm/java-17-openjdk + +pipeline: + - uses: git-checkout + with: + repository: https://github.com/open-telemetry/opentelemetry-java-contrib.git + tag: v${{package.version}} + expected-commit: e0775a738750d875462ca2170a3083a52fdfea7f + recurse-submodules: true + +data: + - name: contrib-components + items: + all: "." + aws-resources: "." + aws-xray: "." + aws-xray-propagator: "." + baggage-processor: "." + consistent-sampling: "." + disk-buffering: "." + gcp-resources: "." + inferred-spans: "." + jfr-connection: "." + jfr-events: "." + jmx-metrics: "." + kafka-exporter: "." + maven-extension: "." + micrometer-meter-provider: "." + noop-api: "." + opamp-client: "." + processors: "." + prometheus-client-bridge: "." + resource-providers: "." + samplers: "." + span-stacktrace: "." + static-instrumenter: "." + +subpackages: + - range: contrib-components + name: ${{package.name}}-${{range.key}} + pipeline: + - runs: | + ./gradlew :${{range.key}}:build -Potel.stable=true -x test + - runs: | + mkdir -p ${{targets.contextdir}}/usr/share/java/${{range.key}} + mv /home/build/${{range.key}}/build/libs/opentelemetry-${{range.key}}-${{package.version}}.jar ${{targets.contextdir}}/usr/share/java/${{range.key}} + + - range: contrib-components + name: ${{package.name}}-${{range.key}}-compat + pipeline: + - runs: | + mkdir -p ${{targets.contextdir}}/opt + ln -sf /usr/share/java/${{range.key}}/opentelemetry-${{range.key}}-${{package.version}}.jar ${{targets.contextdir}}/opt/opentelemetry-${{range.key}}-${{package.version}}.jar + +update: + enabled: true + github: + identifier: open-telemetry/opentelemetry-java-contrib + strip-prefix: v