From 101313f880ac560b312963fb95d726b9efbe4539 Mon Sep 17 00:00:00 2001 From: Techno Tim Date: Fri, 26 Jan 2024 10:19:42 -0600 Subject: [PATCH 1/5] feat(dependabot): Added docker docker and github actions (#422) --- .github/dependabot.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 53faada..29a02b6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,3 +9,18 @@ updates: ignore: - dependency-name: "*" update-types: ["version-update:semver-major"] + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + rebase-strategy: "auto" + + - package-ecosystem: "docker" + directory: "/" + schedule: + interval: "daily" + rebase-strategy: "auto" + ignore: + - dependency-name: "*" + update-types: ["version-update:semver-major"] From d910b83bf38ee4eb885c68c84df772c7f3bf5229 Mon Sep 17 00:00:00 2001 From: Techno Tim Date: Fri, 26 Jan 2024 11:16:26 -0600 Subject: [PATCH 2/5] fix(molecule): Cleanup all artifacts, side effects, and actions in case nodes are not ephemeral (#427) --- .github/workflows/test.yml | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f55bf48..4a9b436 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -63,6 +63,31 @@ jobs: PY_COLORS: 1 ANSIBLE_FORCE_COLOR: 1 + # these steps are necessary if not using ephemeral nodes + - name: Delete old Vagrant box versions + if: always() # do this even if a step before has failed + run: vagrant box prune --force + + - name: Remove all local Vagrant boxes + if: always() # do this even if a step before has failed + run: vagrant box list | cut -f 1 -d ' ' | xargs -L 1 vagrant box remove -f + + - name: Remove all Virtualbox VMs + if: always() # do this even if a step before has failed + run: VBoxManage list vms | awk -F'"' '{print $2}' | xargs -I {} VBoxManage unregistervm --delete "{}" + + - name: Remove all Virtualbox HDs + if: always() # do this even if a step before has failed + run: VBoxManage list hdds | awk -F':' '/^UUID:/ {print $2}' | xargs -I {} VBoxManage closemedium disk "{}" --delete + + - name: Remove all Virtualbox Networks + if: always() # do this even if a step before has failed + run: VBoxManage list hostonlyifs | grep '^Name:' | awk '{print $2}' | grep '^vboxnet' | xargs -I {} VBoxManage hostonlyif remove {} + + - name: Remove Virtualbox network config + if: always() # do this even if a step before has failed + run: sudo rm /etc/vbox/networks.conf + - name: Upload log files if: always() # do this even if a step before has failed uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # 3.1.1 @@ -70,7 +95,3 @@ jobs: name: logs path: | ${{ runner.temp }}/logs - - - name: Delete old box versions - if: always() # do this even if a step before has failed - run: vagrant box prune --force From cda7c92203b3605adb193825f8b11ed7b910bdf3 Mon Sep 17 00:00:00 2001 From: Techno Tim Date: Fri, 26 Jan 2024 12:54:58 -0600 Subject: [PATCH 3/5] feat(k3s): Updated to v1.27 (#294) * feat(k3s): Updated to v1.27.1+k3s1 * feat(k3s): Updated to v1.27.1+k3s1 * feat(k3s): Updated to v1.27.4+k3s1 * feat(k3s): Updated to v1.27.9+k3s1 --- inventory/sample/group_vars/all.yml | 2 +- molecule/default/molecule.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inventory/sample/group_vars/all.yml b/inventory/sample/group_vars/all.yml index caec205..4dbc3b9 100644 --- a/inventory/sample/group_vars/all.yml +++ b/inventory/sample/group_vars/all.yml @@ -1,5 +1,5 @@ --- -k3s_version: v1.26.12+k3s1 +k3s_version: v1.27.9+k3s1 # this is the user that has ssh access to these machines ansible_user: ansibleuser systemd_dir: /etc/systemd/system diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 491db8f..733edd1 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -22,7 +22,7 @@ platforms: ssh.password: "vagrant" - name: control2 - box: generic/debian11 + box: generic/debian12 memory: 1024 cpus: 2 groups: From a5728da35e47d6bb50e8ccb17b7109cca8cf2ba9 Mon Sep 17 00:00:00 2001 From: Techno Tim Date: Fri, 26 Jan 2024 13:10:21 -0600 Subject: [PATCH 4/5] feat(k3s): Updated to v1.28 (#420) * feat(k3s): Updated to v1.28.5+k3s1 --- inventory/sample/group_vars/all.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory/sample/group_vars/all.yml b/inventory/sample/group_vars/all.yml index 4dbc3b9..5ea5f58 100644 --- a/inventory/sample/group_vars/all.yml +++ b/inventory/sample/group_vars/all.yml @@ -1,5 +1,5 @@ --- -k3s_version: v1.27.9+k3s1 +k3s_version: v1.28.5+k3s1 # this is the user that has ssh access to these machines ansible_user: ansibleuser systemd_dir: /etc/systemd/system From 7b6b24ce4da6937209ef0fba34af046bcebfa951 Mon Sep 17 00:00:00 2001 From: Techno Tim Date: Fri, 26 Jan 2024 14:49:24 -0600 Subject: [PATCH 5/5] feat(k3s): Updated to v1.29.0+k3s1 (#421) --- inventory/sample/group_vars/all.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory/sample/group_vars/all.yml b/inventory/sample/group_vars/all.yml index 5ea5f58..bf96179 100644 --- a/inventory/sample/group_vars/all.yml +++ b/inventory/sample/group_vars/all.yml @@ -1,5 +1,5 @@ --- -k3s_version: v1.28.5+k3s1 +k3s_version: v1.29.0+k3s1 # this is the user that has ssh access to these machines ansible_user: ansibleuser systemd_dir: /etc/systemd/system