forked from hyperjumptech/monika
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnapcraft.yaml
35 lines (32 loc) · 859 Bytes
/
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
name: monika
adopt-info: monika
summary: Synthetic monitoring made easy
description: |
Monika is a command-line application for synthetic monitoring.
The name Monika stands for "Monitoring Berkala", which means "periodic monitoring" in the Indonesian language.
confinement: strict
license: MIT
grade: stable
base: core20
apps:
monika:
command: bin/run.js
plugs:
- desktop
- desktop-legacy
- network
- network-bind
- network-observe
- home
- removable-media
parts:
monika:
plugin: dump
source: ./dist/monika
override-pull: |
sudo apt-get install -y jq curl
CLI_VERSION=$(curl https://api.github.com/repos/hyperjumptech/monika/releases/latest -s | jq .tag_name -r)
snapcraftctl set-version $CLI_VERSION
snapcraftctl pull
stage-packages:
- libnotify-bin