-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
metric-collector-for-apache-cassandra
Signed-off-by: Batuhan Apaydin <[email protected]> Co-authored-by: Furkan Turkal <[email protected]> Signed-off-by: Batuhan Apaydin <[email protected]>
- Loading branch information
1 parent
e18d412
commit 3222a6e
Showing
2 changed files
with
72 additions
and
0 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,46 @@ | ||
package: | ||
name: metric-collector-for-apache-cassandra | ||
version: 0.3.5 | ||
epoch: 0 | ||
description: Drop-in metrics collection and dashboards for Apache Cassandra | ||
copyright: | ||
- license: Apache-2.0 | ||
|
||
environment: | ||
contents: | ||
packages: | ||
- bash | ||
- busybox | ||
- ca-certificates-bundle | ||
- maven | ||
- openjdk-11 | ||
- openjdk-11-default-jvm | ||
|
||
pipeline: | ||
- uses: git-checkout | ||
with: | ||
repository: https://github.com/datastax/metric-collector-for-apache-cassandra | ||
expected-commit: f97a258ea95d055c71f762c3725061f43678ae1f | ||
tag: v${{package.version}} | ||
|
||
- uses: patch | ||
with: | ||
patches: upgrade-deps.patch | ||
|
||
- runs: | | ||
mkdir -p "${{targets.destdir}}"/opt/metrics-collector | ||
mkdir -p "${{targets.destdir}}"/opt/metrics-collector/lib | ||
mkdir -p "${{targets.destdir}}"/opt/metrics-collector/config | ||
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk | ||
mvn -q -ff package -DskipTests | ||
cp ./target/datastax-mcac-agent-*.jar "${{targets.destdir}}"/opt/metrics-collector | ||
cp -r ./target/collectd "${{targets.destdir}}"/opt/metrics-collector/lib | ||
cp ./config/collectd.conf.tmpl "${{targets.destdir}}"/opt/metrics-collector/config | ||
cp ./config/metric-collector.yaml "${{targets.destdir}}"/opt/metrics-collector/config | ||
cp -r ./scripts "${{targets.destdir}}"/opt/metrics-collector | ||
update: | ||
enabled: true | ||
github: | ||
identifier: datastax/metric-collector-for-apache-cassandra | ||
strip-prefix: v |
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,26 @@ | ||
From a4c6a6527daa536a2cf52849ea3ce7113c61592e Mon Sep 17 00:00:00 2001 | ||
From: Batuhan Apaydin <[email protected]> | ||
Date: Sat, 13 Jan 2024 00:50:37 +0300 | ||
Subject: [PATCH] upgrade deps | ||
|
||
Signed-off-by: Batuhan Apaydin <[email protected]> | ||
--- | ||
pom.xml | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/pom.xml b/pom.xml | ||
index 25f2d82..b4f6988 100755 | ||
--- a/pom.xml | ||
+++ b/pom.xml | ||
@@ -44,7 +44,7 @@ | ||
<dependency> | ||
<groupId>org.yaml</groupId> | ||
<artifactId>snakeyaml</artifactId> | ||
- <version>1.26</version> | ||
+ <version>1.33</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.github.docker-java</groupId> | ||
-- | ||
2.39.3 (Apple Git-145) | ||
|