snapcraft

pull/109/head
Hunter Long 2018-11-28 14:35:49 -08:00
parent d21cef051c
commit cfee66e395
2 changed files with 23 additions and 0 deletions

View File

@ -282,6 +282,9 @@ travis-build:
curl -s -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Travis-API-Version: 3" -H "Authorization: token $(TRAVIS_API)" -d $(TRAVIS_BUILD_CMD) https://api.travis-ci.com/repo/hunterlong%2Fstatup/requests
curl -H "Content-Type: application/json" --data '{"docker_tag": "latest"}' -X POST $(DOCKER)
snapcraft:
docker run --rm -v "$PWD":/build -w /build snapcore/snapcraft bash -c "apt update && snapcraft"
# install xgo and pull the xgo docker image
xgo-install: clean
go get github.com/karalabe/xgo

20
snapcraft.yaml Normal file
View File

@ -0,0 +1,20 @@
name: statup
version: 0.79.91
summary: Statup Server Monitoring with Status Page
description: >
An easy to use Status Page for your websites and applications.
Statup will automatically fetch the application and render a beautiful
status page with tons of features for you to build an even better status page.
This Status Page generator allows you to use MySQL, Postgres, or SQLite
on multiple operating systems.
confinement: stable
parts:
statup:
plugin: dump
source: https://github.com/hunterlong/statup/releases/download/v$SNAPCRAFT_PROJECT_VERSION/statup-linux-x64.tar.gz
apps:
statup:
command: statup