diff --git a/.github/workflows/nightly-cluster-metrics-sigar.yml b/.github/workflows/nightly-cluster-metrics-sigar.yml new file mode 100644 index 0000000000..d891c6bf07 --- /dev/null +++ b/.github/workflows/nightly-cluster-metrics-sigar.yml @@ -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}} diff --git a/.jvmopts-ci b/.jvmopts-ci index e347ac0b33..0db4313407 100644 --- a/.jvmopts-ci +++ b/.jvmopts-ci @@ -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 -Xmx2G -Xss2M -XX:ReservedCodeCacheSize=256m - diff --git a/.sbtopts b/.sbtopts index c104c6ca2c..fc0b7e4cb5 100644 --- a/.sbtopts +++ b/.sbtopts @@ -1,2 +1,3 @@ -J-Xmx3072M -J-Xms1024M +-Dmultinode.XX:MetaspaceSize=128M \ No newline at end of file