From 7371827a8f44e488ace60ad12016d63fbeedb5a1 Mon Sep 17 00:00:00 2001
From: Lee Miller <lee.miller@tutanota.com>
Date: Tue, 12 Jul 2022 21:17:15 +0300
Subject: [PATCH] A buildbot scenario for building the snap

---
 .buildbot/snap/Dockerfile | 7 +++++++
 .buildbot/snap/test.sh    | 3 +++
 2 files changed, 10 insertions(+)
 create mode 100644 .buildbot/snap/Dockerfile
 create mode 100755 .buildbot/snap/test.sh

diff --git a/.buildbot/snap/Dockerfile b/.buildbot/snap/Dockerfile
new file mode 100644
index 00000000..ba0bfed6
--- /dev/null
+++ b/.buildbot/snap/Dockerfile
@@ -0,0 +1,7 @@
+FROM ubuntu:bionic
+
+ENV SKIPCACHE=2022-07-12
+
+RUN apt-get update
+
+RUN apt-get install -yq --no-install-suggests --no-install-recommends snapcraft
diff --git a/.buildbot/snap/test.sh b/.buildbot/snap/test.sh
new file mode 100755
index 00000000..30d7e72b
--- /dev/null
+++ b/.buildbot/snap/test.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+cd packages && snapcraft