diff --git a/.github/workflows/check-build-test.yml b/.github/workflows/check-build-test.yml index 3a2ba0d13..62ed91760 100644 --- a/.github/workflows/check-build-test.yml +++ b/.github/workflows/check-build-test.yml @@ -18,7 +18,7 @@ env: jobs: check-code-style: name: Check Code Style - runs-on: ubuntu-22.04 + runs-on: Akka-Default steps: - name: Checkout # https://github.com/actions/checkout/releases @@ -52,7 +52,7 @@ jobs: check-code-compilation: name: Check Code Compilation - runs-on: ubuntu-22.04 + runs-on: Akka-Default steps: - name: Checkout # https://github.com/actions/checkout/releases @@ -85,7 +85,7 @@ jobs: check-docs: name: Check Docs - runs-on: ubuntu-22.04 + runs-on: Akka-Default steps: - name: Checkout # https://github.com/actions/checkout/releases @@ -118,7 +118,7 @@ jobs: test: name: Build and Test - runs-on: ubuntu-22.04 + runs-on: Akka-Default needs: [check-code-style, check-code-compilation, check-docs] strategy: fail-fast: false @@ -163,7 +163,7 @@ jobs: integration-test: name: Integration tests needs: [check-code-style, check-code-compilation, check-docs] - runs-on: ubuntu-22.04 + runs-on: Akka-Default steps: - name: Checkout # https://github.com/actions/checkout/releases @@ -199,7 +199,7 @@ jobs: build-benchmark: name: Build benchmarks needs: [check-code-style, check-code-compilation, check-docs] - runs-on: ubuntu-22.04 + runs-on: Akka-Default steps: - name: Checkout # https://github.com/actions/checkout/releases diff --git a/.github/workflows/dependency-submission.yml b/.github/workflows/dependency-submission.yml index a62794018..b4e01eedf 100644 --- a/.github/workflows/dependency-submission.yml +++ b/.github/workflows/dependency-submission.yml @@ -14,7 +14,7 @@ jobs: dependency-graph: name: Update Dependency Graph if: github.event.repository.fork == false - runs-on: ubuntu-22.04 + runs-on: Akka-Default permissions: contents: write steps: diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml index df1d5abfe..530051444 100644 --- a/.github/workflows/fossa.yml +++ b/.github/workflows/fossa.yml @@ -11,7 +11,7 @@ permissions: jobs: fossa: name: Fossa - runs-on: ubuntu-22.04 + runs-on: Akka-Default if: github.repository == 'akka/alpakka-kafka' steps: - name: Checkout diff --git a/.github/workflows/link-validator.yml b/.github/workflows/link-validator.yml index ac37576de..2f8bb433f 100644 --- a/.github/workflows/link-validator.yml +++ b/.github/workflows/link-validator.yml @@ -11,7 +11,7 @@ permissions: jobs: validate-links: - runs-on: ubuntu-22.04 + runs-on: Akka-Default if: github.event.repository.fork == false steps: - name: Checkout diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3c352758..366791eae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: # the release environment provides access to secrets required in the release process # https://github.com/akka/alpakka-kafka/settings/environments/84275678/edit environment: release - runs-on: ubuntu-22.04 + runs-on: Akka-Default steps: - name: Checkout # https://github.com/actions/checkout/releases @@ -56,7 +56,7 @@ jobs: documentation: name: Documentation - runs-on: ubuntu-22.04 + runs-on: Akka-Default if: github.event.repository.fork == false steps: - name: Checkout diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7584064ea..0d2598190 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,6 +4,14 @@ We follow the standard GitHub [fork & pull](https://help.github.com/articles/usi You're always welcome to submit your PR straight away and start the discussion (without reading the rest of this wonderful doc, or the README.md). The goal of these notes is to make your experience contributing to Alpakka as smooth and pleasant as possible. We're happy to guide you through the process once you've submitted your PR. +## Build Token + +To build locally, you need to fetch a token at https://account.akka.io/token that you have to place into `~/.sbt/1.0/akka-commercial.sbt` file like this: +``` +ThisBuild / resolvers += "lightbend-akka".at("your token resolver here") +``` + + # The Akka Community Please check out [Get Involved](https://akka.io/get-involved/). diff --git a/build.sbt b/build.sbt index 52978d1c7..c5c682be6 100644 --- a/build.sbt +++ b/build.sbt @@ -41,7 +41,7 @@ val confluentLibsExclusionRules = Seq( ) ThisBuild / resolvers ++= Seq( - "Akka library repository".at("https://repo.akka.io/maven"), + "Akka library repository".at("https://repo.akka.io/maven/github_actions"), // for Jupiter interface (JUnit 5) Resolver.jcenterRepo ) diff --git a/docs/src/main/paradox/home.md b/docs/src/main/paradox/home.md index 1906e6d15..3cb9e2ae8 100644 --- a/docs/src/main/paradox/home.md +++ b/docs/src/main/paradox/home.md @@ -48,13 +48,9 @@ Check even Confluent's [Versions and Interoperability](https://docs.confluent.io ## Dependencies -The Akka dependencies are available from Akka's library repository. To access them there, you need to configure the URL for this repository. - -@@repository [Maven,sbt,Gradle] { - id="akka-repository" - name="Akka library repository" - url="https://repo.akka.io/maven" -} +@@@note +The Akka dependencies are available from Akka’s secure library repository. To access them you need to use a secure, tokenized URL as specified at https://account.akka.io/token. +@@@ Additionally, add the dependencies as below. diff --git a/project/plugins.sbt b/project/plugins.sbt index 0bbc89c4a..28219133b 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -resolvers += "Akka library repository".at("https://repo.akka.io/maven") +resolvers += "Akka library repository".at("https://repo.akka.io/maven/github_actions") addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.0") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.9.3")