|
50 | 50 | "mcr.microsoft.com/devcontainers/base:debian", |
51 | 51 | "mcr.microsoft.com/devcontainers/base:noble" |
52 | 52 | ] |
| 53 | + exclude: |
| 54 | + - features: oryx |
| 55 | + baseImage: ubuntu:jammy |
| 56 | + - features: oryx |
| 57 | + baseImage: mcr.microsoft.com/devcontainers/base:ubuntu |
| 58 | + - features: docker-in-docker |
| 59 | + baseImage: mcr.microsoft.com/devcontainers/base:debian |
| 60 | + - features: docker-outside-of-docker |
| 61 | + baseImage: mcr.microsoft.com/devcontainers/base:debian |
| 62 | + - features: docker-in-docker |
| 63 | + baseImage: mcr.microsoft.com/devcontainers/base:ubuntu |
| 64 | + - features: docker-outside-of-docker |
| 65 | + baseImage: mcr.microsoft.com/devcontainers/base:ubuntu |
53 | 66 | steps: |
54 | 67 | - uses: actions/checkout@v7 |
55 | 68 |
|
@@ -100,6 +113,15 @@ jobs: |
100 | 113 | - name: "Install latest devcontainer CLI" |
101 | 114 | run: npm install -g @devcontainers/cli |
102 | 115 |
|
| 116 | + - name: "Exclude iptables-isolation scenarios from docker-in-docker (run in separate 'iptables-isolation' job)" |
| 117 | + if: matrix.features == 'docker-in-docker' |
| 118 | + run: | |
| 119 | + sudo apt-get update && sudo apt-get install -y jq |
| 120 | + sed 's://.*$::' test/docker-in-docker/scenarios.json \ |
| 121 | + | jq 'del(.docker_with_default_iptables, .docker_with_default_iptables_ubuntu)' \ |
| 122 | + > test/docker-in-docker/scenarios.json.tmp |
| 123 | + mv test/docker-in-docker/scenarios.json.tmp test/docker-in-docker/scenarios.json |
| 124 | +
|
103 | 125 | - name: "Testing '${{ matrix.features }}' scenarios" |
104 | 126 | run: devcontainer features test -f ${{ matrix.features }} --skip-autogenerated . |
105 | 127 |
|
|
0 commit comments