You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by jr...@apache.org on 2023/02/22 08:59:20 UTC

[incubator-pekko] branch main updated: move unstable nightly aeron builds into their own workflow (#202)

This is an automated email from the ASF dual-hosted git repository.

jrudolph pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko.git


The following commit(s) were added to refs/heads/main by this push:
     new 60f2b83486 move unstable nightly aeron builds into their own workflow (#202)
60f2b83486 is described below

commit 60f2b8348616813fc3df7799ecff8d77663cc1e6
Author: Johannes Rudolph <jo...@gmail.com>
AuthorDate: Wed Feb 22 09:59:13 2023 +0100

    move unstable nightly aeron builds into their own workflow (#202)
---
 .github/workflows/nightly-builds-aeron.yml | 70 ++++++++++++++++++++++++++++++
 .github/workflows/nightly-builds.yml       | 60 -------------------------
 2 files changed, 70 insertions(+), 60 deletions(-)

diff --git a/.github/workflows/nightly-builds-aeron.yml b/.github/workflows/nightly-builds-aeron.yml
new file mode 100644
index 0000000000..ebd16efb9e
--- /dev/null
+++ b/.github/workflows/nightly-builds-aeron.yml
@@ -0,0 +1,70 @@
+name: Nightly Aeron Tests
+
+on:
+  schedule:
+    - cron: "0 0 * * *"
+  workflow_dispatch:
+
+permissions: {}
+
+jobs:
+
+  pekko-artery-aeron-tests:
+    name: Pekko Artery Aeron Tests
+    runs-on: ubuntu-20.04
+    if: github.repository == 'apache/incubator-pekko'
+    strategy:
+      fail-fast: false
+      matrix:
+        command:
+          - remote/test remote-tests/test
+          - cluster/test cluster-typed/test
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v3
+        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: Setup Java 11
+        uses: actions/setup-java@v3
+        with:
+          distribution: temurin
+          java-version: 11
+
+      - name: Cache Coursier cache
+        uses: coursier/cache-action@v6.4.0
+
+      - name: Enable jvm-opts
+        run: cp .jvmopts-ci .jvmopts
+
+      - name: sbt ${{ matrix.command }}
+        # note that this is not running any multi-jvm tests because multi-in-test=false
+        run: |-
+          sbt \
+          -Djava.security.egd=file:/dev/./urandom \
+          -Dpekko.remote.artery.transport=aeron-udp \
+          -Dpekko.test.timefactor=2 \
+          -Dpekko.actor.testkit.typed.timefactor=2 \
+          -Dpekko.test.tags.exclude=gh-exclude,gh-exclude-aeron,timing \
+          -Dpekko.test.multi-in-test=false \
+          -Dpekko.cluster.assert=on \
+          -Daeron.dir=/opt/volumes/media-driver \
+          -Daeron.term.buffer.length=33554432 \
+          clean ${{ matrix.command }}
+
+      # comment out email actions until we have an email address to use (and we need to get INFRA to whitelist dawidd6/action-send-mail)
+      #- name: Email on failure
+      #  if: ${{ failure() }}
+      #  uses: dawidd6/action-send-mail@v3
+      #  with:
+      #    server_address: smtp.gmail.com
+      #    server_port: 465
+      #    username: ${{secrets.MAIL_USERNAME}}
+      #    password: ${{secrets.MAIL_PASSWORD}}
+      #    subject: "Failed: ${{ github.workflow }} / ${{ github.job }}"
+      #    to: akka.official@gmail.com
+      #    from: Akka CI (GHActions)
+      #    body: |
+      #      Job ${{ github.job }} in workflow ${{ github.workflow }} of ${{github.repository}} failed!
+      #      https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
diff --git a/.github/workflows/nightly-builds.yml b/.github/workflows/nightly-builds.yml
index bd1f882078..68dcab914f 100644
--- a/.github/workflows/nightly-builds.yml
+++ b/.github/workflows/nightly-builds.yml
@@ -226,63 +226,3 @@ jobs:
       #    body: |
       #      Job ${{ github.job }} in workflow ${{ github.workflow }} of ${{github.repository}} failed!
       #      https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
-
-  pekko-artery-aeron-tests:
-    name: Pekko Artery Aeron Tests
-    runs-on: ubuntu-20.04
-    if: github.repository == 'apache/incubator-pekko'
-    strategy:
-      fail-fast: false
-      matrix:
-        command:
-          - remote/test remote-tests/test
-          - cluster/test cluster-typed/test
-    steps:
-      - name: Checkout
-        uses: actions/checkout@v3
-        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: Setup Java 11
-        uses: actions/setup-java@v3
-        with:
-          distribution: temurin
-          java-version: 11
-
-      - name: Cache Coursier cache
-        uses: coursier/cache-action@v6.4.0
-
-      - name: Enable jvm-opts
-        run: cp .jvmopts-ci .jvmopts
-
-      - name: sbt ${{ matrix.command }}
-        # note that this is not running any multi-jvm tests because multi-in-test=false
-        run: |-
-          sbt \
-          -Djava.security.egd=file:/dev/./urandom \
-          -Dpekko.remote.artery.transport=aeron-udp \
-          -Dpekko.test.timefactor=2 \
-          -Dpekko.actor.testkit.typed.timefactor=2 \
-          -Dpekko.test.tags.exclude=gh-exclude,gh-exclude-aeron,timing \
-          -Dpekko.test.multi-in-test=false \
-          -Dpekko.cluster.assert=on \
-          -Daeron.dir=/opt/volumes/media-driver \
-          -Daeron.term.buffer.length=33554432 \
-          clean ${{ matrix.command }}
-
-      # comment out email actions until we have an email address to use (and we need to get INFRA to whitelist dawidd6/action-send-mail)
-      #- name: Email on failure
-      #  if: ${{ failure() }}
-      #  uses: dawidd6/action-send-mail@v3
-      #  with:
-      #    server_address: smtp.gmail.com
-      #    server_port: 465
-      #    username: ${{secrets.MAIL_USERNAME}}
-      #    password: ${{secrets.MAIL_PASSWORD}}
-      #    subject: "Failed: ${{ github.workflow }} / ${{ github.job }}"
-      #    to: akka.official@gmail.com
-      #    from: Akka CI (GHActions)
-      #    body: |
-      #      Job ${{ github.job }} in workflow ${{ github.workflow }} of ${{github.repository}} failed!
-      #      https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org