From 0f69618ef1a219e8e3a50411f7c382b75df037cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Andr=C3=A9n?= Date: Fri, 5 Apr 2024 07:45:12 +0200 Subject: [PATCH] chore: repo gardening (#1276) --- .fossa.yml | 8 +++++++ .github/workflows/checks.yml | 24 ++++++++++++++----- .github/workflows/fossa.yml | 12 +++++++--- ...integration-tests-app-version-revision.yml | 14 +++++++---- .../workflows/integration-tests-kube-api.yml | 14 +++++++---- .../workflows/integration-tests-kube-dns.yml | 14 +++++++---- .github/workflows/integration-tests-lease.yml | 18 +++++++++----- .github/workflows/integration-tests-maven.yml | 14 +++++++---- .../integration-tests-rolling-update-cr.yml | 14 +++++++---- .../integration-tests-rolling-update.yml | 14 +++++++---- .github/workflows/native-image-tests.yml | 10 +++++--- .github/workflows/release.yml | 20 ++++++++++++---- .github/workflows/unit-tests.yml | 12 +++++++--- README.md | 7 ++++++ docs/release-train-issue-template.md | 3 +-- project/plugins.sbt | 2 +- project/project-info.conf | 2 +- 17 files changed, 142 insertions(+), 60 deletions(-) create mode 100644 .fossa.yml diff --git a/.fossa.yml b/.fossa.yml new file mode 100644 index 000000000..57ef08757 --- /dev/null +++ b/.fossa.yml @@ -0,0 +1,8 @@ +version: 3 + +# https://github.com/fossas/fossa-cli/blob/master/docs/references/files/fossa-yml.md + +paths: + exclude: + - ./integration-test + - ./native-image-tests diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 30ca8f511..eddc05f16 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -17,7 +17,9 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves fetch-depth: 0 @@ -29,10 +31,14 @@ jobs: git checkout scratch - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 11 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.11.0 @@ -47,7 +53,9 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 @@ -58,10 +66,14 @@ jobs: git checkout scratch - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 17 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.17.0 diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml index 6e84d2bb0..d060b45d1 100644 --- a/.github/workflows/fossa.yml +++ b/.github/workflows/fossa.yml @@ -15,16 +15,22 @@ jobs: if: github.repository == 'akka/akka-management' steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 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: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 17 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.17 diff --git a/.github/workflows/integration-tests-app-version-revision.yml b/.github/workflows/integration-tests-app-version-revision.yml index 25e21e145..e36e3a4fd 100644 --- a/.github/workflows/integration-tests-app-version-revision.yml +++ b/.github/workflows/integration-tests-app-version-revision.yml @@ -18,11 +18,11 @@ jobs: integration-test: name: Integration Tests for AppVersionRevision runs-on: ubuntu-22.04 - strategy: - fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 @@ -33,10 +33,14 @@ jobs: git checkout scratch - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 11 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.11.0 diff --git a/.github/workflows/integration-tests-kube-api.yml b/.github/workflows/integration-tests-kube-api.yml index 5a9f94aef..5c295a141 100644 --- a/.github/workflows/integration-tests-kube-api.yml +++ b/.github/workflows/integration-tests-kube-api.yml @@ -17,11 +17,11 @@ jobs: integration-test: name: Integration Tests for Kubernetes API runs-on: ubuntu-22.04 - strategy: - fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 @@ -32,10 +32,14 @@ jobs: git checkout scratch - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 11 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.11.0 diff --git a/.github/workflows/integration-tests-kube-dns.yml b/.github/workflows/integration-tests-kube-dns.yml index 41e426740..de177eff1 100644 --- a/.github/workflows/integration-tests-kube-dns.yml +++ b/.github/workflows/integration-tests-kube-dns.yml @@ -17,11 +17,11 @@ jobs: integration-test: name: Integration Tests for Kubernetes DNS runs-on: ubuntu-22.04 - strategy: - fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 @@ -32,10 +32,14 @@ jobs: git checkout scratch - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 11 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.11.0 diff --git a/.github/workflows/integration-tests-lease.yml b/.github/workflows/integration-tests-lease.yml index 3338a9f89..70e061210 100644 --- a/.github/workflows/integration-tests-lease.yml +++ b/.github/workflows/integration-tests-lease.yml @@ -17,11 +17,11 @@ jobs: integration-test: name: Integration test for Kubernetes Lease runs-on: ubuntu-22.04 - strategy: - fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 @@ -32,15 +32,21 @@ jobs: git checkout scratch - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 11 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.11.0 - name: Cache Coursier cache - uses: coursier/cache-action@v5 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Setup Minikube # https://github.com/manusa/actions-setup-minikube/releases diff --git a/.github/workflows/integration-tests-maven.yml b/.github/workflows/integration-tests-maven.yml index a05aca3ec..ef1adeb69 100644 --- a/.github/workflows/integration-tests-maven.yml +++ b/.github/workflows/integration-tests-maven.yml @@ -16,11 +16,11 @@ jobs: integration-test: name: Integration Tests for Kubernetes API with Maven runs-on: ubuntu-22.04 - strategy: - fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 @@ -31,10 +31,14 @@ jobs: git checkout scratch - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 11 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.11.0 diff --git a/.github/workflows/integration-tests-rolling-update-cr.yml b/.github/workflows/integration-tests-rolling-update-cr.yml index b4ecfadd0..f4215b887 100644 --- a/.github/workflows/integration-tests-rolling-update-cr.yml +++ b/.github/workflows/integration-tests-rolling-update-cr.yml @@ -18,11 +18,11 @@ jobs: integration-test: name: Integration Tests for Rolling Update CR Kubernetes runs-on: ubuntu-22.04 - strategy: - fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 @@ -33,10 +33,14 @@ jobs: git checkout scratch - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 11 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.11.0 diff --git a/.github/workflows/integration-tests-rolling-update.yml b/.github/workflows/integration-tests-rolling-update.yml index f86239fce..6666bdb49 100644 --- a/.github/workflows/integration-tests-rolling-update.yml +++ b/.github/workflows/integration-tests-rolling-update.yml @@ -18,11 +18,11 @@ jobs: integration-test: name: Integration Tests for Rolling Update Kubernetes runs-on: ubuntu-22.04 - strategy: - fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 @@ -33,10 +33,14 @@ jobs: git checkout scratch - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 11 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.11.0 diff --git a/.github/workflows/native-image-tests.yml b/.github/workflows/native-image-tests.yml index cbbc7e150..f9c50802a 100644 --- a/.github/workflows/native-image-tests.yml +++ b/.github/workflows/native-image-tests.yml @@ -14,7 +14,9 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 @@ -26,11 +28,13 @@ jobs: - name: Cache Coursier cache # https://github.com/coursier/cache-action/releases - uses: coursier/cache-action@v6.4.0 + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 11 # https://github.com/coursier/setup-action/releases - uses: coursier/setup-action@v1.3.4 + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.11 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b976d4f9..d76b09381 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,9 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves fetch-depth: 0 @@ -33,10 +35,14 @@ jobs: git checkout scratch - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 11 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.11.0.17 @@ -53,13 +59,17 @@ jobs: if: github.event.repository.fork == false steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 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 17 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.17.0 diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 087a23c63..b396efec6 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -26,7 +26,9 @@ jobs: - { jdkVersion: "1.21.0", jvmName: "temurin:1.21", extraOpts: '' } steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 @@ -37,10 +39,14 @@ jobs: git checkout scratch - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK ${{ matrix.jdkVersion }} - uses: coursier/setup-action@v1.3.4 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: ${{ matrix.jvmName }} # FIXME default index not giving us access to JDK 21 (yet) diff --git a/README.md b/README.md index 2b1b231d6..3ff6670b1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Akka (Cluster) Management +The Akka family of projects is managed by teams at [Lightbend](https://lightbend.com/) with help from the community. + This repository contains interfaces to inspect, interact and manage various Parts of Akka, primarily Akka Cluster. Future additions may extend these concepts to other parts of Akka. @@ -32,6 +34,11 @@ for the following modules. * akka-discovery-aws-api * akka-discovery-aws-api-async +License +------- + +Akka is licensed under the Business Source License 1.1, please see the [Akka License FAQ](https://www.lightbend.com/akka/license-faq). + diff --git a/docs/release-train-issue-template.md b/docs/release-train-issue-template.md index c2fc2cb66..6d6030cc5 100644 --- a/docs/release-train-issue-template.md +++ b/docs/release-train-issue-template.md @@ -55,8 +55,7 @@ For minor or major releases: ### Afterwards -- [ ] Update version for [Lightbend Supported Modules](https://developer.lightbend.com/docs/lightbend-platform/introduction/getting-help/build-dependencies.html) in [private project](https://github.com/lightbend/lightbend-technology-intro-doc/blob/master/docs/modules/getting-help/examples/build.sbt) -- [ ] Update [akka-dependencies bom](https://github.com/lightbend/akka-dependencies) +- [ ] Update [akka-dependencies bom](https://github.com/lightbend/akka-dependencies) and version for [Akka module versions](https://doc.akka.io/docs/akka-dependencies/current/) in [akka-dependencies repo](https://github.com/akka/akka-dependencies) - [ ] Update [Akka Guide samples](https://github.com/akka/akka-platform-guide) - Close this issue diff --git a/project/plugins.sbt b/project/plugins.sbt index 15f3c7dc2..440f3f701 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -3,7 +3,7 @@ addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.16") addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.3") addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.0.1") -addSbtPlugin("com.lightbend.akka" % "sbt-paradox-akka" % "0.54") +addSbtPlugin("com.lightbend.akka" % "sbt-paradox-akka" % "0.55") addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.5.0") addSbtPlugin("com.github.sbt" % "sbt-site-paradox" % "1.5.0") addSbtPlugin("com.lightbend.sbt" % "sbt-publish-rsync" % "0.3") diff --git a/project/project-info.conf b/project/project-info.conf index 445bb44ce..24bf93566 100644 --- a/project/project-info.conf +++ b/project/project-info.conf @@ -2,7 +2,7 @@ project-info { version: "current" scala-versions: ["2.13", "3.3"] shared-info { - jdk-versions: ["Eclipse Temurin JDK 11", "Eclipse Temurin JDK 17"] + jdk-versions: ["Eclipse Temurin JDK 11", "Eclipse Temurin JDK 17", "Eclipse Temurin JDK 21"] snapshots: { url: "https://repo.akka.io/snapshots" text: "Akka library snapshot repository"