Skip to content

Commit cb0181b

Browse files
author
Glenn Marcy
committed
chore: remove more unused artifacts
Signed-off-by: Glenn Marcy <[email protected]>
1 parent b3dd750 commit cb0181b

File tree

114 files changed

+520
-4543
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+520
-4543
lines changed

.github/workflows/docs_build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
154154
tasktag=task_prepare_cluster
155155
taskname=$(echo ${tasktag} | tr '_' '-')
156-
for distro in k8s kid; do
156+
for distro in k8s; do
157157
ansible-playbook-grapher -t ${tasktag} --skip-tags omit_from_grapher -e kubeinit_cluster_distro=${distro} -e kubeinit_cluster_distro_role=kubeinit_${distro} kubeinit/playbook.yml --include-role-tasks -o docs/src/static/playbook_${distro}_${tasktag} --save-dot-file
158158
sed -e ':again;$!N;$!b again; s/subgraph "Play #[12]:[^"]*"{[^}]*}//g' -e 's/"Play #3: [^"]*"/"'${taskname}'"/g' -e 's/shape=box/shape=octagon/g' -e 's/#[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]/#000000/g' -e 's/ style=filled / /' docs/src/static/playbook_${distro}_${tasktag}.dot | dot -Tsvg > docs/src/static/playbook_${distro}_${tasktag}.svg
159159
cat << EOF >> docs/src/playbook_diagrams.rst
@@ -198,7 +198,7 @@ jobs:
198198
199199
tasktag=task_deploy_cluster
200200
taskname=$(echo ${tasktag} | tr '_' '-')
201-
for distro in k8s kid; do
201+
for distro in k8s; do
202202
ansible-playbook-grapher -t ${tasktag} --skip-tags omit_from_grapher -e kubeinit_cluster_distro=${distro} -e kubeinit_cluster_distro_role=kubeinit_${distro} kubeinit/playbook.yml --include-role-tasks -o docs/src/static/playbook_${distro}_${tasktag} --save-dot-file
203203
sed -e ':again;$!N;$!b again; s/subgraph "Play #[12]:[^"]*"{[^}]*}//g' -e 's/"Play #3: [^"]*"/"'${taskname}'"/g' -e 's/shape=box/shape=octagon/g' -e 's/#[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]/#000000/g' -e 's/ style=filled / /' docs/src/static/playbook_${distro}_${tasktag}.dot | dot -Tsvg > docs/src/static/playbook_${distro}_${tasktag}.svg
204204
cat << EOF >> docs/src/playbook_diagrams.rst
@@ -241,8 +241,7 @@ jobs:
241241
242242
EOF
243243
244-
sed -e '/^juju-controller/d' \
245-
-e '/^hypervisor-04/d' \
244+
sed -e '/^hypervisor-04/d' \
246245
-e '/^\[controller_nodes\]$/ acontroller-01 target=hypervisor-01\ncontroller-02 target=hypervisor-02\ncontroller-03 target=hypervisor-03' \
247246
-e '/^\[compute_nodes\]$/ acompute-01 target=hypervisor-01\ncompute-02 target=hypervisor-02' \
248247
-e '/^service /s/ / target=hypervisor-01 /' \

ci/container_sync.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ declare -a container_images=(
5050
"library registry 2"
5151
"library httpd 2.4"
5252
"library debian 11"
53-
"library ubuntu focal"
53+
"library debian 12"
5454
"library ubuntu jammy"
55+
"library ubuntu noble"
5556
"internetsystemsconsortium bind9 9.18"
5657
"sonatype nexus3 3.30.0"
5758
"nginxinc nginx-unprivileged latest"

ci/kubeinit_ci_utils.py

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -339,15 +339,10 @@ def get_periodic_jobs_labels(cluster_type='all', distro='all'):
339339
"k8s-libvirt-1-1-1-h",
340340
"k8s-libvirt-1-0-1-h"]
341341

