From 4060fa9b244181c34163ad17e124063da87b64da Mon Sep 17 00:00:00 2001
From: Aurelien Lourot <aurelien.lourot@canonical.com>
Date: Fri, 19 Mar 2021 13:58:11 +0100
Subject: [PATCH] Add .gitreview and .zuul.yaml files

Also pin charm-tools 2.8.3.
Also made necessary changes for charm-tools>=2.8, because
the default build output folder has changed.

Change-Id: I526ebd8ed9cfeab7b8e38ca8fa9dd3244c209266
---
 .gitreview       | 4 ++++
 .zuul.yaml       | 4 ++++
 requirements.txt | 2 +-
 tox.ini          | 2 +-
 4 files changed, 10 insertions(+), 2 deletions(-)
 create mode 100644 .gitreview
 create mode 100644 .zuul.yaml

diff --git a/.gitreview b/.gitreview
new file mode 100644
index 0000000..3647df9
--- /dev/null
+++ b/.gitreview
@@ -0,0 +1,4 @@
+[gerrit]
+host=review.opendev.org
+port=29418
+project=openstack/charm-manila-dashboard.git
diff --git a/.zuul.yaml b/.zuul.yaml
new file mode 100644
index 0000000..fd20909
--- /dev/null
+++ b/.zuul.yaml
@@ -0,0 +1,4 @@
+- project:
+    templates:
+      - openstack-python3-charm-jobs
+      - openstack-cover-jobs
diff --git a/requirements.txt b/requirements.txt
index a4d3eff..46b4e99 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -9,7 +9,7 @@
 setuptools<50.0.0  # https://github.com/pypa/setuptools/commit/04e3df22df840c6bb244e9b27bc56750c44b7c85
 
 # Build requirements
-charm-tools>=2.4.4
+charm-tools==2.8.3
 
 # Workaround until https://github.com/juju/charm-tools/pull/589 gets
 # published
diff --git a/tox.ini b/tox.ini
index c91922e..ce79fa1 100644
--- a/tox.ini
+++ b/tox.ini
@@ -28,7 +28,7 @@ deps =
 [testenv:build]
 basepython = python3
 commands =
-    charm-build --log-level DEBUG -o {toxinidir}/build src {posargs}
+    charm-build --log-level DEBUG -o {toxinidir}/build/builds src {posargs}
 
 [testenv:py3]
 basepython = python3