From 3e32f69927ea7259565d158bd68d9bf49edcc62c Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Thu, 7 Jan 2021 20:27:05 +0200
Subject: [PATCH] Add GitLab CI.

---
 .gitlab-ci.yml | 8 ++++++++
 README.rst     | 4 ++++
 2 files changed, 12 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..0ba5ad7
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,8 @@
+---
+include:
+  - project: shore/ci-templates
+    file: templates/pre-commit.yml
+  - project: shore/ci-templates
+    file: templates/python.yml
+  - project: shore/ci-templates
+    file: templates/gitlab-release.yml
diff --git a/README.rst b/README.rst
index f707484..f155dc0 100644
--- a/README.rst
+++ b/README.rst
@@ -1,6 +1,10 @@
 check_s3_bucket
 ###############
 
+.. image:: https://git.shore.co.il/nimrod/check_s3_bucket/badges/master/pipeline.svg
+    :target: https://git.shore.co.il/nimrod/check_s3_bucket/-/commits/master
+    :alt: pipeline status
+
 Check that a filename matching the regex was added to the bucket in the given time window.
 
 Usage
-- 
GitLab