342-
kid_configs = ["kid-libvirt-3-1-1-h",
343-
"kid-libvirt-3-0-2-h",
344-
"kid-libvirt-1-1-1-h",
345-
"kid-libvirt-1-0-1-h"]
346-
347342
if re.match(r"([a-z|0-9|\.]+-[a-z]+-[1-9]-[0-9]-[1-9]-[c|h],?)+", distro):
348343
print("'kubeinit_ci_utils.py' ==> We are requesting specific job labels")
349344
req_labels = set(distro.split(","))
350-
all_labels = set(okd_configs + kid_configs + k8s_configs)
345+
all_labels = set(okd_configs + k8s_configs)
351346
if (req_labels.issubset(all_labels)):
352347
print("'kubeinit_ci_utils.py' ==> The requested labels are defined correctly")
353348
# We return the labels filtered by cluster_type, multinode or singlenode
@@ -360,15 +355,15 @@ def get_periodic_jobs_labels(cluster_type='all', distro='all'):
360355
elif distro == 'random':
361356
print("'kubeinit_ci_utils.py' ==> Returning 4 random scenarios to test")
362357
# If the distro parameter is random we return 4 random distros to test
363-
all_scenarios = okd_configs + kid_configs + k8s_configs
358+
all_scenarios = okd_configs + k8s_configs
364359
return_labels = random.sample(all_scenarios, 4)
365360
# We return the labels filtered by cluster_type, multinode or singlenode
366361
filtered_return = [lab for lab in return_labels if cluster_pattern.match(lab)]
367362
print("'kubeinit_ci_utils.py' ==> " + str(filtered_return))
368363
return filtered_return
369364
elif distro == "all":
370365
print("'kubeinit_ci_utils.py' ==> Appending all configs")
371-
return_labels = okd_configs + kid_configs + k8s_configs
366+
return_labels = okd_configs + k8s_configs
372367
# We return the labels filtered by cluster_type, multinode or singlenode
373368
filtered_return = [lab for lab in return_labels if cluster_pattern.match(lab)]
374369
print("'kubeinit_ci_utils.py' ==> " + str(filtered_return))
@@ -378,9 +373,6 @@ def get_periodic_jobs_labels(cluster_type='all', distro='all'):
378373
if 'okd' in distro and '.' not in distro:
379374
print("'kubeinit_ci_utils.py' ==> Appending OKD configs")
380375
configs = configs + okd_configs
381-
if 'kid' in distro and '.' not in distro:
382-
print("'kubeinit_ci_utils.py' ==> Appending KID configs")
383-
configs = configs + kid_configs
384376
if 'k8s' in distro and '.' not in distro:
385377
print("'kubeinit_ci_utils.py' ==> Appending K8S configs")
386378
configs = configs + k8s_configs

