Skip to content

Commit ec9fa00

Browse files
committed
remove unwanted tests temporarily
Signed-off-by: Arjun Raja Yogidas <[email protected]>
1 parent 92cf92a commit ec9fa00

File tree

1 file changed

+125
-125
lines changed

1 file changed

+125
-125
lines changed

.github/workflows/test.yml

+125-125
Original file line numberDiff line numberDiff line change
@@ -158,66 +158,66 @@ jobs:
158158
- name: "Run integration tests (flaky)"
159159
run: docker run -t --rm --privileged test-integration ./hack/test-integration.sh -test.only-flaky=true
160160

161-
test-integration-ipv6:
162-
needs: build-dependencies
163-
timeout-minutes: 10
164-
name: ipv6 | ${{ matrix.containerd }} | ${{ matrix.ubuntu }}
165-
runs-on: "ubuntu-${{ matrix.ubuntu }}"
166-
strategy:
167-
fail-fast: false
168-
matrix:
169-
include:
170-
- ubuntu: 24.04
171-
containerd: v2.0.0
172-
arch: amd64
173-
env:
174-
CONTAINERD_VERSION: "${{ matrix.containerd }}"
175-
ARCH: "${{ matrix.arch }}"
176-
UBUNTU_VERSION: "${{ matrix.ubuntu }}"
177-
steps:
178-
- uses: actions/[email protected]
179-
with:
180-
fetch-depth: 1
181-
- name: Enable ipv4 and ipv6 forwarding
182-
run: |
183-
sudo sysctl -w net.ipv6.conf.all.forwarding=1
184-
sudo sysctl -w net.ipv4.ip_forward=1
185-
- name: "Expose GitHub Runtime variables for gha"
186-
uses: crazy-max/ghaction-github-runtime@v3
187-
- name: Enable IPv6 for Docker, and configure docker to use containerd for gha
188-
run: |
189-
sudo mkdir -p /etc/docker
190-
echo '{"ipv6": true, "fixed-cidr-v6": "2001:db8:1::/64", "experimental": true, "ip6tables": true}' | sudo tee /etc/docker/daemon.json
191-
sudo systemctl restart docker
192-
- name: "Prepare integration test environment"
193-
run: |
194-
docker buildx create --name with-gha --use
195-
docker buildx build \
196-
--output=type=docker \
197-
--cache-from type=gha,scope=${ARCH}-${CONTAINERD_VERSION} \
198-
-t test-integration --target test-integration --build-arg UBUNTU_VERSION=${UBUNTU_VERSION} --build-arg CONTAINERD_VERSION=${CONTAINERD_VERSION} .
199-
- name: "Remove snap loopback devices (conflicts with our loopback devices in TestRunDevice)"
200-
run: |
201-
sudo systemctl disable --now snapd.service snapd.socket
202-
sudo apt-get purge -y snapd
203-
sudo losetup -Dv
204-
sudo losetup -lv
205-
- name: "Register QEMU (tonistiigi/binfmt)"
206-
run: |
207-
# `--install all` will only install emulation for architectures that cannot be natively executed
208-
# Since some arm64 platforms do provide native fallback execution for 32 bits,
209-
# armv7 emulation may or may not be installed, causing variance in the result of `uname -m`.
210-
# To avoid that, we explicitly list the architectures we do want emulation for.
211-
docker run --privileged --rm tonistiigi/binfmt --install linux/amd64
212-
docker run --privileged --rm tonistiigi/binfmt --install linux/arm64
213-
docker run --privileged --rm tonistiigi/binfmt --install linux/arm/v7
214-
- name: "Run integration tests"
215-
# The nested IPv6 network inside docker and qemu is complex and needs a bunch of sysctl config.
216-
# Therefore, it's hard to debug why the IPv6 tests fail in such an isolation layer.
217-
# On the other side, using the host network is easier at configuration.
218-
# Besides, each job is running on a different instance, which means using host network here
219-
# is safe and has no side effects on others.
220-
run: docker run --network host -t --rm --privileged test-integration ./hack/test-integration.sh -test.only-ipv6
161+
# test-integration-ipv6:
162+
# needs: build-dependencies
163+
# timeout-minutes: 10
164+
# name: ipv6 | ${{ matrix.containerd }} | ${{ matrix.ubuntu }}
165+
# runs-on: "ubuntu-${{ matrix.ubuntu }}"
166+
# strategy:
167+
# fail-fast: false
168+
# matrix:
169+
# include:
170+
# - ubuntu: 24.04
171+
# containerd: v2.0.0
172+
# arch: amd64
173+
# env:
174+
# CONTAINERD_VERSION: "${{ matrix.containerd }}"
175+
# ARCH: "${{ matrix.arch }}"
176+
# UBUNTU_VERSION: "${{ matrix.ubuntu }}"
177+
# steps:
178+
# - uses: actions/[email protected]
179+
# with:
180+
# fetch-depth: 1
181+
# - name: Enable ipv4 and ipv6 forwarding
182+
# run: |
183+
# sudo sysctl -w net.ipv6.conf.all.forwarding=1
184+
# sudo sysctl -w net.ipv4.ip_forward=1
185+
# - name: "Expose GitHub Runtime variables for gha"
186+
# uses: crazy-max/ghaction-github-runtime@v3
187+
# - name: Enable IPv6 for Docker, and configure docker to use containerd for gha
188+
# run: |
189+
# sudo mkdir -p /etc/docker
190+
# echo '{"ipv6": true, "fixed-cidr-v6": "2001:db8:1::/64", "experimental": true, "ip6tables": true}' | sudo tee /etc/docker/daemon.json
191+
# sudo systemctl restart docker
192+
# - name: "Prepare integration test environment"
193+
# run: |
194+
# docker buildx create --name with-gha --use
195+
# docker buildx build \
196+
# --output=type=docker \
197+
# --cache-from type=gha,scope=${ARCH}-${CONTAINERD_VERSION} \
198+
# -t test-integration --target test-integration --build-arg UBUNTU_VERSION=${UBUNTU_VERSION} --build-arg CONTAINERD_VERSION=${CONTAINERD_VERSION} .
199+
# - name: "Remove snap loopback devices (conflicts with our loopback devices in TestRunDevice)"
200+
# run: |
201+
# sudo systemctl disable --now snapd.service snapd.socket
202+
# sudo apt-get purge -y snapd
203+
# sudo losetup -Dv
204+
# sudo losetup -lv
205+
# - name: "Register QEMU (tonistiigi/binfmt)"
206+
# run: |
207+
# # `--install all` will only install emulation for architectures that cannot be natively executed
208+
# # Since some arm64 platforms do provide native fallback execution for 32 bits,
209+
# # armv7 emulation may or may not be installed, causing variance in the result of `uname -m`.
210+
# # To avoid that, we explicitly list the architectures we do want emulation for.
211+
# docker run --privileged --rm tonistiigi/binfmt --install linux/amd64
212+
# docker run --privileged --rm tonistiigi/binfmt --install linux/arm64
213+
# docker run --privileged --rm tonistiigi/binfmt --install linux/arm/v7
214+
# - name: "Run integration tests"
215+
# # The nested IPv6 network inside docker and qemu is complex and needs a bunch of sysctl config.
216+
# # Therefore, it's hard to debug why the IPv6 tests fail in such an isolation layer.
217+
# # On the other side, using the host network is easier at configuration.
218+
# # Besides, each job is running on a different instance, which means using host network here
219+
# # is safe and has no side effects on others.
220+
# run: docker run --network host -t --rm --privileged test-integration ./hack/test-integration.sh -test.only-ipv6
221221

