Skip to content

Commit 5fe92e7

Browse files
committed
CI integration
1 parent 8f245db commit 5fe92e7

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

.github/workflows/resilience.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010
timeout-minutes: 20
1111
runs-on: ubuntu-latest
1212

13+
env:
14+
TOXIPROXY_VERSION: v2.5.0
15+
1316
strategy:
1417
fail-fast: false
1518

@@ -27,6 +30,6 @@ jobs:
2730
run: mvn -version
2831
- name: Start Toxiproxy
2932
working-directory: resilience-tests
30-
run: ./bin/toxiproxy-server-linux-amd64
33+
run: ./bin/startProxy.sh
3134
- name: Test
3235
run: mvn --no-transfer-progress -am -pl resilience-tests test

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ target
1212

1313
test-results-native
1414
.flattened-pom.xml
15+
/resilience-tests/bin/toxiproxy-server-linux-amd64
16+

resilience-tests/bin/startProxy.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
wget -O bin/toxiproxy-server-linux-amd64 https://github.com/Shopify/toxiproxy/releases/download/${TOXIPROXY_VERSION}/toxiproxy-server-linux-amd64
4+
chmod a+x bin/toxiproxy-server-linux-amd64
5+
bin/toxiproxy-server-linux-amd64 &
-8.41 MB
Binary file not shown.

0 commit comments

Comments
 (0)