Skip to content

Commit

Permalink
ditch services
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeuw committed Oct 1, 2024
1 parent e907ddd commit 6b60c02
Showing 1 changed file with 9 additions and 23 deletions.
32 changes: 9 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,11 @@ jobs:

compat-test:
runs-on: ubuntu-latest
services:
cloak-server:
image: cbeuw/cloak:latest
options: build/ck-server -c config/ckserver.json --verbosity debug
volumes:
- config:config
ports:
- 80:80
- 443:443
iperf-server:
image: ajoergensen/iperf3:latest
options: --server
ports:
- 5201:5201
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '^1.22'
- name: Create configs
run: |
mkdir config
Expand Down Expand Up @@ -67,15 +57,11 @@ jobs:
"PrivateKey": "AAaskZJRPIAbiuaRLHsvZPvE6gzOeSjg+ZRg1ENau0Y="
}
EOF
- name: Restart Cloak server
uses: docker://docker
with:
args: docker restart cloak-server
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '^1.22'
- name: Start iperf3 server
run: docker run -d -p 5201:5201 --network host ajoergensen/iperf3:latest --server
- name: Start Cloak server
run: docker run -d -p 80:80 -p 443:443 --network host cbeuw/cloak:latest build/ck-server -c config/ckserver.json --verbosity debug
- run: |
make client
build/ck-client -c config/ckclient.json -s cloak-server --verbosity debug &
iperf3 --client 127.0.0.1 -p 1080
docker run --network host ajoergensen/iperf3:latest --client 127.0.0.1 -p 1080

0 comments on commit 6b60c02

Please sign in to comment.