Skip to content

Commit

Permalink
feat: deprecate unused distros and overall cleanup
Browse files Browse the repository at this point in the history
This commit removes all the code
that was not used in the previous 2y.
Including rke, cdk, and eks.
There is still more to be cleaned up,
like the libvirt Windows server guests.
  • Loading branch information
ccamacho committed Jul 25, 2024
1 parent 04d2625 commit 67fa1e2
Show file tree
Hide file tree
Showing 180 changed files with 7 additions and 10,017 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/distro_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
-v \
--user root \
-e hypervisor_hosts_spec="[{'host':'hypervisor-01','ansible_host':'nyctea','ssh_hostname':$(hostname)}]" \
-e kubeinit_spec=cdk-libvirt-1-0-1-c \
-e kubeinit_spec=k8s-libvirt-1-0-1-c \
-e kubeinit_stop_after_task='task-create-network' \
-e kubeinit_libvirt_create_cloud_user=true \
-e kubeinit_hosted_deployment=true \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ jobs:
tasktag=task_prepare_cluster
taskname=$(echo ${tasktag} | tr '_' '-')
for distro in cdk eks k8s kid rke; do
for distro in k8s kid; do
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
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
cat << EOF >> docs/src/playbook_diagrams.rst
Expand Down Expand Up @@ -198,7 +198,7 @@ jobs:
tasktag=task_deploy_cluster
taskname=$(echo ${tasktag} | tr '_' '-')
for distro in cdk eks k8s kid rke; do
for distro in k8s kid; do
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
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
cat << EOF >> docs/src/playbook_diagrams.rst
Expand Down
7 changes: 0 additions & 7 deletions agent/MANIFEST.in

This file was deleted.

21 changes: 0 additions & 21 deletions agent/kubeinit/__init__.py

This file was deleted.

147 changes: 0 additions & 147 deletions agent/kubeinit/cli.py

This file was deleted.

26 changes: 0 additions & 26 deletions agent/kubeinit/const.py

This file was deleted.

42 changes: 0 additions & 42 deletions agent/kubeinit/get_banner.py

This file was deleted.

41 changes: 0 additions & 41 deletions agent/kubeinit/lib.py

This file was deleted.

64 changes: 0 additions & 64 deletions agent/kubeinit/logger.py

This file was deleted.

14 changes: 0 additions & 14 deletions agent/requirements.txt

This file was deleted.

Loading

0 comments on commit 67fa1e2

Please sign in to comment.