Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for building snaps #313

Merged
merged 1 commit into from Aug 19, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: ponzu
version: '1.0'
summary: Headless CMS with automatic JSON API
description: |
Headless CMS with automatic JSON API. Featuring auto-HTTPS from
Lets Encrypt, HTTP/2 Server Push, and flexible server framework
written in Go.
grade: stable
confinement: strict
base: core18
parts:
ponzu:
plugin: go
source: https://github.com/ponzu-cms/ponzu.git
go-importpath: github.com/ponzu-cms/ponzu
build-packages:
- build-essential
apps:
ponzu:
command: bin/ponzu
daemon: simple
restart-condition: on-abnormal
plugs:
- home
- network
- network-bind