ci/launch_e2e.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,8 @@ def valid_labels_regex(arg_value, pat=re.compile(r"^all|random|([a-z|0-9|,|\.]+)
423423
#
424424
# launch_e2e.py --job_type=pr
425425
# launch_e2e.py --job_type=pr --pr_id=154
426-
# launch_e2e.py --job_type=periodic --job_label=eks-libvirt-3-0-1-h
427-
# launch_e2e.py --job_type=periodic --job_label=eks-libvirt-3-0-1-h,cdk-libvirt-1-0-1-h
426+
# launch_e2e.py --job_type=periodic --job_label=k8s-libvirt-3-0-1-h
427+
# launch_e2e.py --job_type=periodic --job_label=k8s-libvirt-3-0-1-h,okd-libvirt-1-0-1-h
428428
# launch_e2e.py --job_type=periodic --cluster_type=singlenode --job_label=random
429429
# launch_e2e.py --job_type=periodic --cluster_type=singlenode --job_label=all
430430
# launch_e2e.py --job_type=periodic --cluster_type=singlenode --job_label=okd
@@ -469,7 +469,7 @@ def valid_labels_regex(arg_value, pat=re.compile(r"^all|random|([a-z|0-9|,|\.]+)
469469

470470
if (args.job_label is not None and not re.match(r"([a-z|0-9|\.]+-[a-z]+-[1-9]-[0-9]-[1-9]-[c|h],?)+", args.job_label) and not re.match(r"([a-z|0-9|,|\.]+)?", args.job_label) and args.job_type != 'pr'):
471471
print("'launch_e2e.py' ==> The third argument must be [periodic|pr]")
472-
print("'launch_e2e.py' ==> periodic, can be periodic|periodic=okd,eks ...")
472+
print("'launch_e2e.py' ==> periodic, can be periodic|periodic=okd,k8s ...")
473473
print("'launch_e2e.py' ==> also the periodic job can trigger a specfic label like:")
474474
print("'launch_e2e.py' ==> periodic=okd-libvirt-3-1-1-h")
475475
sys.exit()

ci/launch_e2e.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -232,14 +232,6 @@ echo "(launch_e2e.sh) ==> Deploying the cluster ..."
232232
FAILED="0"
233233
KUBEINIT_SPEC=${KUBEINIT_SPEC//,/$'\n'}
234234

235-
# We enable having Windows compute nodes by default in the CI
236-
# for the k8s-1-1-1 spec scenario
237-
if [[ "$DISTRO" == "k8s" && "$MASTERS" == "1" && "$WORKERS" == "1" && "$HYPERVISORS" == "1" ]]; then
238-
# For enabling Windows deployments use the cluster_nodes_spec like
239-
# -e cluster_nodes_spec='[{"when_group":"compute_nodes","os":"windows"}]'
240-
CLUSTER_NODES='[{"when_group":"compute_nodes","os":"windows"}]'
241-
fi
242-
243235
# This conditional will never be true, this is kept as an example about
244236
# How to wire in extra roles and variables in a deployment
245237
if [[ "$DISTRO" == "okd" && "$MASTERS" == "1" && "$WORKERS" == "1" && "$HYPERVISORS" == "1" && "$HYPERVISORS" == "falsecondition" ]]; then

ci/render_periodic_jobs_page.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ def main():
4848

4949
if distro == 'okd':
5050
distro = "Origin Distribution of K8s"
51-
elif distro == 'kid':
52-
distro = "KubeInit distro"
53-
elif distro == 'k8s':
5451
distro = "Vanilla K8s"
5552
elif '.' in distro:
5653
distro = distro.upper().replace('.', '/')

kubeinit/galaxy.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ tags:
1616
- openshift
1717
- origin
1818
dependencies:
19-
ansible.netcommon: '==5.1.1'
2019
ansible.posix: '==1.5.4'
2120
ansible.utils: '==2.10.3'
22-
ansible.windows: '==1.14.0'
2321
community.crypto: '==2.13.1'
2422
community.general: '==7.0.1'
2523
community.libvirt: '==1.2.0'

kubeinit/group_vars/kubeinit_defaults.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,14 @@ default_network_name: kimgtnet0
1515
#
1616
cluster_node_configurations_docsplaceholder: 'we should have a cluster_node_configuration main key'
1717

18-
cluster_node_distro:
18+
cluster_node_default_distro:
1919
k8s:
2020
os: centos
21-
kid:
22-
os: debian
2321
ocp:
2422
os: coreos
2523
okd:
2624
os: coreos
2725

28-
cluster_node_os: "{{ hostvars['kubeinit-defaults'].cluster_node_distro[kubeinit_cluster_distro].os }}"
29-
3026
cluster_node_vcpus: 8
3127
cluster_node_maxvcpus: 16
3228

@@ -50,7 +46,7 @@ compute_node_target_order:
5046
# -e cluster_nodes_spec='[{"when_group":"controller_nodes","disk"="35G"}]'
5147
#
5248
default_cluster_nodes_map_list:
53-
- os: "{{ hostvars['kubeinit-defaults'].cluster_node_os }}"
49+
- os: "{{ hostvars['kubeinit-defaults'].cluster_node_default_distro[kubeinit_cluster_distro].os }}"
5450
- when_type: virtual
5551
vcpus: "{{ cluster_node_vcpus }}"
5652
maxvcpus: "{{ cluster_node_maxvcpus }}"
@@ -73,8 +69,6 @@ extra_node_maxvcpus: 16
7369
extra_node_disk_size: 20G
7470
extra_node_ram_size: 16777216
7571

76-
juju_controller_node_ram_size: 8388608
77-
7872
extra_node_target_order:
7973
- hypervisor-02
8074
- hypervisor-01
@@ -86,17 +80,13 @@ extra_node_target_order:
8680
# -e extra_nodes_spec='[{"name":"nova-compute","when_distro":["okd"],"os":"centos"}]'
8781
#
8882
default_extra_nodes_map_list:
89-
- os: "{{ hostvars['kubeinit-defaults'].cluster_node_os }}"
83+
- os: "{{ hostvars['kubeinit-defaults'].cluster_node_default_distro[kubeinit_cluster_distro].os }}"
9084
- when_type: virtual
9185
vcpus: "{{ cluster_node_vcpus }}"
9286
maxvcpus: "{{ cluster_node_maxvcpus }}"
9387
- disk: "{{ extra_node_disk_size }}"
9488
ram: "{{ extra_node_ram_size }}"
9589
target_order: "{{ extra_node_target_order }}"
96-
- when_distro:
97-
- cdk
98-
name: juju-controller
99-
ram: "{{ juju_controller_node_ram_size }}"
10090
- when_distro:
10191
- ocp
10292
- okd
@@ -120,7 +110,7 @@ service_node_target_order:
120110
# -e service_nodes_spec='[{"services":["apache","bind","dnsmasq"]}]'
121111
#
122112
default_service_nodes_map_list:
123-
- os: "{{ hostvars['kubeinit-defaults'].cluster_node_os }}"
113+
- os: "{{ hostvars['kubeinit-defaults'].cluster_node_default_distro[kubeinit_cluster_distro].os }}"
124114
services:
125115
- bind
126116
- dnsmasq

kubeinit/group_vars/kubeinit_facts.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,8 @@ distro_facts:
1010
k8s:
1111
name: 'Vanilla CNCF Kubernetes'
1212
role: kubeinit_k8s
13-
kid:
14-
name: 'Kubeinit distro (work-in-progress)'
15-
role: kubeinit_kid
1613
ocp:
17-
name: 'Openshift Container Platform'
14+
name: 'OpenShift Container Platform'
1815
role: kubeinit_openshift
1916
okd:
2017
name: 'Origin Distribution of Kubernetes'

kubeinit/playbook.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
hosts: localhost
1919
become: false
2020
gather_subset: "!all,network"
21-
gather_facts: true
21+
gather_facts: false
2222
pre_tasks:
2323
- name: Check if Ansible meets version requirements.
2424
tags: task_gather_facts
@@ -43,7 +43,7 @@
4343
hosts: kubeinit_hypervisors
4444
become: false
4545
gather_subset: "!all,network"
46-
gather_facts: true
46+
gather_facts: false
4747
tasks:
4848
- name: Skip play if playbook_terminated
4949
ansible.builtin.meta: end_play

0 commit comments

Comments
 (0)