From 1117b3d44aa1cfbb0275ce5cced83ce96c54c1c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Thu, 29 Feb 2024 11:27:02 -0500 Subject: [PATCH] DEBUG --- .github/workflows/debug.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/debug.yml diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml new file mode 100644 index 00000000000..b900d4de24d --- /dev/null +++ b/.github/workflows/debug.yml @@ -0,0 +1,33 @@ +name: Dotfiles CI +on: + - push + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install incus + run: | + curl https://pkgs.zabbly.com/get/incus-stable | sudo sh -x + + - name: Check the firewall + run: | + sudo nft list ruleset + sudo iptables -L -n -v + sudo ip6tables -L -n -v + sudo iptables -t nat -L -n -v + sudo ip6tables -t nat -L -n -v + + - name: Init incus + run: sudo incus admin init --auto + + - name: Launch an arch container + run: sudo incus launch images:b0b987c75be9 archbox + + - name: Install ansible on arch + run: | + sleep 10 + sudo incus exec archbox -- pacman -S ansible --noconfirm