Merge branch 'master' into feature/add-ubuntu-iso-support #539
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
name: Scripts | |
on: | |
workflow_dispatch: | |
push: | |
branches-ignore: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
scripts: | |
name: test scripts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Test Environment | |
run: | | |
sudo /bin/bash ./test/environment_setup.sh | |
- name: Install Prerequisites | |
run: | | |
sudo /bin/bash ./scripts/dappnode_install_pre.sh UPDATE | |
- name: Install DAppNode | |
run: | | |
sudo /bin/bash ./scripts/dappnode_install.sh | |
- name: Show installation logs | |
run: | | |
cat /usr/src/dappnode/logs/install.log | |
cat /usr/src/dappnode/logs/dappnode_install.log | |
- name: Uninstall DAppNode | |
run: | | |
sudo /bin/bash ./scripts/dappnode_uninstall.sh y | |
iso: | |
name: test ISO | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: create iso | |
run: | | |
docker compose build | |
docker compose up | |
ls images/ | |
- name: verify image | |
run: | | |
ls -lrt images/Dappnode-*.iso |