222222
test-integration-rootless:
223223
needs: build-dependencies
@@ -350,72 +350,72 @@ jobs:
350350
run: |
351351
sudo apt-get install -y expect
352352
go install -v gotest.tools/gotestsum@v1
353-
- name: "Ensure that the integration test suite is compatible with Docker"
354-
run: WITH_SUDO=true ./hack/test-integration.sh -test.target=docker
355-
- name: "Ensure that the IPv6 integration test suite is compatible with Docker"
356-
run: WITH_SUDO=true ./hack/test-integration.sh -test.target=docker -test.only-ipv6
353+
# - name: "Ensure that the integration test suite is compatible with Docker"
354+
# run: WITH_SUDO=true ./hack/test-integration.sh -test.target=docker
355+
# - name: "Ensure that the IPv6 integration test suite is compatible with Docker"
356+
# run: WITH_SUDO=true ./hack/test-integration.sh -test.target=docker -test.only-ipv6
357357
- name: "Ensure that the integration test suite is compatible with Docker (flaky only)"
358358
run: WITH_SUDO=true ./hack/test-integration.sh -test.target=docker -test.only-flaky
359359

360-
test-integration-windows:
361-
timeout-minutes: 30
362-
name: windows
363-
runs-on: windows-2022
364-
defaults:
365-
run:
366-
shell: bash
367-
steps:
368-
- uses: actions/[email protected]
369-
with:
370-
fetch-depth: 1
371-
- uses: actions/setup-go@v5
372-
with:
373-
go-version: ${{ env.GO_VERSION }}
374-
cache: true
375-
check-latest: true
376-
- run: go install ./cmd/nerdctl
377-
- run: go install -v gotest.tools/gotestsum@v1
378-
- uses: actions/[email protected]
379-
with:
380-
repository: containerd/containerd
381-
ref: v1.7.24
382-
path: containerd
383-
fetch-depth: 1
384-
- name: "Set up CNI"
385-
working-directory: containerd
386-
run: GOPATH=$(go env GOPATH) script/setup/install-cni-windows
387-
- name: "Set up containerd"
388-
env:
389-
ctrdVersion: 1.7.24
390-
run: powershell hack/configure-windows-ci.ps1
391-
- name: "Run integration tests"
392-
run: ./hack/test-integration.sh -test.only-flaky=false
393-
- name: "Run integration tests (flaky)"
394-
run: ./hack/test-integration.sh -test.only-flaky=true
360+
# test-integration-windows:
361+
# timeout-minutes: 30
362+
# name: windows
363+
# runs-on: windows-2022
364+
# defaults:
365+
# run:
366+
# shell: bash
367+
# steps:
368+
# - uses: actions/[email protected]
369+
# with:
370+
# fetch-depth: 1
371+
# - uses: actions/setup-go@v5
372+
# with:
373+
# go-version: ${{ env.GO_VERSION }}
374+
# cache: true
375+
# check-latest: true
376+
# - run: go install ./cmd/nerdctl
377+
# - run: go install -v gotest.tools/gotestsum@v1
378+
# - uses: actions/[email protected]
379+
# with:
380+
# repository: containerd/containerd
381+
# ref: v1.7.24
382+
# path: containerd
383+
# fetch-depth: 1
384+
# - name: "Set up CNI"
385+
# working-directory: containerd
386+
# run: GOPATH=$(go env GOPATH) script/setup/install-cni-windows
387+
# - name: "Set up containerd"
388+
# env:
389+
# ctrdVersion: 1.7.24
390+
# run: powershell hack/configure-windows-ci.ps1
391+
# - name: "Run integration tests"
392+
# run: ./hack/test-integration.sh -test.only-flaky=false
393+
# - name: "Run integration tests (flaky)"
394+
# run: ./hack/test-integration.sh -test.only-flaky=true
395395

