@@ -354,73 +354,73 @@ jobs:
354
354
- name : " Ensure that the integration test suite is compatible with Docker (flaky only)"
355
355
run : WITH_SUDO=true ./hack/test-integration.sh -test.target=docker -test.only-flaky
356
356
357
- test-integration-windows :
358
- timeout-minutes : 30
359
- name : windows
360
- runs-on : windows-2022
361
- defaults :
362
- run :
363
- shell : bash
364
- steps :
365
- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
366
- with :
367
- fetch-depth : 1
368
- - uses : actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
369
- with :
370
- go-version : ${{ env.GO_VERSION }}
371
- check-latest : true
372
- - run : go install ./cmd/nerdctl
373
- - run : go install -v gotest.tools/gotestsum@v1
374
- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
375
- with :
376
- repository : containerd/containerd
377
- ref : v1.7.25
378
- path : containerd
379
- fetch-depth : 1
380
- - name : " Set up CNI"
381
- working-directory : containerd
382
- run : GOPATH=$(go env GOPATH) script/setup/install-cni-windows
383
- - name : " Set up containerd"
384
- env :
385
- ctrdVersion : 1.7.25
386
- run : powershell hack/configure-windows-ci.ps1
387
- - name : " Run integration tests"
388
- run : ./hack/test-integration.sh -test.only-flaky=false
389
- - name : " Run integration tests (flaky)"
390
- run : ./hack/test-integration.sh -test.only-flaky=true
357
+ # test-integration-windows:
358
+ # timeout-minutes: 30
359
+ # name: windows
360
+ # runs-on: windows-2022
361
+ # defaults:
362
+ # run:
363
+ # shell: bash
364
+ # steps:
365
+ # - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
366
+ # with:
367
+ # fetch-depth: 1
368
+ # - uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
369
+ # with:
370
+ # go-version: ${{ env.GO_VERSION }}
371
+ # check-latest: true
372
+ # - run: go install ./cmd/nerdctl
373
+ # - run: go install -v gotest.tools/gotestsum@v1
374
+ # - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
375
+ # with:
376
+ # repository: containerd/containerd
377
+ # ref: v1.7.25
378
+ # path: containerd
379
+ # fetch-depth: 1
380
+ # - name: "Set up CNI"
381
+ # working-directory: containerd
382
+ # run: GOPATH=$(go env GOPATH) script/setup/install-cni-windows
383
+ # - name: "Set up containerd"
384
+ # env:
385
+ # ctrdVersion: 1.7.25
386
+ # run: powershell hack/configure-windows-ci.ps1
387
+ # - name: "Run integration tests"
388
+ # run: ./hack/test-integration.sh -test.only-flaky=false
389
+ # - name: "Run integration tests (flaky)"
390
+ # run: ./hack/test-integration.sh -test.only-flaky=true
391
391
392
- test-integration-freebsd :
393
- timeout-minutes : 30
394
- name : FreeBSD
395
- runs-on : ubuntu-24.04
396
- steps :
397
- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
398
- with :
399
- fetch-depth : 1
400
- - uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
401
- with :
402
- path : /root/.vagrant.d
403
- key : vagrant-${{ matrix.box }}
404
- - name : Set up vagrant
405
- run : |
406
- # from https://github.com/containerd/containerd/blob/v2.0.2/.github/workflows/ci.yml#L583-L596
407
- # which is based on https://github.com/opencontainers/runc/blob/v1.1.8/.cirrus.yml#L41-L49
408
- curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
409
- echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
410
- sudo sed -i 's/^Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/ubuntu.sources
411
- sudo apt-get update
412
- sudo apt-get install -y libvirt-daemon libvirt-daemon-system vagrant ovmf
413
- # https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1725#issuecomment-1454058646
414
- sudo cp /usr/share/OVMF/OVMF_VARS_4M.fd /var/lib/libvirt/qemu/nvram/
415
- sudo systemctl enable --now libvirtd
416
- sudo apt-get build-dep -y ruby-libvirt
417
- sudo apt-get install -y --no-install-recommends libxslt-dev libxml2-dev libvirt-dev ruby-bundler ruby-dev zlib1g-dev
418
- sudo vagrant plugin install vagrant-libvirt
419
- - name : Boot VM
420
- run : |
421
- ln -sf Vagrantfile.freebsd Vagrantfile
422
- sudo vagrant up --no-tty
423
- - name : test-unit
424
- run : sudo vagrant up --provision-with=test-unit
425
- - name : test-integration
426
- run : sudo vagrant up --provision-with=test-integration
392
+ # test-integration-freebsd:
393
+ # timeout-minutes: 30
394
+ # name: FreeBSD
395
+ # runs-on: ubuntu-24.04
396
+ # steps:
397
+ # - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
398
+ # with:
399
+ # fetch-depth: 1
400
+ # - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
401
+ # with:
402
+ # path: /root/.vagrant.d
403
+ # key: vagrant-${{ matrix.box }}
404
+ # - name: Set up vagrant
405
+ # run: |
406
+ # # from https://github.com/containerd/containerd/blob/v2.0.2/.github/workflows/ci.yml#L583-L596
407
+ # # which is based on https://github.com/opencontainers/runc/blob/v1.1.8/.cirrus.yml#L41-L49
408
+ # curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
409
+ # echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
410
+ # sudo sed -i 's/^Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/ubuntu.sources
411
+ # sudo apt-get update
412
+ # sudo apt-get install -y libvirt-daemon libvirt-daemon-system vagrant ovmf
413
+ # # https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1725#issuecomment-1454058646
414
+ # sudo cp /usr/share/OVMF/OVMF_VARS_4M.fd /var/lib/libvirt/qemu/nvram/
415
+ # sudo systemctl enable --now libvirtd
416
+ # sudo apt-get build-dep -y ruby-libvirt
417
+ # sudo apt-get install -y --no-install-recommends libxslt-dev libxml2-dev libvirt-dev ruby-bundler ruby-dev zlib1g-dev
418
+ # sudo vagrant plugin install vagrant-libvirt
419
+ # - name: Boot VM
420
+ # run: |
421
+ # ln -sf Vagrantfile.freebsd Vagrantfile
422
+ # sudo vagrant up --no-tty
423
+ # - name: test-unit
424
+ # run: sudo vagrant up --provision-with=test-unit
425
+ # - name: test-integration
426
+ # run: sudo vagrant up --provision-with=test-integration
0 commit comments