move unstable nightly aeron builds into their own workflow (#202)
This commit is contained in:
parent
bcec7bae07
commit
60f2b83486
2 changed files with 70 additions and 60 deletions
70
.github/workflows/nightly-builds-aeron.yml
vendored
Normal file
70
.github/workflows/nightly-builds-aeron.yml
vendored
Normal file
|
|
@ -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}}
|
||||
60
.github/workflows/nightly-builds.yml
vendored
60
.github/workflows/nightly-builds.yml
vendored
|
|
@ -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}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue