From e214bd0e1b409a7062bdaab27ff9121b052dd319 Mon Sep 17 00:00:00 2001 From: Louis Tu <92532497+tu1h@users.noreply.github.com> Date: Wed, 21 Jun 2023 17:45:39 +0800 Subject: [PATCH] clean up outdate os files (#10236) Signed-off-by: tu1h --- .../docker/vars/debian-stretch.yml | 45 ------------------ .../docker/vars/ubuntu-16.yml | 46 ------------------- .../roles/kubevirt-images/defaults/main.yml | 7 --- .../roles/packet-ci/defaults/main.yml | 1 - 4 files changed, 99 deletions(-) delete mode 100644 roles/container-engine/docker/vars/debian-stretch.yml delete mode 100644 roles/container-engine/docker/vars/ubuntu-16.yml diff --git a/roles/container-engine/docker/vars/debian-stretch.yml b/roles/container-engine/docker/vars/debian-stretch.yml deleted file mode 100644 index f26f60b1c..000000000 --- a/roles/container-engine/docker/vars/debian-stretch.yml +++ /dev/null @@ -1,45 +0,0 @@ ---- -# containerd versions are only relevant for docker -containerd_versioned_pkg: - 'latest': "{{ containerd_package }}" - '1.3.7': "{{ containerd_package }}=1.3.7-1" - '1.3.9': "{{ containerd_package }}=1.3.9-1" - '1.4.3': "{{ containerd_package }}=1.4.3-1" - 'stable': "{{ containerd_package }}=1.4.3-1" - 'edge': "{{ containerd_package }}=1.4.3-1" - -docker_version: 19.03 -docker_cli_version: 19.03 - -# https://download.docker.com/linux/debian/ -docker_versioned_pkg: - 'latest': docker-ce - '18.09': docker-ce=5:18.09.9~3-0~debian-{{ ansible_distribution_release|lower }} - '19.03': docker-ce=5:19.03.15~3-0~debian-{{ ansible_distribution_release|lower }} - 'stable': docker-ce=5:19.03.15~3-0~debian-{{ ansible_distribution_release|lower }} - 'edge': docker-ce=5:19.03.15~3-0~debian-{{ ansible_distribution_release|lower }} - -docker_cli_versioned_pkg: - 'latest': docker-ce-cli - '18.09': docker-ce-cli=5:18.09.9~3-0~debian-{{ ansible_distribution_release|lower }} - '19.03': docker-ce-cli=5:19.03.15~3-0~debian-{{ ansible_distribution_release|lower }} - 'stable': docker-ce-cli=5:19.03.15~3-0~debian-{{ ansible_distribution_release|lower }} - 'edge': docker-ce-cli=5:19.03.15~3-0~debian-{{ ansible_distribution_release|lower }} - -docker_package_info: - pkgs: - - "{{ containerd_versioned_pkg[docker_containerd_version | string] }}" - - "{{ docker_cli_versioned_pkg[docker_cli_version | string] }}" - - "{{ docker_versioned_pkg[docker_version | string] }}" - -docker_repo_key_info: - url: '{{ docker_debian_repo_gpgkey }}' - repo_keys: - - '{{ docker_debian_repo_repokey }}' - -docker_repo_info: - repos: - - > - deb {{ docker_debian_repo_base_url }} - {{ ansible_distribution_release|lower }} - stable diff --git a/roles/container-engine/docker/vars/ubuntu-16.yml b/roles/container-engine/docker/vars/ubuntu-16.yml deleted file mode 100644 index 78a6ceae4..000000000 --- a/roles/container-engine/docker/vars/ubuntu-16.yml +++ /dev/null @@ -1,46 +0,0 @@ ---- -# containerd versions are only relevant for docker -containerd_versioned_pkg: - 'latest': "{{ containerd_package }}" - '1.3.7': "{{ containerd_package }}=1.3.7-1" - '1.3.9': "{{ containerd_package }}=1.3.9-1" - '1.4.3': "{{ containerd_package }}=1.4.3-2" - '1.4.4': "{{ containerd_package }}=1.4.4-1" - '1.4.6': "{{ containerd_package }}=1.4.6-1" - 'stable': "{{ containerd_package }}=1.4.6-1" - 'edge': "{{ containerd_package }}=1.4.6-1" - -# https://download.docker.com/linux/ubuntu/ -docker_versioned_pkg: - 'latest': docker-ce - '18.09': docker-ce=5:18.09.9~3-0~ubuntu-{{ ansible_distribution_release|lower }} - '19.03': docker-ce=5:19.03.15~3-0~ubuntu-{{ ansible_distribution_release|lower }} - '20.10': docker-ce=5:20.10.7~3-0~ubuntu-{{ ansible_distribution_release|lower }} - 'stable': docker-ce=5:20.10.7~3-0~ubuntu-{{ ansible_distribution_release|lower }} - 'edge': docker-ce=5:20.10.7~3-0~ubuntu-{{ ansible_distribution_release|lower }} - -docker_cli_versioned_pkg: - 'latest': docker-ce-cli - '18.09': docker-ce-cli=5:18.09.9~3-0~ubuntu-{{ ansible_distribution_release|lower }} - '19.03': docker-ce-cli=5:19.03.15~3-0~ubuntu-{{ ansible_distribution_release|lower }} - '20.10': docker-ce-cli=5:20.10.7~3-0~ubuntu-{{ ansible_distribution_release|lower }} - 'stable': docker-ce-cli=5:20.10.7~3-0~ubuntu-{{ ansible_distribution_release|lower }} - 'edge': docker-ce-cli=5:20.10.7~3-0~ubuntu-{{ ansible_distribution_release|lower }} - -docker_package_info: - pkgs: - - "{{ containerd_versioned_pkg[docker_containerd_version | string] }}" - - "{{ docker_cli_versioned_pkg[docker_cli_version | string] }}" - - "{{ docker_versioned_pkg[docker_version | string] }}" - -docker_repo_key_info: - url: '{{ docker_ubuntu_repo_gpgkey }}' - repo_keys: - - '{{ docker_ubuntu_repo_repokey }}' - -docker_repo_info: - repos: - - > - deb [arch={{ host_architecture }}] {{ docker_ubuntu_repo_base_url }} - {{ ansible_distribution_release|lower }} - stable diff --git a/test-infra/image-builder/roles/kubevirt-images/defaults/main.yml b/test-infra/image-builder/roles/kubevirt-images/defaults/main.yml index 70cda4401..869934307 100644 --- a/test-infra/image-builder/roles/kubevirt-images/defaults/main.yml +++ b/test-infra/image-builder/roles/kubevirt-images/defaults/main.yml @@ -76,13 +76,6 @@ images: converted: true tag: "latest" - debian-9: - filename: debian-9-openstack-amd64.qcow2 - url: https://cdimage.debian.org/cdimage/openstack/current-9/debian-9-openstack-amd64.qcow2 - checksum: sha256:01d9345ba7a6523d214d2eaabe07fe7b4b69b28e63d7a6b322521e99e5768719 - converted: true - tag: "latest" - debian-10: filename: debian-10-openstack-amd64.qcow2 url: https://cdimage.debian.org/cdimage/openstack/current-10/debian-10-openstack-amd64.qcow2 diff --git a/tests/cloud_playbooks/roles/packet-ci/defaults/main.yml b/tests/cloud_playbooks/roles/packet-ci/defaults/main.yml index 8d51612e8..2e78a1f8a 100644 --- a/tests/cloud_playbooks/roles/packet-ci/defaults/main.yml +++ b/tests/cloud_playbooks/roles/packet-ci/defaults/main.yml @@ -28,7 +28,6 @@ cloud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