|
47 | 47 |
|
48 | 48 | - name: Deploy docker image
|
49 | 49 | run: |
|
50 |
| - sudo docker run -d --network="host" --name=unbound --volume=$PWD/testsdata/unbound/unbound_${{ matrix.mode }}.conf:/opt/unbound/etc/unbound/unbound.conf:z -v /tmp/:/opt/unbound/etc/unbound/tmp/:z mvance/unbound:${{ matrix.unbound }} |
| 50 | + sudo docker run -d --network="host" --name=unbound --volume=$PWD/tests/testsdata/unbound/unbound_${{ matrix.mode }}.conf:/opt/unbound/etc/unbound/unbound.conf:z -v /tmp/:/opt/unbound/etc/unbound/tmp/:z mvance/unbound:${{ matrix.unbound }} |
51 | 51 | until (dig -p 5553 www.github.com @127.0.0.1 | grep NOERROR); do sleep 5.0; done
|
52 | 52 |
|
53 | 53 | - name: Test ${{ matrix.mode }}
|
|
82 | 82 |
|
83 | 83 | - name: Deploy coredns docker image
|
84 | 84 | run: |
|
85 |
| - sudo docker run -d --network="host" --name=coredns -v $PWD/testsdata/:$PWD/testsdata/ -v /tmp/:/tmp/ coredns/coredns:${{ matrix.coredns }} -conf $PWD/testsdata/coredns/coredns_${{ matrix.mode }}.conf |
| 85 | + sudo docker run -d --network="host" --name=coredns -v $PWD/tests/testsdata/:$PWD/tests/testsdata/ -v /tmp/:/tmp/ coredns/coredns:${{ matrix.coredns }} -conf $PWD/tests/testsdata/coredns/coredns_${{ matrix.mode }}.conf |
86 | 86 | until (dig -p 5553 www.github.com @127.0.0.1 | grep NOERROR); do sleep 5.0; done
|
87 | 87 |
|
88 | 88 | - name: Test ${{ matrix.mode }}
|
@@ -122,12 +122,12 @@ jobs:
|
122 | 122 | openssl req -new -passin file:passphrase.txt -key server.key -out server.csr -subj "/C=FR/O=krkr/OU=Domain Control Validated/CN=*.krkr.io"
|
123 | 123 | openssl rsa -in server.key -passin file:passphrase.txt -out dnscollector.key
|
124 | 124 | openssl x509 -req -days 36500 -in server.csr -signkey dnscollector.key -out dnscollector.crt
|
125 |
| - mv dnscollector.key ./testsdata/ |
126 |
| - mv dnscollector.crt ./testsdata/ |
| 125 | + mv dnscollector.key ./tests/testsdata/ |
| 126 | + mv dnscollector.crt ./tests/testsdata/ |
127 | 127 |
|
128 | 128 | - name: Deploy coredns docker image
|
129 | 129 | run: |
|
130 |
| - sudo docker run -d --network="host" --name=coredns -v $PWD/testsdata/:$PWD/testsdata/ -v /tmp/:/tmp/ coredns/coredns:${{ matrix.coredns }} -conf $PWD/testsdata/coredns/coredns_${{ matrix.mode }}.conf |
| 130 | + sudo docker run -d --network="host" --name=coredns -v $PWD/tests/testsdata/:$PWD/tests/testsdata/ -v /tmp/:/tmp/ coredns/coredns:${{ matrix.coredns }} -conf $PWD/tests/testsdata/coredns/coredns_${{ matrix.mode }}.conf |
131 | 131 | until (dig -p 5553 www.github.com @127.0.0.1 | grep NOERROR); do sleep 5.0; done
|
132 | 132 |
|
133 | 133 | - name: Test ${{ matrix.mode }}
|
@@ -170,7 +170,7 @@ jobs:
|
170 | 170 |
|
171 | 171 | - name: Deploy dnsdist docker image
|
172 | 172 | run: |
|
173 |
| - sudo docker run -d --network="host" --name=dnsdist --volume=$PWD/testsdata/powerdns/dnsdist_${{ matrix.mode }}.conf:/etc/dnsdist/conf.d/dnsdist.conf:z -v /tmp/:/tmp/ powerdns/dnsdist-${{ matrix.dnsdist }} |
| 173 | + sudo docker run -d --network="host" --name=dnsdist --volume=$PWD/tests/testsdata/powerdns/dnsdist_${{ matrix.mode }}.conf:/etc/dnsdist/conf.d/dnsdist.conf:z -v /tmp/:/tmp/ powerdns/dnsdist-${{ matrix.dnsdist }} |
174 | 174 | until (dig -p 5553 www.github.com @127.0.0.1 | grep NOERROR); do sleep 5.0; done
|
175 | 175 |
|
176 | 176 | - name: Test ${{ matrix.mode }}
|
@@ -218,7 +218,7 @@ jobs:
|
218 | 218 |
|
219 | 219 | - name: Deploy dnsdist docker image
|
220 | 220 | run: |
|
221 |
| - sudo docker run -d --network="host" --name=dnsdist --volume=$PWD/testsdata/powerdns/dnsdist_dox.conf:/etc/dnsdist/conf.d/dnsdist.conf:z --volume=$PWD/server.key:/etc/dnsdist/conf.d/server.key:z --volume=$PWD/server.crt:/etc/dnsdist/conf.d/server.crt:z powerdns/dnsdist-${{ matrix.dnsdist }} |
| 221 | + sudo docker run -d --network="host" --name=dnsdist --volume=$PWD/tests/testsdata/powerdns/dnsdist_dox.conf:/etc/dnsdist/conf.d/dnsdist.conf:z --volume=$PWD/server.key:/etc/dnsdist/conf.d/server.key:z --volume=$PWD/server.crt:/etc/dnsdist/conf.d/server.crt:z powerdns/dnsdist-${{ matrix.dnsdist }} |
222 | 222 | until (dig -p 5553 www.github.com @127.0.0.1 | grep NOERROR); do sleep 5.0; done
|
223 | 223 |
|
224 | 224 | - name: Tests
|
|
0 commit comments