|
1 | 1 | name: Testinfra Integration Tests
|
2 | 2 |
|
3 | 3 | on:
|
4 |
| - pull_request: |
| 4 | + #pull_request: |
5 | 5 | workflow_dispatch:
|
6 | 6 |
|
7 | 7 | jobs:
|
8 |
| - test-all-in-one: |
9 |
| - strategy: |
10 |
| - matrix: |
11 |
| - include: |
12 |
| - - runner: [self-hosted, X64] |
13 |
| - arch: amd64 |
14 |
| - - runner: arm-runner |
15 |
| - arch: arm64 |
16 |
| - runs-on: ${{ matrix.runner }} |
17 |
| - timeout-minutes: 30 |
18 |
| - steps: |
19 |
| - - uses: actions/checkout@v3 |
20 |
| - |
21 |
| - - run: docker context create builders |
22 |
| - - uses: docker/setup-buildx-action@v3 |
23 |
| - with: |
24 |
| - endpoint: builders |
25 |
| - |
26 |
| - - name: Run aio integration tests |
27 |
| - run: | |
28 |
| - # TODO: use poetry for pkg mgmt |
29 |
| - pip3 install boto3 boto3-stubs[essential] docker ec2instanceconnectcli pytest pytest-testinfra[paramiko,docker] requests |
| 8 | + # test-all-in-one: |
| 9 | + # strategy: |
| 10 | + # matrix: |
| 11 | + # include: |
| 12 | + # - runner: [self-hosted, X64] |
| 13 | + # arch: amd64 |
| 14 | + # - runner: arm-runner |
| 15 | + # arch: arm64 |
| 16 | + # runs-on: ${{ matrix.runner }} |
| 17 | + # timeout-minutes: 30 |
| 18 | + # steps: |
| 19 | + # - uses: actions/checkout@v3 |
| 20 | + |
| 21 | + # - run: docker context create builders |
| 22 | + # - uses: docker/setup-buildx-action@v3 |
| 23 | + # with: |
| 24 | + # endpoint: builders |
| 25 | + |
| 26 | + # - name: Run aio integration tests |
| 27 | + # run: | |
| 28 | + # # TODO: use poetry for pkg mgmt |
| 29 | + # pip3 install boto3 boto3-stubs[essential] docker ec2instanceconnectcli pytest pytest-testinfra[paramiko,docker] requests |
30 | 30 |
|
31 | 31 |
|
32 |
| - if ! pytest -vv testinfra/test_all_in_one.py; then |
33 |
| - # display container logs if the test fails |
| 32 | + # if ! pytest -vv testinfra/test_all_in_one.py; then |
| 33 | + # # display container logs if the test fails |
34 | 34 |
|
35 |
| - if [ -f testinfra-aio-container-logs.log ]; then |
36 |
| - echo "AIO container logs:" |
37 |
| - cat testinfra-aio-container-logs.log |
38 |
| - fi |
39 |
| - exit 1 |
40 |
| - fi |
| 35 | + # if [ -f testinfra-aio-container-logs.log ]; then |
| 36 | + # echo "AIO container logs:" |
| 37 | + # cat testinfra-aio-container-logs.log |
| 38 | + # fi |
| 39 | + # exit 1 |
| 40 | + # fi |
41 | 41 |
|
42 | 42 | test-ami:
|
43 | 43 | strategy:
|
|
0 commit comments