From 1270eeeae56bb17686cc7cebf8839282f8f9ee6b Mon Sep 17 00:00:00 2001 From: Igor Ljubuncic Date: Wed, 19 Dec 2018 16:39:15 +0000 Subject: [PATCH] Add support for building snaps --- snapcraft.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 snapcraft.yaml diff --git a/snapcraft.yaml b/snapcraft.yaml new file mode 100644 index 0000000..1d63946 --- /dev/null +++ b/snapcraft.yaml @@ -0,0 +1,24 @@ +name: webhook +version: '1.0' +summary: webhook is a lightweight incoming webhook server to run shell commands +description: | + webhook is a lightweight incoming webhook server to run shell commands. +grade: stable +confinement: strict +base: core18 +parts: + webhook: + plugin: go + source: https://github.com/adnanh/webhook.git + go-importpath: github.com/adnanh/webhook + build-packages: + - build-essential +apps: + webhook: + command: bin/webhook + daemon: simple + restart-condition: on-abnormal + plugs: + - home + - network + - network-bind