Page MenuHomeSoftware Heritage

No OneTemporary

diff --git a/jobs/swh-docs.yaml b/jobs/swh-docs.yaml
index 466ff1c..d19e1ec 100644
--- a/jobs/swh-docs.yaml
+++ b/jobs/swh-docs.yaml
@@ -1,102 +1,102 @@
- project:
name: DDOC
display-name: swh-docs
jobs:
- "{name}"
- job:
name: DDOC/publish
description: Build the documentation and publish it
node: swh-sphinx
auth-token: ph4br1cat0r
triggers:
- timed: "@midnight"
scm:
- git:
url: https://forge.softwareheritage.org/source/swh-environment.git
builders:
- shell: |
#!/bin/bash
mr -j 4 -t update
mr -j 4 -t run sh -c 'git checkout --detach `git describe --abbrev=0 --tags`; git clean -dfx'
cd swh-docs
git checkout master
git clean -dfx
SPHINXOPTCOLOR='--no-color' tox -e sphinx
publishers:
- ssh:
target: 'devel'
site: 'pergamon'
clean-remote: true
source: 'swh-docs/docs/_build/html/**'
remove-prefix: 'swh-docs/docs/_build/html'
fail-on-error: true
verbose: true
- ssh:
- target: 'users'
+ target: 'user'
site: 'pergamon'
clean-remote: true
- source: 'swh-docs/users/_build/html/**'
- remove-prefix: 'swh-docs/users/_build/html'
+ source: 'swh-docs/user/_build/html/**'
+ remove-prefix: 'swh-docs/user/_build/html'
fail-on-error: true
verbose: true
- ssh:
target: 'sysadm'
site: 'pergamon'
clean-remote: true
source: 'swh-docs/sysadm/_build/html/**'
remove-prefix: 'swh-docs/sysadm/_build/html'
fail-on-error: true
verbose: true
- job:
name: DDOC/dev
description: Build the documentation from git repos
node: swh-sphinx
auth-token: ph4br1cat0r
triggers:
- timed: "H 9-22/2 * * *"
scm:
- git:
url: https://forge.softwareheritage.org/source/swh-environment.git
builders:
- shell: |
#!/bin/bash
crudini --del .mrconfig snippets
crudini --del .mrconfig swh-py-template
mr -j 4 -t update
mr -t run sh -c 'echo -n "`basename $PWD` " && git describe' | grep -v 'mr run' > revisions.txt
cd swh-docs
git clean -dfx
SPHINXOPTS='-W -q --keep-going -w errors.log' SPHINXOPTCOLOR='--no-color' tox -e sphinx-dev
publishers:
- archive:
artifacts: "revisions.txt,swh-docs/docs/errors.log,swh-docs/.tox/log/*"
- html-publisher:
name: 'SWH Documentation (HEAD)'
dir: 'swh-docs/docs/_build/html'
files: 'index.html'
keep-all: false
includes: '**/*'
- html-publisher:
name: 'SWH User Documentation (HEAD)'
- dir: 'swh-docs/users/_build/html'
+ dir: 'swh-docs/user/_build/html'
files: 'index.html'
keep-all: false
includes: '**/*'
- html-publisher:
name: 'SWH sysadmin Documentation (HEAD)'
dir: 'swh-docs/sysadm/_build/html'
files: 'index.html'
keep-all: false
includes: '**/*'

File Metadata

Mime Type
text/x-diff
Expires
Jun 4 2025, 7:46 PM (11 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3281930

Event Timeline