forked from dabooz/bluehorizon-snap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
69 lines (61 loc) · 1.32 KB
/
snapcraft.yaml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: bluehorizon
version: 2.0.0
summary: Horizon Decentralized Autonomous Edge Compute System...
description: This snap includes all Horizon system control components...
confinement: devmode
epoch: 0
grade: devel
apps:
anax:
command: scripts/anax/anax.sh
daemon: simple
plugs: [firewall-control, network, network-bind]
restart-condition: always
ethereum:
command: scripts/geth/geth.sh
daemon: simple
plugs: [network, network-bind]
restart-condition: always
eth-handout:
command: scripts/geth/handout.sh
daemon: simple
plugs: [network]
restart-condition: always
eth-unlock:
command: scripts/geth/unlock.sh
daemon: simple
plugs: [network]
restart-condition: always
eth-blockmon:
command: scripts/geth/blockmon.sh
daemon: simple
plugs: [network]
restart-condition: always
parts:
anax:
plugin: make
build-packages:
- golang
- git
stage-packages:
- bash
- curl
- gettext
- jq
source: https://github.com/open-horizon/anax.git
ethereum:
plugin: make
build-packages:
- curl
- build-essential
stage-packages:
- bash
- bc
- curl
- jq
- gawk
- coreutils
source: ethereum/
horizon-distribution:
plugin: dump
source: distribution/