This repository has been archived by the owner on Apr 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
beaker-dev-docs-osci.yaml
59 lines (56 loc) · 1.95 KB
/
beaker-dev-docs-osci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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 -p -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/**