Skip to content

Commit

Permalink
Update docker-compose invocations
Browse files Browse the repository at this point in the history
  • Loading branch information
webbnh committed Aug 26, 2024
1 parent b4d085f commit b1d8d98
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
- name: Check out code
uses: actions/checkout@v4
- name: Build image
run: docker-compose build
run: docker compose build
- name: Run plugin
run: docker-compose up --abort-on-container-exit
run: docker compose up --abort-on-container-exit
- name: Extract coverage data
run: |
docker create --name test quay.io/arcalot/arcaflow-plugin-opensearch:latest
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ A plugin for loading data into an OpenSearch-compatible instance.

During the development of this plugin it is useful to start a local Elasticsearch via:
```bash
docker-compose -f docker-compose-dev.yaml up -d
docker compose -f docker-compose-dev.yaml up -d
```

and stop it again via:
```bash
docker-compose -f docker-compose-dev.yaml down -v
docker compose -f docker-compose-dev.yaml down -v
```

## Testing
Expand Down Expand Up @@ -39,11 +39,11 @@ python -m unittest tests.integration.test_opensearch_plugin

- using the [docker-compose.yaml](./docker-compose.yaml) and run
```bash
# the --abort-on-container-exit ensures a docker-compose down after the tests have run
docker-compose -f docker-compose.yaml up --abort-on-container-exit
# the --abort-on-container-exit ensures a `docker compose down` after the tests have run
docker compose -f docker-compose.yaml up --abort-on-container-exit
```

__Note:__ Make sure to `docker-compose down` and remove the volume after one run as there is currently no cleanup done.
__Note:__ Make sure to `docker compose down` and remove the volume after one run as there is currently no cleanup done.

# Autogenerated Input/Output Documentation by Arcaflow-Docsgen Below

Expand Down

0 comments on commit b1d8d98

Please sign in to comment.