Gitlab-CI Configuration for Documentation Builds
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 25 Jun 2021 20:50:03 +0000 (13:50 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 25 Jun 2021 21:12:14 +0000 (14:12 -0700)
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>
.gitlab-ci.yml
docs/requirements.txt [moved from etc/requirements.txt with 100% similarity]

index 1bc0893..112bd39 100644 (file)
@@ -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'
similarity index 100%
rename from etc/requirements.txt
rename to docs/requirements.txt