From c092718ee685d601830521853baba96960e04cb0 Mon Sep 17 00:00:00 2001 From: igorljubuncic <43789966+igorljubuncic@users.noreply.github.com> Date: Sat, 16 Feb 2019 08:51:54 +0000 Subject: [PATCH] Add support for building snaps (#625) --- snapcraft.yaml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 snapcraft.yaml diff --git a/snapcraft.yaml b/snapcraft.yaml new file mode 100644 index 0000000..bf3e8f4 --- /dev/null +++ b/snapcraft.yaml @@ -0,0 +1,39 @@ +name: goreplay +version: '1.0' +summary: GoReplay is an open-source tool for capturing and replaying live HTTP traffic +description: | + GoReplay is an open-source tool for capturing and replaying + live HTTP traffic into a test environment in order to continuously + test your system with real data. It can be used to increase confidence + in code deployments, configuration changes and infrastructure changes. +grade: stable +confinement: strict +base: core18 +parts: + goreplay: + plugin: go + source: https://github.com/buger/goreplay.git + go-importpath: github.com/buger/goreplay + build-packages: + - build-essential + - libpcap-dev + stage-packages: + - libpcap0.8 + +apps: + goreplay: + command: bin/goreplay + daemon: simple + restart-condition: on-abnormal + plugs: + - home + - network + - network-bind + - network-control + - network-observe + - netlink-connector + - netlink-audit + - bluetooth-control + - firewall-control + - x11 +