-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
39a8ad0
commit c44cabc
Showing
17 changed files
with
706 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Each line is a file pattern followed by one or more owners. | ||
|
||
# global | ||
* @hypertrace/platform-util-owners |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Build and Validate | ||
on: | ||
schedule: | ||
- cron: 16 10 * * 3 | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Build with Gradle | ||
uses: hypertrace/github-actions/gradle@main | ||
with: | ||
args: assemble | ||
|
||
dependency-check: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Dependency Check | ||
uses: hypertrace/github-actions/dependency-check@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Publish artifacts | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
create-release: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Determine version | ||
id: version | ||
run: echo version=$(./gradlew -q -Prelease :printVersion) >> $GITHUB_OUTPUT | ||
|
||
- name: Create Release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
tag: ${{ steps.version.outputs.version }} | ||
name: Release ${{ steps.version.outputs.version }} | ||
publish-artifacts: | ||
runs-on: ubuntu-22.04 | ||
needs: [ create-release ] | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Publish java artifacts | ||
uses: hypertrace/github-actions/gradle@main | ||
with: | ||
args: publish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Ignore Gradle project-specific cache directory | ||
.gradle | ||
|
||
# Ignore Gradle build output directory | ||
build | ||
|
||
.idea | ||
*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import org.hypertrace.gradle.publishing.HypertracePublishExtension | ||
import org.hypertrace.gradle.publishing.License | ||
|
||
plugins { | ||
id("org.hypertrace.repository-plugin") version "0.4.2" | ||
id("org.hypertrace.ci-utils-plugin") version "0.3.2" | ||
id("org.hypertrace.publish-plugin") version "1.0.5" apply false | ||
id("org.hypertrace.code-style-plugin") version "1.2.0" apply false | ||
id("org.owasp.dependencycheck") version "8.4.0" | ||
} | ||
|
||
subprojects { | ||
group = "org.hypertrace.bom" | ||
apply(plugin = "org.hypertrace.code-style-plugin") | ||
|
||
pluginManager.withPlugin("org.hypertrace.publish-plugin") { | ||
configure<HypertracePublishExtension> { | ||
license.set(License.TRACEABLE_COMMUNITY) | ||
} | ||
} | ||
} | ||
|
||
dependencyCheck { | ||
format = org.owasp.dependencycheck.reporting.ReportGenerator.Format.ALL.toString() | ||
suppressionFile = "owasp-suppressions.xml" | ||
scanConfigurations.add("runtimeClasspath") | ||
failBuildOnCVSS = 3.0F | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
org.gradle.parallel=true | ||
org.gradle.daemon=true | ||
org.gradle.caching=true | ||
org.gradle.configureondemand=true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[versions] | ||
protoc = "3.24.1" | ||
grpc = "1.57.2" | ||
hypertrace-framework = "0.1.58" | ||
hypertrace-grpcutils = "0.12.2" | ||
hypertrace-kafka = "0.3.2" | ||
|
||
[libraries] | ||
guava = { module = "com.google.guava:guava", version = "32.1.2-jre" } | ||
typesafe-config = { module = "com.typesafe:config", version = "1.4.2" } | ||
lombok = { module = "org.projectlombok:lombok", version = "1.18.28" } | ||
grpc-bom = { module = "io.grpc:grpc-bom", version.ref = "grpc" } | ||
grpc-core = { module = "io.grpc:grpc-core"} | ||
jackson-bom = { module = "com.fasterxml.jackson:jackson-bom", version = "2.15.2" } | ||
jackson-databind = { module = "com.fasterxml.jackson.core:jackson-databind"} | ||
protobuf-java = { module = "com.google.protobuf:protobuf-java", version.ref = "protoc" } | ||
protobuf-javautil = { module = "com.google.protobuf:protobuf-java-util", version.ref = "protoc" } | ||
|
||
hypertrace-grpcutils-context = { module = "org.hypertrace.core.grpcutils:grpc-context-utils", version.ref = "hypertrace-grpcutils" } | ||
hypertrace-grpcutils-client = { module = "org.hypertrace.core.grpcutils:grpc-client-utils", version.ref = "hypertrace-grpcutils" } | ||
hypertrace-grpcutils-rx-client = { module = "org.hypertrace.core.grpcutils:grpc-client-rx-utils", version.ref = "hypertrace-grpcutils" } | ||
hypertrace-framework-grpc = { module = "org.hypertrace.core.serviceframework:platform-grpc-service-framework", version.ref = "hypertrace-framework" } | ||
hypertrace-framework-http = { module = "org.hypertrace.core.serviceframework:platform-http-service-framework", version.ref = "hypertrace-framework" } | ||
hypertrace-framework-spi = { module = "org.hypertrace.core.serviceframework:service-framework-spi", version.ref = "hypertrace-framework" } | ||
hypertrace-integrationtest-framework = { module = "org.hypertrace.core.serviceframework:integrationtest-service-framework", version.ref = "hypertrace-framework" } | ||
hypertrace-documentstore = { module = "org.hypertrace.core.documentstore:document-store", version = "0.7.37" } | ||
hypertrace-eventstore = { module = "org.hypertrace.core.eventstore:event-store", version = "0.1.3" } | ||
hypertrace-kafka-bom = { module = "org.hypertrace.core.kafkastreams.framework:kafka-bom", version.ref = "hypertrace-kafka" } | ||
hypertrace-kafka-framework = { module = "org.hypertrace.core.kafkastreams.framework:kafka-streams-framework", version.ref = "hypertrace-kafka"} | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.