Skip to content

Commit

Permalink
ci: docker-compose is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode authored and giacomociti committed Sep 24, 2024
1 parent e43ca41 commit e63ee83
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- run: yarn seed-data

- name: Hydra e2e tests
run: docker-compose -f docker-compose.yml -f docker-compose.posix.yml run e2e-tests
run: docker compose -f docker-compose.yml -f docker-compose.posix.yml run e2e-tests
- name: core logs on fail
if: ${{ failure() }}
run: lando logs -s core
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ There are two types of e2e tests:

### API e2e tests

Running the E2E tests can be done using: `docker-compose run --rm e2e-tests`, and `docker-compose run --rm e2e-tests -- --grep pattern` lets you select which tests to run.
Running the E2E tests can be done using: `docker compose run --rm e2e-tests`, and `docker compose run --rm e2e-tests -- --grep pattern` lets you select which tests to run.

For brevity, use npm script `npm run test:e2e --grep pattern`

Expand Down
6 changes: 3 additions & 3 deletions cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ Here's an example of converting local files using a locally-built image:
1. (optionally) Ensure a fresh container is built

```
docker-composer build cli
docker compose build cli
```
1. Run with docker-compose
1. Run with `docker compose`

```
docker-compose run --rm cli transform \
docker compose run --rm cli transform \
--to filesystem \
--job <URI>
--debug
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test:cli:publish": "yarn c8 -o coverage/publish mocha --recursive cli/**/*.test.ts --grep @cube-creator/cli/lib/commands/publish",
"test:cli:transform": "yarn c8 -o coverage/transform mocha --recursive cli/**/*.test.ts --grep @cube-creator/cli/lib/commands/transform",
"test:cli:timeoutJobs": "yarn c8 -o coverage/transform mocha --recursive cli/**/*.test.ts --grep @cube-creator/cli/lib/commands/timeoutJobs",
"test:e2e": "docker-compose run --rm e2e-tests --",
"test:e2e": "docker compose run --rm e2e-tests --",
"seed-data": "dotenv -e .local.env -- bash -c \"ts-node packages/testing/index.ts -i ubd dimensions px-cube hierarchies\""
},
"workspaces": [
Expand Down

0 comments on commit e63ee83

Please sign in to comment.