Capture build scans on ge.apache.org to benefit from deep build insights (#1288)
* Capture build scans on ge.apache.org to benefit from deep build insights (#1) * Add Develocity plugin and configure it to publish to Apache Develocity instance * Add Develocity access token to CI jobs * Use convention plugin to configure Develocity * Add opt-in property * Revert "Add opt-in property" This reverts commit ff556b9764fd6b980b24082a3195ba3fbd22faf6. * Improve variable name * Use upper case i in CI abbreviation
This commit is contained in:
parent
7deed41917
commit
763cdb64eb
16 changed files with 105 additions and 0 deletions
|
|
@ -16,6 +16,8 @@ jobs:
|
|||
if: github.repository == 'apache/pekko'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@ jobs:
|
|||
check-code-style:
|
||||
name: Check / Code Style
|
||||
runs-on: ubuntu-22.04
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -41,6 +43,8 @@ jobs:
|
|||
pull-request-validation:
|
||||
name: Check / Tests
|
||||
runs-on: ubuntu-20.04
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
|
|
|||
2
.github/workflows/generate-doc-check.yml
vendored
2
.github/workflows/generate-doc-check.yml
vendored
|
|
@ -49,4 +49,6 @@ jobs:
|
|||
sudo apt-get install graphviz
|
||||
|
||||
- name: Compile testClass&docs for all Scala versions
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
run: sbt ";+TestJdk9 / compile ; +compile:doc"
|
||||
|
|
|
|||
2
.github/workflows/headers.yml
vendored
2
.github/workflows/headers.yml
vendored
|
|
@ -23,6 +23,8 @@ jobs:
|
|||
uses: coursier/cache-action@v6
|
||||
|
||||
- name: Check headers
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
run: |-
|
||||
sbt \
|
||||
-Dsbt.override.build.repos=false \
|
||||
|
|
|
|||
2
.github/workflows/link-validator.yml
vendored
2
.github/workflows/link-validator.yml
vendored
|
|
@ -35,6 +35,8 @@ jobs:
|
|||
uses: coursier/setup-action@v1
|
||||
|
||||
- name: Create the Pekko site
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
run: |-
|
||||
cp .jvmopts-ci .jvmopts
|
||||
sbt -Dpekko.genjavadoc.enabled=true -Dpekko.genlicensereport.enabled=true "Javaunidoc/doc; Compile/unidoc; docs/paradox"
|
||||
|
|
|
|||
6
.github/workflows/nightly-1.0-builds.yml
vendored
6
.github/workflows/nightly-1.0-builds.yml
vendored
|
|
@ -33,6 +33,8 @@ jobs:
|
|||
run: cp .jvmopts-ci .jvmopts
|
||||
|
||||
- name: sbt cluster-metrics/test
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
run: |-
|
||||
sbt \
|
||||
-Djava.security.egd=file:/dev/./urandom \
|
||||
|
|
@ -82,6 +84,8 @@ jobs:
|
|||
run: cp .jvmopts-ci .jvmopts
|
||||
|
||||
- name: sbt ${{ matrix.command }}
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
# note that this is not running any multi-jvm tests because multi-in-test=false
|
||||
run: |-
|
||||
sbt \
|
||||
|
|
@ -127,6 +131,8 @@ jobs:
|
|||
run: cp .jvmopts-ci .jvmopts
|
||||
|
||||
- name: Compile and Test
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
# note that this is not running any multi-jvm tests because multi-in-test=false
|
||||
run: |-
|
||||
sbt \
|
||||
|
|
|
|||
2
.github/workflows/nightly-builds-aeron.yml
vendored
2
.github/workflows/nightly-builds-aeron.yml
vendored
|
|
@ -40,6 +40,8 @@ jobs:
|
|||
run: cp .jvmopts-ci .jvmopts
|
||||
|
||||
- name: sbt ${{ matrix.command }}
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
# note that this is not running any multi-jvm tests because multi-in-test=false
|
||||
run: |-
|
||||
sbt \
|
||||
|
|
|
|||
6
.github/workflows/nightly-builds.yml
vendored
6
.github/workflows/nightly-builds.yml
vendored
|
|
@ -32,6 +32,8 @@ jobs:
|
|||
run: cp .jvmopts-ci .jvmopts
|
||||
|
||||
- name: sbt cluster-metrics/test
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
run: |-
|
||||
sbt \
|
||||
-Djava.security.egd=file:/dev/./urandom \
|
||||
|
|
@ -90,6 +92,8 @@ jobs:
|
|||
run: cp .jvmopts-ci .jvmopts
|
||||
|
||||
- name: sbt ${{ matrix.command }}
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
# note that this is not running any multi-jvm tests because multi-in-test=false
|
||||
run: |-
|
||||
sbt \
|
||||
|
|
@ -114,6 +118,8 @@ jobs:
|
|||
# full version from it.
|
||||
scalaVersion: ["2.12", "2.13", "3.3"]
|
||||
javaVersion: [8, 11, 17, 21]
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
|
|
|||
2
.github/workflows/publish-1.0-docs.yml
vendored
2
.github/workflows/publish-1.0-docs.yml
vendored
|
|
@ -54,6 +54,8 @@ jobs:
|
|||
|
||||
# TODO come up with a better way to control the version, possibly based on git tags
|
||||
- name: Build Documentation
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
run: |-
|
||||
sbt -Dpekko.genjavadoc.enabled=true -Dpekko.genlicensereport.enabled=true "set ThisBuild / version := \"1.0.2\"; docs/paradox; unidoc"
|
||||
|
||||
|
|
|
|||
2
.github/workflows/publish-1.0-nightly.yml
vendored
2
.github/workflows/publish-1.0-nightly.yml
vendored
|
|
@ -32,6 +32,8 @@ jobs:
|
|||
name: Publish 1.0 nightly
|
||||
runs-on: ubuntu-20.04
|
||||
if: github.repository == 'apache/pekko'
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
|
|
|||
2
.github/workflows/publish-nightly.yml
vendored
2
.github/workflows/publish-nightly.yml
vendored
|
|
@ -32,6 +32,8 @@ jobs:
|
|||
name: Publish nightly
|
||||
runs-on: ubuntu-20.04
|
||||
if: github.repository == 'apache/pekko'
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
|
|
|||
2
.github/workflows/scala3-build.yml
vendored
2
.github/workflows/scala3-build.yml
vendored
|
|
@ -52,6 +52,8 @@ jobs:
|
|||
run: cp .jvmopts-ci .jvmopts
|
||||
|
||||
- name: Compile and run tests on Scala 3
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
# note that this is not running any multi-jvm tests (yet) because multi-in-test=false
|
||||
run: |
|
||||
sbt \
|
||||
|
|
|
|||
2
.github/workflows/scala3-compile.yml
vendored
2
.github/workflows/scala3-compile.yml
vendored
|
|
@ -50,6 +50,8 @@ jobs:
|
|||
run: cp .jvmopts-ci .jvmopts
|
||||
|
||||
- name: Compile on Scala 3
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
run: |
|
||||
sbt \
|
||||
"+~ 3 ${{ matrix.command }}"
|
||||
|
|
|
|||
2
.github/workflows/timing-tests.yml
vendored
2
.github/workflows/timing-tests.yml
vendored
|
|
@ -34,6 +34,8 @@ jobs:
|
|||
run: cp .jvmopts-ci .jvmopts
|
||||
|
||||
- name: sbt test
|
||||
env:
|
||||
DEVELOCITY_ACCESS_TOKEN: ${{ secrets.GE_ACCESS_TOKEN }}
|
||||
run: |-
|
||||
sbt \
|
||||
-Djava.security.egd=file:/dev/./urandom \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue