mirror of
https://github.com/vlang/v.git
synced 2025-08-04 10:17:22 -04:00
ci: use docker compose
instead of docker-compose
(see https://github.com/orgs/community/discussions/116610) (#21992)
This commit is contained in:
parent
10b031b2cc
commit
e906033e4e
2
.github/workflows/websockets_ci.yml
vendored
2
.github/workflows/websockets_ci.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
|||||||
|
|
||||||
## Autobahn integrations tests
|
## Autobahn integrations tests
|
||||||
- name: Run autobahn services
|
- 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
|
- name: Wait for the service to start
|
||||||
run: sleep 10s
|
run: sleep 10s
|
||||||
|
@ -9,7 +9,7 @@ The performance tests are skipped due to timeouts in Github actions.
|
|||||||
|
|
||||||
This is how to test the client:
|
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
|
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
|
`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`
|
3. Open `http://localhost:8080` and browse client test results for non TLS and `https://localhost:8081`
|
||||||
|
@ -6,7 +6,4 @@ FROM node:12.6-buster-slim
|
|||||||
|
|
||||||
COPY config/fuzzingserver.json /config/fuzzingserver.json
|
COPY config/fuzzingserver.json /config/fuzzingserver.json
|
||||||
RUN chmod +775 /config/fuzzingserver.json
|
RUN chmod +775 /config/fuzzingserver.json
|
||||||
RUN apt update && \
|
RUN apt update && apt install -y docker
|
||||||
apt install -y \
|
|
||||||
docker \
|
|
||||||
docker-compose
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user