Skip to content
This repository has been archived by the owner on Apr 25, 2021. It is now read-only.

Commit

Permalink
Add dev documentation sync with OSCI
Browse files Browse the repository at this point in the history
Change-Id: I912af073cc74b0d6764f07cba73fe921f6a2baed
Signed-off-by: Martin Styk <[email protected]>
  • Loading branch information
Martin Styk committed Jun 21, 2019
1 parent dafbd20 commit 1a14e17
Showing 1 changed file with 59 additions and 0 deletions.
59 changes: 59 additions & 0 deletions beaker-dev-docs-osci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
- job:
name: beaker-dev-docs-osci
description: |
Builds the HTML developer docs from
https://git.beaker-project.org/cgit/beaker-dev-docs/
with the beaker-project.org Sphinx theme applied, and publishes them under
https://beaker-project.org/dev/.
node: fedora
scm:
- git:
url: git://git.beaker-project.org/beaker-project.org
branches:
- origin/master
basedir: beaker-project.org
clean:
before: true
wipe-workspace: false
skip-tag: true
included-regions:
- "sphinx-theme/.*"
sparse-checkout:
paths:
- "sphinx-theme"
reference-repo: /var/lib/jenkins/gitreference/beaker-project.org
- git:
url: git://git.beaker-project.org/beaker-dev-docs
branches:
- origin/master
basedir: beaker-dev-docs
clean:
before: true
wipe-workspace: false
skip-tag: true
triggers:
- pollscm:
cron: "H/5 * * * *"
wrappers:
- ssh-agent-credentials:
users:
- '8f6d9af6-2faf-451a-86f5-ad433b0f9e9a'
builders:
- shell: |
cd beaker-dev-docs/
# In Sphinx 1.3 this can become -D html_theme_path=...
echo "html_theme_path = ['../beaker-project.org/sphinx-theme']" >>conf.py
sphinx-build -W -b html -D html_theme=beaker . _build/html
rm -r _build/html/.doctrees
- critical-block-start
- shell: |
cd beaker-dev-docs/
rsync -v -r -l --checksum --delete-after _build/html/ [email protected]:/var/www/www.beaker-project.org/dev/
- critical-block-end
publishers:
- report-failures
- archive:
artifacts: beaker-dev-docs/_build/html/**

0 comments on commit 1a14e17

Please sign in to comment.