-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
containerd: download containerd from upstream instead of using distro…
… specific packages (#7970) * Containerd: download containerd from upstream instead of using distro specific packages split runc download to separate role make bootstrap-os role deploy container-selinux and seccomp libraries clean up package manager provided containerd move variables to docker role that are no longer common with containerd * Containerd: make molecule testing more relevant * replace ubuntu18 with ubuntu20 * add centos8 and debian11 to molecule tests * run kubernetes/preinstall role to ensure relevancy of test including dependency packages * CI: adjust test scenarios for downloaded containerd
- Loading branch information
1 parent
10c30ea
commit ea8e2fc
Showing
55 changed files
with
396 additions
and
311 deletions.
There are no files selected for viewing
24 changes: 12 additions & 12 deletions
24
roles/container-engine/containerd-common/defaults/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
--- | ||
# We keep these variables around to allow migration from package | ||
# manager controlled installs to direct download ones. | ||
containerd_package: 'containerd.io' | ||
yum_repo_dir: /etc/yum.repos.d | ||
|
||
# Keep minimal repo information arround for cleanup | ||
containerd_repo_info: | ||
repos: | ||
|
||
# Fedora docker-ce repo | ||
docker_fedora_repo_base_url: 'https://download.docker.com/linux/fedora/{{ ansible_distribution_major_version }}/$basearch/stable' | ||
docker_fedora_repo_gpgkey: 'https://download.docker.com/linux/fedora/gpg' | ||
# CentOS/RedHat docker-ce repo | ||
docker_rh_repo_base_url: 'https://download.docker.com/linux/centos/{{ ansible_distribution_major_version }}/$basearch/stable' | ||
docker_rh_repo_gpgkey: 'https://download.docker.com/linux/centos/gpg' | ||
# Ubuntu docker-ce repo | ||
docker_ubuntu_repo_base_url: "https://download.docker.com/linux/ubuntu" | ||
docker_ubuntu_repo_gpgkey: 'https://download.docker.com/linux/ubuntu/gpg' | ||
docker_ubuntu_repo_repokey: '9DC858229FC7DD38854AE2D88D81803C0EBFCD88' | ||
containerd_ubuntu_repo_base_url: "https://download.docker.com/linux/ubuntu" | ||
containerd_ubuntu_repo_component: "stable" | ||
|
||
# Debian docker-ce repo | ||
docker_debian_repo_base_url: "https://download.docker.com/linux/debian" | ||
docker_debian_repo_gpgkey: 'https://download.docker.com/linux/debian/gpg' | ||
docker_debian_repo_repokey: '9DC858229FC7DD38854AE2D88D81803C0EBFCD88' | ||
containerd_debian_repo_base_url: "https://download.docker.com/linux/debian" | ||
containerd_debian_repo_component: "stable" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,2 @@ | ||
--- | ||
containerd_package: containerd | ||
containerd_versioned_pkg: | ||
'latest': "{{ containerd_package }}" | ||
'1.3.2': "{{ containerd_package }}-1.3.2-1.amzn{{ ansible_distribution_major_version }}" | ||
'1.4.1': "{{ containerd_package }}-1.4.1-2.amzn{{ ansible_distribution_major_version }}" | ||
'1.4.4': "{{ containerd_package }}-1.4.4-1.amzn{{ ansible_distribution_major_version }}" | ||
'1.4.6': "{{ containerd_package }}-1.4.6-1.amzn{{ ansible_distribution_major_version }}" | ||
'stable': "{{ containerd_package }}-1.4.6-1.amzn{{ ansible_distribution_major_version }}" | ||
'edge': "{{ containerd_package }}-1.4.6-1.amzn{{ ansible_distribution_major_version }}" |
10 changes: 0 additions & 10 deletions
10
roles/container-engine/containerd-common/vars/debian-stretch.yml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
containerd_package: containerd |
10 changes: 0 additions & 10 deletions
10
roles/container-engine/containerd-common/vars/ubuntu-16.yml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
--- | ||
dependencies: | ||
- role: container-engine/containerd-common | ||
- role: container-engine/runc | ||
- role: container-engine/crictl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 0 additions & 36 deletions
36
roles/container-engine/containerd/tasks/containerd_repo.yml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.