Build Test Akka Cluster Metrics with sigar library. (#30453)
This commit is contained in:
parent
62cefddcc7
commit
cdf54dcdf8
3 changed files with 45 additions and 2 deletions
43
.github/workflows/nightly-cluster-metrics-sigar.yml
vendored
Normal file
43
.github/workflows/nightly-cluster-metrics-sigar.yml
vendored
Normal file
|
|
@ -0,0 +1,43 @@
|
||||||
|
name: Nightly Akka Cluster Metrics Test with Sigar
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
sbt:
|
||||||
|
name: Test Akka Cluster Metrics
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Set up JDK 8
|
||||||
|
uses: olafurpg/setup-scala@v10
|
||||||
|
with:
|
||||||
|
java-version: adopt@1.8.0
|
||||||
|
- name: Test
|
||||||
|
run: |-
|
||||||
|
sbt -jvm-opts .jvmopts-ci \
|
||||||
|
-Djava.security.egd=file:/dev/./urandom \
|
||||||
|
-Dakka.test.sigar=true \
|
||||||
|
-Dakka.cluster.assert=on \
|
||||||
|
clean akka-cluster-metrics/test
|
||||||
|
- name: Email on failure
|
||||||
|
if: ${{ failure() }}
|
||||||
|
uses: dawidd6/action-send-mail@v3
|
||||||
|
with:
|
||||||
|
server_address: smtp.gmail.com
|
||||||
|
server_port: 465
|
||||||
|
# Using port 465 already sets `secure: true`
|
||||||
|
secure: true
|
||||||
|
username: ${{secrets.MAIL_USERNAME}}
|
||||||
|
password: ${{secrets.MAIL_PASSWORD}}
|
||||||
|
subject: PRValidation Failed (Akka)
|
||||||
|
to: akka.official@gmail.com
|
||||||
|
from: Akka CI (GHActions)
|
||||||
|
body: |
|
||||||
|
Nightly Akka Cluster Metrics Test with Sigar of ${{github.repository}} failed!
|
||||||
|
https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
# This is used to configure the sbt instance that Travis launches
|
# This is used to configure the sbt instance that github actions launches
|
||||||
|
|
||||||
-Xms2G
|
-Xms2G
|
||||||
-Xmx2G
|
-Xmx2G
|
||||||
-Xss2M
|
-Xss2M
|
||||||
-XX:ReservedCodeCacheSize=256m
|
-XX:ReservedCodeCacheSize=256m
|
||||||
|
|
||||||
|
|
|
||||||
1
.sbtopts
1
.sbtopts
|
|
@ -1,2 +1,3 @@
|
||||||
-J-Xmx3072M
|
-J-Xmx3072M
|
||||||
-J-Xms1024M
|
-J-Xms1024M
|
||||||
|
-Dmultinode.XX:MetaspaceSize=128M
|
||||||
Loading…
Add table
Add a link
Reference in a new issue