-
Notifications
You must be signed in to change notification settings - Fork 104
48 lines (44 loc) · 1.14 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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