Skip to content

Commit 405a2ce

Browse files
committed
MEDIUM-sized GHA workflow (experiment)
1 parent d334026 commit 405a2ce

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: '"20 min" IIAB "MEDIUM" on Ubuntu 24.04 on x86-64'
2+
3+
on: [push, pull_request, workflow_dispatch]
4+
5+
jobs:
6+
test-install:
7+
runs-on: ubuntu-24.04
8+
steps:
9+
- name: Check out repository code
10+
uses: actions/checkout@v4
11+
with:
12+
fetch-depth: 0 # Default is 1, but iiab-summary (below) needs git tag history.
13+
- name: Set up /opt/iiab/iiab
14+
run: |
15+
mkdir /opt/iiab
16+
mv $GITHUB_WORKSPACE /opt/iiab
17+
# Github Actions is weird, do not delete the line below. Yes, it will cause everything to break. Really.
18+
mkdir $GITHUB_WORKSPACE
19+
- name: Set up /etc/iiab/local_vars.yml
20+
run: |
21+
sudo mkdir /etc/iiab
22+
sudo cp /opt/iiab/iiab/vars/local_vars_medium.yml /etc/iiab/local_vars.yml # local_vars_medium, so ~15 IIAB Apps are installed
23+
- run: sudo /opt/iiab/iiab/scripts/ansible # Install Ansible
24+
- run: sudo ./iiab-install # Install IIAB!
25+
working-directory: /opt/iiab/iiab
26+
- run: iiab-summary
27+
- run: diff /opt/iiab/iiab/.github/workflows/tests/expected_state_medium.yml /etc/iiab/iiab_state.yml --color # Final validation
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# DO *NOT* MANUALLY EDIT THIS, THANKS!
2+
# IIAB does NOT currently support uninstalling apps/services.
3+
4+
sshd_installed: True
5+
tailscale_installed: True
6+
remoteit_installed: True
7+
iiab_admin_installed: True
8+
network_installed: True
9+
nginx_installed: True
10+
www_base_installed: True
11+
pylibs_installed: True
12+
usb_lib_installed: True
13+
www_options_installed: True
14+
mysql_installed: True
15+
nextcloud_installed: True
16+
wordpress_installed: True
17+
kolibri_installed: True
18+
kiwix_installed: True
19+
osm_vector_maps_installed: True
20+
mongodb_installed: True
21+
nodejs_installed: True
22+
sugarizer_installed: True
23+
awstats_installed: True
24+
matomo_installed: True
25+
captiveportal_installed: True
26+
calibreweb_installed: True

0 commit comments

Comments
 (0)