Changeset View
Changeset View
Standalone View
Standalone View
jobs/swh-docs.yaml
- project: | - project: | ||||
name: DDOC | name: DDOC | ||||
display-name: swh-docs | display-name: swh-docs | ||||
jobs: | jobs: | ||||
- "{name}" | - "{name}" | ||||
- "{name}/publish" | - "{name}/publish" | ||||
- "{name}/dev" | - "{name}/dev" | ||||
- "{name}/build-on-diff" | - "{name}/build-on-diff" | ||||
- "{name}/gitlab-builds" | - "{name}/gitlab-builds" | ||||
- job-template: | - job-template: | ||||
name: "{name}/publish" | name: "{name}/publish" | ||||
description: Build the documentation and publish it | description: Build the documentation and publish it | ||||
node: swh-sphinx | node: swh-sphinx | ||||
auth-token: ph4br1cat0r | gitlab_project_name: swh/devel/swh-environment | ||||
properties: | properties: | ||||
- build-discarder: | - build-discarder: | ||||
days-to-keep: 90 | days-to-keep: 90 | ||||
triggers: | triggers: | ||||
- timed: "@midnight" | - timed: "@midnight" | ||||
scm: | scm: | ||||
- git: | - git: | ||||
url: https://forge.softwareheritage.org/source/swh-environment.git | url: "{gitlab_url}/{gitlab_project_name}.git" | ||||
builders: | builders: | ||||
- shell: | | - shell: | | ||||
#!/bin/bash | #!/bin/bash | ||||
set -ex | set -ex | ||||
crudini --del .mrconfig snippets | crudini --del .mrconfig snippets | ||||
crudini --del .mrconfig swh-py-template | crudini --del .mrconfig swh-py-template | ||||
Show All 33 Lines | publishers: | ||||
remove-prefix: "swh-docs/sysadm/_build/html" | remove-prefix: "swh-docs/sysadm/_build/html" | ||||
fail-on-error: true | fail-on-error: true | ||||
verbose: true | verbose: true | ||||
- job-template: | - job-template: | ||||
name: "{name}/dev" | name: "{name}/dev" | ||||
description: Build the documentation from git repos | description: Build the documentation from git repos | ||||
node: swh-sphinx | node: swh-sphinx | ||||
auth-token: ph4br1cat0r | gitlab_project_name: swh/devel/swh-environment | ||||
properties: | properties: | ||||
- build-discarder: | - build-discarder: | ||||
days-to-keep: 90 | days-to-keep: 90 | ||||
triggers: | triggers: | ||||
- timed: "H 9-22/2 * * *" | - timed: "H 9-22/2 * * *" | ||||
scm: | scm: | ||||
- git: | - git: | ||||
url: https://forge.softwareheritage.org/source/swh-environment.git | url: "{gitlab_url}/{gitlab_project_name}.git" | ||||
builders: | builders: | ||||
- shell: | | - shell: | | ||||
#!/bin/bash | #!/bin/bash | ||||
set -ex | set -ex | ||||
crudini --del .mrconfig snippets | crudini --del .mrconfig snippets | ||||
crudini --del .mrconfig swh-py-template | crudini --del .mrconfig swh-py-template | ||||
▲ Show 20 Lines • Show All 83 Lines • Show Last 20 Lines |