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/pekko-persistence-cassandra.git
The following commit(s) were added to refs/heads/main by this push:
new 4d7c06c update docker compose commands (#219)
4d7c06c is described below
commit 4d7c06c3710848a3d40052d9cbb177b43009e58f
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Aug 5 09:20:24 2024 +0100
update docker compose commands (#219)
* update docker compose commands
* version param is deprecated
---
.github/workflows/pekko-1.0-nightly-tests.yml | 2 +-
.github/workflows/unit-tests.yml | 2 +-
CONTRIBUTING.md | 2 +-
docker-compose.yml | 1 -
4 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/pekko-1.0-nightly-tests.yml
b/.github/workflows/pekko-1.0-nightly-tests.yml
index 2e30a23..6f925c0 100644
--- a/.github/workflows/pekko-1.0-nightly-tests.yml
+++ b/.github/workflows/pekko-1.0-nightly-tests.yml
@@ -46,4 +46,4 @@ jobs:
- name: Test against ${{ matrix.container }}
run: |-
- docker-compose up -d ${{ matrix.container }} && sbt
-Dpekko.build.pekko.version=1.0.x -Dpekko.build.pekko.connectors.version=1.0.x
++${{ matrix.scalaVersion }} ${{matrix.test}}
+ docker compose up -d ${{ matrix.container }} && sbt
-Dpekko.build.pekko.version=1.0.x -Dpekko.build.pekko.connectors.version=1.0.x
++${{ matrix.scalaVersion }} ${{matrix.test}}
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml
index 4a17aba..2582c2c 100644
--- a/.github/workflows/unit-tests.yml
+++ b/.github/workflows/unit-tests.yml
@@ -55,7 +55,7 @@ jobs:
- name: Test against ${{ matrix.container }}
run: |-
- docker-compose up -d ${{ matrix.container }} && sbt ${{
matrix.scalaVersion }} ${{matrix.test}}
+ docker compose up -d ${{ matrix.container }} && sbt ${{
matrix.scalaVersion }} ${{matrix.test}}
mima:
name: MiMa check
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index bbfe4a6..8dbde6d 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -87,7 +87,7 @@ Using, for example: current.version 2.5.22, previous.version
2.5, milestone.vers
## Running the tests
The tests rely on a Cassandra instance running locally on port 9042. A
docker-compose file is
-provided in the root of the project to start this with `docker-compose up -d
cassandra`
+provided in the root of the project to start this with `docker compose up -d
cassandra`
### Pull request requirements
diff --git a/docker-compose.yml b/docker-compose.yml
index ca217f9..9b5fc4d 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,4 +1,3 @@
-version: '2.2'
services:
cassandra-service:
image: cassandra:latest
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]