blob: aa8c4d694208b429b4d13ba3726a23f6c1c6eaf7 [file] [log] [blame]
- job:
name: tf-a-lts-docs-watcher
node: master
project-type: freestyle
concurrent: false
description:
This job was superceded by tf-a-lts-release-docs as part of
larger-scale release automation efforts
(https://linaro.atlassian.net/browse/TFC-545). It is expected
to be removed after new setup is better tested (tentatively
by 2024-06-01).
---
Triggers whenever a code change is merged into the lts branch
or a lts tag is created of the TF-A repository. Executes a webhook
to trigger the ReadTheDocs service to build a fresh copy of the
documentation for one or more branches.
disabled: true
builders:
- shell:
!include-raw: scripts/tf-a-lts-docs-watcher.sh
properties:
- build-discarder:
days-to-keep: 60
num-to-keep: 10
triggers:
- gerrit:
silent: true
server-name: 'review.trustedfirmware.org'
projects:
- branches:
- branch-compare-type: REG_EXP
branch-pattern: 'lts-v.*'
- branch-compare-type: REG_EXP
branch-pattern: refs/tags/lts-v.*
project-compare-type: PLAIN
project-pattern: 'TF-A/trusted-firmware-a'
trigger-on:
- ref-updated-event
wrappers:
- timestamps
- credentials-binding:
- text:
credential-id: TF-A-RTD-API-TOKEN
variable: RTD_API_TOKEN
- text:
credential-id: Trusted_Firmware_ReadTheDocs_Token
variable: RTD_WEBHOOK_SECRET
publishers:
- workspace-cleanup