mirror of
https://github.com/adnanh/webhook.git
synced 2025-08-02 16:00:30 +00:00
Add support for building snaps
This commit is contained in:
parent
385898b21f
commit
1270eeeae5
1 changed files with 24 additions and 0 deletions
24
snapcraft.yaml
Normal file
24
snapcraft.yaml
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue