From f9166aa53e85cd7d925588f7bed6a4d7ca9374b6 Mon Sep 17 00:00:00 2001 From: Wei Fu Date: Mon, 5 Sep 2022 23:42:54 +0800 Subject: [PATCH] .zuul: remove the zuul because it is offline The [Openlab][1] has deprecated zuul jobs. We don't see any active the zuul jobs in PR. Remove it and we need to seek new solution for ARM64 CI test. [1]: Signed-off-by: Wei Fu --- .../containerd-build/integration-test.yaml | 96 ------------------- .zuul/playbooks/containerd-build/run.yaml | 22 ----- .../playbooks/containerd-build/unit-test.yaml | 20 ---- 3 files changed, 138 deletions(-) delete mode 100644 .zuul/playbooks/containerd-build/integration-test.yaml delete mode 100644 .zuul/playbooks/containerd-build/run.yaml delete mode 100644 .zuul/playbooks/containerd-build/unit-test.yaml diff --git a/.zuul/playbooks/containerd-build/integration-test.yaml b/.zuul/playbooks/containerd-build/integration-test.yaml deleted file mode 100644 index 09f40a4f8..000000000 --- a/.zuul/playbooks/containerd-build/integration-test.yaml +++ /dev/null @@ -1,96 +0,0 @@ -- hosts: all - become: yes - roles: - - role: config-golang - go_version: '1.19' - arch: arm64 - tasks: - - name: Install pre-requisites - shell: - cmd: | - set -xe - set -o pipefail - apt-get update - apt-get install -y btrfs-tools libseccomp-dev git pkg-config lsof gperf apparmor xfsprogs - - go version - chdir: '{{ zuul.project.src_dir }}' - executable: /bin/bash - environment: '{{ global_env }}' - - name: Install containerd and cri dependencies - shell: - cmd: | - set -xe - make install-deps - chdir: '{{ zuul.project.src_dir }}' - executable: /bin/bash - environment: '{{ global_env }}' - - name: Install criu - shell: - cmd: | - set -xe - apt-get install -y \ - libprotobuf-dev \ - libprotobuf-c-dev \ - protobuf-c-compiler \ - protobuf-compiler \ - python-protobuf \ - libnl-3-dev \ - libnet-dev \ - libcap-dev \ - python-future - wget https://github.com/checkpoint-restore/criu/archive/v3.13.tar.gz -O criu.tar.gz - tar -zxf criu.tar.gz - cd criu-3.13 - make install-criu - chdir: '{{ zuul.project.src_dir }}' - executable: /bin/bash - environment: '{{ global_env }}' - - name: Install containerd - shell: - cmd: | - set -xe - make binaries - make install | tee $LOGS_PATH/make_install.log - chdir: '{{ zuul.project.src_dir }}' - executable: /bin/bash - environment: '{{ global_env }}' - - name: Tests - shell: - cmd: | - make test | tee $LOGS_PATH/make_test.log - make root-test | tee $LOGS_PATH/make_root-test.log - chdir: '{{ zuul.project.src_dir }}' - executable: /bin/bash - environment: '{{ global_env }}' - - name: Integration 1 - shell: - cmd: | - make integration EXTRA_TESTFLAGS=-no-criu TESTFLAGS_RACE=-race | tee $LOGS_PATH/make_integration-test.log - chdir: '{{ zuul.project.src_dir }}' - executable: /bin/bash - environment: '{{ global_env }}' - - name: Integration 2 - shell: - cmd: | - TESTFLAGS_PARALLEL=1 make integration EXTRA_TESTFLAGS=-no-criu | tee $LOGS_PATH/make_integration-test.log - chdir: '{{ zuul.project.src_dir }}' - executable: /bin/bash - environment: '{{ global_env }}' - - name: CRI Integration Test - shell: - cmd: | - CONTAINERD_RUNTIME="io.containerd.runc.v2" make cri-integration | tee $LOGS_PATH/make_cri-integration-test.log - chdir: '{{ zuul.project.src_dir }}' - executable: /bin/bash - environment: '{{ global_env }}' - - name: CRI Integration Test - shell: - cmd: | - if grep -q "FAIL:" $LOGS_PATH/*.log; then - echo "FAILURE" - exit 1 - fi - chdir: '{{ zuul.project.src_dir }}' - executable: /bin/bash - environment: '{{ global_env }}' diff --git a/.zuul/playbooks/containerd-build/run.yaml b/.zuul/playbooks/containerd-build/run.yaml deleted file mode 100644 index 656def855..000000000 --- a/.zuul/playbooks/containerd-build/run.yaml +++ /dev/null @@ -1,22 +0,0 @@ -- hosts: all - become: yes - roles: - - role: config-golang - go_version: '1.19' - arch: arm64 - tasks: - - name: Build containerd - shell: - cmd: | - set -xe - set -o pipefail - apt-get update - apt-get install -y btrfs-tools libseccomp-dev git pkg-config - - go version - make | tee $LOGS_PATH/make.txt - - cp -r ./bin $RESULTS_PATH - chdir: '{{ zuul.project.src_dir }}' - executable: /bin/bash - environment: '{{ global_env }}' diff --git a/.zuul/playbooks/containerd-build/unit-test.yaml b/.zuul/playbooks/containerd-build/unit-test.yaml deleted file mode 100644 index 0d5068af1..000000000 --- a/.zuul/playbooks/containerd-build/unit-test.yaml +++ /dev/null @@ -1,20 +0,0 @@ -- hosts: all - become: yes - roles: - - role: config-golang - go_version: '1.19' - arch: arm64 - tasks: - - name: Build and test containerd - shell: - cmd: | - set -xe - set -o pipefail - apt-get update - apt-get install -y btrfs-tools libseccomp-dev git pkg-config - - go version - make build test | tee $LOGS_PATH/make_test.txt - chdir: '{{ zuul.project.src_dir }}' - executable: /bin/bash - environment: '{{ global_env }}'