forked from kubernetes-sigs/kubespray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Debian 12(bookworm) support and CI (kubernetes-sigs#10221)
Signed-off-by: tu1h <[email protected]>
- Loading branch information
1 parent
c56316b
commit 04d1524
Showing
8 changed files
with
87 additions
and
1 deletion.
There are no files selected for viewing
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
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,48 @@ | ||
--- | ||
docker_version: 24.0 | ||
docker_cli_version: 24.0 | ||
docker_containerd_version: 1.6.21 | ||
|
||
# containerd package info is only relevant for docker | ||
containerd_versioned_pkg: | ||
'latest': "{{ containerd_package }}" | ||
'1.6.16': "{{ containerd_package }}=1.6.16-1" | ||
'1.6.18': "{{ containerd_package }}=1.6.18-1" | ||
'1.6.19': "{{ containerd_package }}=1.6.19-1" | ||
'1.6.20': "{{ containerd_package }}=1.6.20-1" | ||
'1.6.21': "{{ containerd_package }}=1.6.21-1" | ||
'stable': "{{ containerd_package }}=1.6.21-1" | ||
'edge': "{{ containerd_package }}=1.6.21-1" | ||
|
||
# https://download.docker.com/linux/debian/ | ||
docker_versioned_pkg: | ||
'latest': docker-ce | ||
'23.0': docker-ce=5:23.0.6-1~debian.{{ ansible_distribution_major_version }}~{{ ansible_distribution_release|lower }} | ||
'24.0': docker-ce=5:24.0.2-1~debian.{{ ansible_distribution_major_version }}~{{ ansible_distribution_release|lower }} | ||
'stable': docker-ce=5:24.0.2-1~debian.{{ ansible_distribution_major_version }}~{{ ansible_distribution_release|lower }} | ||
'edge': docker-ce=5:24.0.2-1~debian.{{ ansible_distribution_major_version }}~{{ ansible_distribution_release|lower }} | ||
|
||
docker_cli_versioned_pkg: | ||
'latest': docker-ce-cli | ||
'23.0': docker-ce=5:23.0.6-1~debian.{{ ansible_distribution_major_version }}~{{ ansible_distribution_release|lower }} | ||
'24.0': docker-ce=5:24.0.2-1~debian.{{ ansible_distribution_major_version }}~{{ ansible_distribution_release|lower }} | ||
'stable': docker-ce=5:24.0.2-1~debian.{{ ansible_distribution_major_version }}~{{ ansible_distribution_release|lower }} | ||
'edge': docker-ce=5:24.0.2-1~debian.{{ ansible_distribution_major_version }}~{{ 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 |
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,11 @@ | ||
--- | ||
required_pkgs: | ||
- python3-apt | ||
- gnupg | ||
- apt-transport-https | ||
- software-properties-common | ||
- conntrack | ||
- iptables | ||
- apparmor | ||
- libseccomp2 | ||
- mergerfs |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
# Instance settings | ||
cloud_image: debian-12 | ||
mode: default |
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,9 @@ | ||
--- | ||
# Instance settings | ||
cloud_image: debian-12 | ||
mode: default | ||
|
||
# Use docker | ||
container_manager: docker | ||
etcd_deployment_type: docker | ||
resolvconf_mode: docker_dns |