summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2021-06-25 13:50:03 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2021-06-25 14:12:14 -0700
commitdf0c593bae69a232fb054a33a3c932187c48f935 (patch)
tree74afc60f7c08f4eecbeeec858b635930f98b3b4d
parent6b346f4a89552574bd5fe077d1e7c839572cad87 (diff)
Gitlab-CI Configuration for Documentation Builds
Uses the Anuket Releng template for RTD (Sphinx) builds of the documentation. Moves the requirements file under 'docs/'. This can be moved back once the RTD template has been updated to allow setting the location of requirements.txt outside of docs/ Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
-rw-r--r--.gitlab-ci.yml13
-rw-r--r--docs/requirements.txt (renamed from etc/requirements.txt)0
2 files changed, 11 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1bc0893c3..112bd39cf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,12 @@
-# This file is a template, and might need editing before it works on your project.
+# Docs jobs
+#
+# On Merge requests, tags and merges:
+# - Run tox
+# - Build documentation
+# On Merges and Pull Requests:
+# - Run code quality analysis
+---
include:
- template: Jobs/Code-Quality.gitlab-ci.yml
+ - template: Jobs/Code-Quality.gitlab-ci.yml
+ - project: anuket-transition/releng
+ file: '/gitlab-templates/RTD.gitlab-ci.yml'
diff --git a/etc/requirements.txt b/docs/requirements.txt
index 734f07f97..734f07f97 100644
--- a/etc/requirements.txt
+++ b/docs/requirements.txt