This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-management.git
The following commit(s) were added to refs/heads/main by this push:
new 8e871adb Updating prerequisites for integration tests. (#131)
8e871adb is described below
commit 8e871adb7e8ea715d7508703d7ce1ff78b6f2add
Author: Samuele Resca <[email protected]>
AuthorDate: Sun Nov 5 10:06:08 2023 +0000
Updating prerequisites for integration tests. (#131)
* Updating prerequisites for integration tests.
* Updating scala-steward.conf
---
.github/workflows/integration-tests-lease.yml | 2 +-
.scala-steward.conf | 4 ++--
README.md | 12 ++++++++++++
lease-kubernetes-int-test/{minikube-test.sh => test.sh} | 0
4 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/integration-tests-lease.yml
b/.github/workflows/integration-tests-lease.yml
index f4afc6ed..de3f75b0 100644
--- a/.github/workflows/integration-tests-lease.yml
+++ b/.github/workflows/integration-tests-lease.yml
@@ -57,7 +57,7 @@ jobs:
kubectl proxy --port=8080 &
echo 'Running tests'
sbt ";lease-kubernetes/it:test"
- ./lease-kubernetes-int-test/minikube-test.sh
+ ./lease-kubernetes-int-test/test.sh
- name: Print logs on failure
if: ${{ failure() }}
diff --git a/.scala-steward.conf b/.scala-steward.conf
index bfe4189e..b5f3bf25 100644
--- a/.scala-steward.conf
+++ b/.scala-steward.conf
@@ -1,13 +1,13 @@
pullRequests.frequency = "@monthly"
updates.pin = [
- # To be updated in tandem with upstream Akka
+ # To be updated in tandem with upstream Pekko
{groupId = "com.fasterxml.jackson.core", version = "2.11."}
{groupId = "org.scalatest", artifactId = "scalatest", version = "3.1."}
]
updates.ignore = [
- {groupId = "com.typesafe.akka"}
+ {groupId = "org.apache.pekko"}
{groupId = "org.scalameta", artifactId = "scalafmt-core"}
// these will get updated along with jackson-core, so no need to update them
// separately
diff --git a/README.md b/README.md
index 8c2b994b..0eb1bdbf 100644
--- a/README.md
+++ b/README.md
@@ -42,6 +42,18 @@ The documentation is available at
- Or you can add a file called `version.sbt` to the same directory that
has the `build.sbt` containing something like
- `ThisBuild / version := "1.0.0"`
+### Running integration tests
+
+The integration tests requires an Kubernetes API server running on
`localhost:8080`. You can run a local Kubernetes cluster using
[Minikube](https://kubernetes.io/docs/tasks/tools/install-minikube/).
+You can bind the API server on `localhost:8080` using `kubectl proxy
--port=8080`.
+
+The following scripts can be used to run the integration tests:
+
+- `./integration-test/kubernetes-api/test.sh` run the integration tests for
the Kubernetes API.
+- `./integration-test/kubernetes-dns/test.sh` run the integration tests
related to the Kubernetes DNS-based discovery using the service name.
+- `./integration-test/kubernetes-dns/test.sh` run the integration tests for
the Kubernetes DNS-based discovery using the service name.
+- `./lease-kubernetes-int-test/test.sh` run the integration tests for the
Kubernetes lease implementation.
+
## Community
There are several ways to interact with the Apache Pekko community:
diff --git a/lease-kubernetes-int-test/minikube-test.sh
b/lease-kubernetes-int-test/test.sh
similarity index 100%
rename from lease-kubernetes-int-test/minikube-test.sh
rename to lease-kubernetes-int-test/test.sh
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]