-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |