ci: use docker compose instead of docker-compose (see https://github.com/orgs/community/discussions/116610) (#21992)

This commit is contained in:
Delyan Angelov 2024-08-03 19:50:52 +03:00 committed by GitHub
parent 10b031b2cc
commit e906033e4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 6 deletions

View File

@ -43,7 +43,7 @@ jobs:
## Autobahn integrations tests
- name: Run autobahn services
run: docker-compose -f ${{github.workspace}}/vlib/net/websocket/tests/autobahn/docker-compose.yml up -d
run: docker compose -f ${{github.workspace}}/vlib/net/websocket/tests/autobahn/docker-compose.yml up -d
- name: Wait for the service to start
run: sleep 10s

View File

@ -9,7 +9,7 @@ The performance tests are skipped due to timeouts in Github actions.
This is how to test the client:
1. Run the docker autobahn test suite by running the `docker-compose up`
1. Run the docker autobahn test suite by running the `docker compose up`
2. From the `local_run` folder, compile and run `autobahn_client.v` to test non wss (no TLS) and
`autobahn_client_wss.v` to run the TLS tests
3. Open `http://localhost:8080` and browse client test results for non TLS and `https://localhost:8081`

View File

@ -6,7 +6,4 @@ FROM node:12.6-buster-slim
COPY config/fuzzingserver.json /config/fuzzingserver.json
RUN chmod +775 /config/fuzzingserver.json
RUN apt update && \
apt install -y \
docker \
docker-compose
RUN apt update && apt install -y docker