[arch-commits] Commit in opensearch-alerting-plugin/repos/community-x86_64 (2 files)
Justin Kromlinger
hashworks at gemini.archlinux.org
Thu Sep 1 20:56:50 UTC 2022
Date: Thursday, September 1, 2022 @ 20:56:50
Author: hashworks
Revision: 1290426
archrelease: copy trunk to community-x86_64
Added:
opensearch-alerting-plugin/repos/community-x86_64/PKGBUILD
(from rev 1290425, opensearch-alerting-plugin/trunk/PKGBUILD)
Deleted:
opensearch-alerting-plugin/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-01 20:56:47 UTC (rev 1290425)
+++ PKGBUILD 2022-09-01 20:56:50 UTC (rev 1290426)
@@ -1,42 +0,0 @@
-# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
-
-pkgname=opensearch-alerting-plugin
-pkgver=2.1.0.0
-pkgrel=2
-_opensearchver=2.1.0
-_jdkver=11
-pkgdesc="OpenSearch Alerting Plugin"
-arch=('x86_64')
-url="https://docs-beta.opensearch.org/monitoring-plugins/alerting"
-license=('Apache')
-depends=("opensearch=${_opensearchver}" "opensearch-notifications-plugin")
-makedepends=("java-environment=${_jdkver}" 'unzip')
-source=(
- "${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/alerting/archive/${pkgver}.tar.gz"
-)
-sha256sums=('2885fac111e65bd38dde8fc147a7e018ec897cc2374efeb1d51f864e74768e9f')
-
-build() {
- cd "alerting-${pkgver}"
- export JAVA_HOME="/usr/lib/jvm/java-${_jdkver}-openjdk"
- export PATH="/usr/lib/jvm/java-${_jdkver}-openjdk/bin:$PATH"
- export GRADLE_OPTS="-Dbuild.snapshot=false -Dopensearch.version=${_opensearchver}"
- # alertingBwcCluster and integTest (Reaper) requires JDK 14
- ./gradlew build \
- --exclude-task ":alerting:alertingBwcCluster#fullRestartClusterTask" \
- --exclude-task ":alerting:alertingBwcCluster#mixedClusterTask" \
- --exclude-task ":alerting:alertingBwcCluster#oldVersionClusterTask0" \
- --exclude-task ":alerting:alertingBwcCluster#oldVersionClusterTask1" \
- --exclude-task ":alerting:alertingBwcCluster#rollingUpgradeClusterTask" \
- --exclude-task ":alerting:alertingBwcCluster#twoThirdsUpgradedClusterTask" \
- --exclude-task ":alerting:integTest" \
- --exclude-task ":alerting:jacocoTestReport"
-}
-
-package() {
- install -dm755 "${pkgdir}/usr/share/opensearch/plugins/opensearch-alerting"
- cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-alerting"
- unzip "${srcdir}/alerting-${pkgver}/alerting/build/distributions/opensearch-alerting-${pkgver}.zip"
-
- install -Dm644 "${srcdir}/alerting-${pkgver}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}
Copied: opensearch-alerting-plugin/repos/community-x86_64/PKGBUILD (from rev 1290425, opensearch-alerting-plugin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-01 20:56:50 UTC (rev 1290426)
@@ -0,0 +1,42 @@
+# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
+
+pkgname=opensearch-alerting-plugin
+pkgver=2.2.1.0
+pkgrel=1
+_opensearchver=2.2.1
+_jdkver=11
+pkgdesc="OpenSearch Alerting Plugin"
+arch=('x86_64')
+url="https://docs-beta.opensearch.org/monitoring-plugins/alerting"
+license=('Apache')
+depends=("opensearch=${_opensearchver}" "opensearch-notifications-plugin")
+makedepends=("java-environment=${_jdkver}" 'unzip')
+source=(
+ "${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/alerting/archive/${pkgver}.tar.gz"
+)
+sha256sums=('21a2cce787e552f2dd58fe75d2f826d716c910c62a1a5f3ad29451b14e593b9f')
+
+build() {
+ cd "alerting-${pkgver}"
+ export JAVA_HOME="/usr/lib/jvm/java-${_jdkver}-openjdk"
+ export PATH="/usr/lib/jvm/java-${_jdkver}-openjdk/bin:$PATH"
+ export GRADLE_OPTS="-Dbuild.snapshot=false -Dopensearch.version=${_opensearchver}"
+ # alertingBwcCluster and integTest (Reaper) requires JDK 14
+ ./gradlew build \
+ --exclude-task ":alerting:alertingBwcCluster#fullRestartClusterTask" \
+ --exclude-task ":alerting:alertingBwcCluster#mixedClusterTask" \
+ --exclude-task ":alerting:alertingBwcCluster#oldVersionClusterTask0" \
+ --exclude-task ":alerting:alertingBwcCluster#oldVersionClusterTask1" \
+ --exclude-task ":alerting:alertingBwcCluster#rollingUpgradeClusterTask" \
+ --exclude-task ":alerting:alertingBwcCluster#twoThirdsUpgradedClusterTask" \
+ --exclude-task ":alerting:integTest" \
+ --exclude-task ":alerting:jacocoTestReport"
+}
+
+package() {
+ install -dm755 "${pkgdir}/usr/share/opensearch/plugins/opensearch-alerting"
+ cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-alerting"
+ unzip "${srcdir}/alerting-${pkgver}/alerting/build/distributions/opensearch-alerting-${pkgver}.zip"
+
+ install -Dm644 "${srcdir}/alerting-${pkgver}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}
More information about the arch-commits
mailing list