396-
test-integration-freebsd:
397-
timeout-minutes: 30
398-
name: FreeBSD
399-
# ubuntu-24.04 lacks the vagrant package
400-
runs-on: ubuntu-22.04
401-
steps:
402-
- uses: actions/[email protected]
403-
with:
404-
fetch-depth: 1
405-
- uses: actions/cache@v4
406-
with:
407-
path: /root/.vagrant.d
408-
key: vagrant-${{ matrix.box }}
409-
- name: Set up vagrant
410-
run: |
411-
sudo apt-get update
412-
sudo apt-get install -y libvirt-daemon libvirt-daemon-system vagrant vagrant-libvirt
413-
sudo systemctl enable --now libvirtd
414-
- name: Boot VM
415-
run: |
416-
ln -sf Vagrantfile.freebsd Vagrantfile
417-
sudo vagrant up --no-tty
418-
- name: test-unit
419-
run: sudo vagrant up --provision-with=test-unit
420-
- name: test-integration
421-
run: sudo vagrant up --provision-with=test-integration
396+
# test-integration-freebsd:
397+
# timeout-minutes: 30
398+
# name: FreeBSD
399+
# # ubuntu-24.04 lacks the vagrant package
400+
# runs-on: ubuntu-22.04
401+
# steps:
402+
# - uses: actions/[email protected]
403+
# with:
404+
# fetch-depth: 1
405+
# - uses: actions/cache@v4
406+
# with:
407+
# path: /root/.vagrant.d
408+
# key: vagrant-${{ matrix.box }}
409+
# - name: Set up vagrant
410+
# run: |
411+
# sudo apt-get update
412+
# sudo apt-get install -y libvirt-daemon libvirt-daemon-system vagrant vagrant-libvirt
413+
# sudo systemctl enable --now libvirtd
414+
# - name: Boot VM
415+
# run: |
416+
# ln -sf Vagrantfile.freebsd Vagrantfile
417+
# sudo vagrant up --no-tty
418+
# - name: test-unit
419+
# run: sudo vagrant up --provision-with=test-unit
420+
# - name: test-integration
421+
# run: sudo vagrant up --provision-with=test-integration

0 commit comments

Comments
 (0)