- project:
name: docs
jobs:
- - 'vpp-docs-merge-{stream}-{os}-{executor-arch}'
- 'vpp-docs-verify-{stream}-{os}-{executor-arch}'
+ - 'vpp-docs-merge-{stream}-{os}-{executor-arch}'
+ - 'vpp-docsonly-verify-{stream}-{os}-{executor-arch}'
+ - 'vpp-docsonly-merge-{stream}-{os}-{executor-arch}'
project: 'vpp'
executor-arch: 'x86_64'
- os: 'ubuntu2004'
-
+ os:
+ - 'ubuntu2204'
stream:
- - master:
+ - 'master':
branch: 'master'
branch-refspec: ''
- - '2110':
- branch: 'stable/2110'
- branch-refspec: ''
- - '2202':
- branch: 'stable/2202'
+ - '2310':
+ branch: 'stable/2310'
branch-refspec: ''
-
-# TODO: Remove when stable/2110 is no longer supported.
-- project:
- name: make-test-docs
- jobs:
- - 'vpp-make-test-docs-merge-{stream}-{os}-{executor-arch}'
- - 'vpp-make-test-docs-verify-{stream}-{os}-{executor-arch}'
-
- project: 'vpp'
- executor-arch: 'x86_64'
- os: 'ubuntu2004'
-
- stream:
- - '2110':
- branch: 'stable/2110'
+ - '2402':
+ branch: 'stable/2402'
branch-refspec: ''
- job-template:
- ../scripts/vpp/docs.sh
publishers:
+ - fdio-infra-publish-docs-7day
- fdio-infra-publish
- job-template:
- fdio-infra-publish-docs
- fdio-infra-publish
-
- job-template:
- name: 'vpp-make-test-docs-verify-{stream}-{os}-{executor-arch}'
+ name: 'vpp-docsonly-verify-{stream}-{os}-{executor-arch}'
project-type: freestyle
node: 'builder-{os}-prod-{executor-arch}'
only-if-success: true
default-excludes: false
- properties:
- - lf-infra-properties:
- build-days-to-keep: "{build-days-to-keep}"
-
parameters:
- project-parameter:
project: '{project}'
build-timeout: '{build-timeout}'
triggers:
- - gerrit-trigger-checkstyle:
- name: '{project}'
- branch: '{branch}'
+ - gerrit:
+ server-name: 'Primary'
+ trigger-on:
+ - patchset-created-event:
+ exclude-drafts: 'true'
+ exclude-trivial-rebase: 'false'
+ exclude-no-code-change: 'false'
+ - draft-published-event
+ - comment-added-contains-event:
+ comment-contains-value: 'recheck-docsonly'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '{project}'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ file-paths:
+ - compare-type: 'REG_EXP'
+ pattern: '.*docs/.*'
+ override-votes: true
+ gerrit-build-notbuilt-verified-value: 0
+ gerrit-build-successful-verified-value: 1
builders:
- shell:
!include-raw-escape:
- ../scripts/setup_executor_env.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/vpp/commitmsg.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_ubuntu_docker_test.sh
- shell:
!include-raw-escape:
- - ../scripts/vpp/make-test-docs.sh
+ - ../scripts/vpp/docs.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/vpp/docs_spell.sh
publishers:
+ - fdio-infra-publish-docs-7day
- fdio-infra-publish
- job-template:
- name: 'vpp-make-test-docs-merge-{stream}-{os}-{executor-arch}'
+ name: 'vpp-docsonly-merge-{stream}-{os}-{executor-arch}'
project-type: freestyle
node: 'builder-{os}-prod-{executor-arch}'
- concurrent: false
+ concurrent: true
allow-empty: 'true'
fingerprint: false
only-if-success: true
default-excludes: false
- properties:
- - lf-infra-properties:
- build-days-to-keep: "{build-days-to-keep}"
-
parameters:
- project-parameter:
project: '{project}'
build-timeout: '{build-timeout}'
triggers:
- - reverse:
- jobs: 'vpp-merge-{stream}-{os}-{executor-arch}'
- result: 'success'
- gerrit:
server-name: 'Primary'
trigger-on:
+ - change-merged-event
- comment-added-contains-event:
- comment-contains-value: 'run-docs'
+ comment-contains-value: 'remerge-docsonly'
projects:
- project-compare-type: 'ANT'
project-pattern: '{project}'
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
+ file-paths:
+ - compare-type: 'REG_EXP'
+ pattern: '.*docs/.*'
skip-vote:
successful: true
- failed: true
- unstable: true
- notbuilt: true
+ failed: false
+ unstable: false
+ notbuilt: false
builders:
- shell:
!include-raw-escape:
- ../scripts/setup_executor_env.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/vpp/commitmsg.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_ubuntu_docker_test.sh
- shell:
!include-raw-escape:
- - ../scripts/vpp/make-test-docs.sh
+ - ../scripts/vpp/docs.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/vpp/docs_spell.sh
publishers:
- fdio-infra-publish-docs