summaryrefslogtreecommitdiffstats
path: root/jjb/vpp/docs.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/vpp/docs.yaml')
-rw-r--r--jjb/vpp/docs.yaml391
1 files changed, 87 insertions, 304 deletions
diff --git a/jjb/vpp/docs.yaml b/jjb/vpp/docs.yaml
index e48662a7..006801f4 100644
--- a/jjb/vpp/docs.yaml
+++ b/jjb/vpp/docs.yaml
@@ -2,76 +2,40 @@
- project:
name: docs
jobs:
- - 'vpp-docs-merge-{stream}'
- - 'vpp-docs-verify-{stream}'
- - 'vpp-make-test-docs-merge-{stream}'
- - 'vpp-make-test-docs-verify-{stream}'
+ - '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:
- - ubuntu1804:
- repo-os-part: 'ubuntu.bionic.main'
-
- stream:
- - master:
- branch: 'master'
- repo-stream-part: 'master'
- - '1901':
- branch: 'stable/1901'
- repo-stream-part: 'stable.1901'
- - '1904':
- branch: 'stable/1904'
- repo-stream-part: 'stable.1904'
- - '1908':
- branch: 'stable/1908'
- repo-stream-part: 'stable.1908'
- - '2001':
- branch: 'stable/2001'
- repo-stream-part: 'stable.2001'
- - '2005':
- branch: 'stable/2005'
- repo-stream-part: 'stable.2005'
-
- type:
- - short
- - long
-
-- project:
- name: sphinx
- jobs:
- - 'vpp-sphinx-docs-merge-{stream}'
- - 'vpp-sphinx-docs-verify-{stream}'
-
- project: 'vpp'
- os:
- - ubuntu1804:
- repo-os-part: 'ubuntu.bionic.main'
-
+ - 'ubuntu2204'
stream:
- - master:
+ - 'master':
branch: 'master'
- repo-stream-part: 'master'
- type:
- - short
- - long
+ branch-refspec: ''
+ - '2310':
+ branch: 'stable/2310'
+ branch-refspec: ''
+ - '2402':
+ branch: 'stable/2402'
+ branch-refspec: ''
- job-template:
- name: 'vpp-docs-verify-{stream}'
+ name: 'vpp-docs-verify-{stream}-{os}-{executor-arch}'
project-type: freestyle
- node: ubuntu1804-us
+ node: 'builder-{os}-prod-{executor-arch}'
concurrent: true
allow-empty: 'true'
fingerprint: false
only-if-success: true
default-excludes: false
-
- build-discarder:
- daysToKeep: '{build-days-to-keep}'
- numToKeep: '{build-num-to-keep}'
- artifactDaysToKeep: '{build-artifact-days-to-keep}'
- artifactNumToKeep: '{build-artifact-num-to-keep}'
+ properties:
+ - lf-infra-properties:
+ build-days-to-keep: "{build-days-to-keep}"
parameters:
- project-parameter:
@@ -79,11 +43,11 @@
- gerrit-parameter:
branch: '{branch}'
- os-parameter:
- os: 'ubuntu1804'
- - maven-exec:
- maven-version: 'mvn33-new'
+ os: '{os}'
- stream-parameter:
stream: '{stream}'
+ - gerrit-refspec-parameter:
+ refspec: '{branch-refspec}'
scm:
- gerrit-trigger-scm:
@@ -101,16 +65,9 @@
branch: '{branch}'
builders:
- - maven-target:
- maven-version: 'mvn33-new'
- goals: '--version'
- settings: 'vpp-settings'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- - provide-maven-settings:
- settings-file: 'vpp-settings'
- global-settings-file: 'global-settings'
+ - shell:
+ !include-raw-escape:
+ - ../scripts/setup_executor_env.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_ubuntu_docker_test.sh
@@ -119,27 +76,23 @@
- ../scripts/vpp/docs.sh
publishers:
- - fdio-infra-shiplogs:
- maven-version: 'mvn36'
+ - fdio-infra-publish-docs-7day
+ - fdio-infra-publish
- job-template:
- name: 'vpp-docs-merge-{stream}'
+ name: 'vpp-docs-merge-{stream}-{os}-{executor-arch}'
project-type: freestyle
- node: ubuntu1804-us
+ node: 'builder-{os}-prod-{executor-arch}'
concurrent: false
- archive-artifacts: '**/build-root/docs/html/*'
allow-empty: 'true'
fingerprint: false
only-if-success: true
default-excludes: false
-
- build-discarder:
- daysToKeep: '{build-days-to-keep}'
- numToKeep: '{build-num-to-keep}'
- artifactDaysToKeep: '{build-artifact-days-to-keep}'
- artifactNumToKeep: '{build-artifact-num-to-keep}'
+ properties:
+ - lf-infra-properties:
+ build-days-to-keep: "{build-days-to-keep}"
parameters:
- project-parameter:
@@ -147,14 +100,9 @@
- gerrit-parameter:
branch: '{branch}'
- os-parameter:
- os: 'ubuntu1804'
- - maven-exec:
- maven-version: 'mvn33-new'
+ os: '{os}'
- stream-parameter:
stream: '{stream}'
- - string:
- name: ARCHIVE_ARTIFACTS
- description: Artifacts to archive to the logs server.
scm:
- gerrit-trigger-scm:
@@ -168,7 +116,7 @@
triggers:
- reverse:
- jobs: 'vpp-merge-{stream}-ubuntu1804'
+ jobs: 'vpp-merge-{stream}-{os}-{executor-arch}'
result: 'success'
- gerrit:
server-name: 'Primary'
@@ -188,16 +136,9 @@
notbuilt: true
builders:
- - maven-target:
- maven-version: 'mvn33-new'
- goals: '--version'
- settings: 'vpp-settings'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- - provide-maven-settings:
- settings-file: 'vpp-settings'
- global-settings-file: 'global-settings'
+ - shell:
+ !include-raw-escape:
+ - ../scripts/setup_executor_env.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_ubuntu_docker_test.sh
@@ -206,37 +147,31 @@
- ../scripts/vpp/docs.sh
publishers:
- - fdio-infra-shiplogs:
- maven-version: 'mvn36'
+ - fdio-infra-publish-docs
+ - fdio-infra-publish
- job-template:
- name: 'vpp-sphinx-docs-verify-{stream}'
+ name: 'vpp-docsonly-verify-{stream}-{os}-{executor-arch}'
project-type: freestyle
- node: ubuntu1804-us
+ node: 'builder-{os}-prod-{executor-arch}'
concurrent: true
allow-empty: 'true'
fingerprint: false
only-if-success: true
default-excludes: false
- build-discarder:
- daysToKeep: '{build-days-to-keep}'
- numToKeep: '{build-num-to-keep}'
- artifactDaysToKeep: '{build-artifact-days-to-keep}'
- artifactNumToKeep: '{build-artifact-num-to-keep}'
-
parameters:
- project-parameter:
project: '{project}'
- gerrit-parameter:
branch: '{branch}'
- os-parameter:
- os: 'ubuntu1804'
- - maven-exec:
- maven-version: 'mvn33-new'
+ os: '{os}'
- stream-parameter:
stream: '{stream}'
+ - gerrit-refspec-parameter:
+ refspec: '{branch-refspec}'
scm:
- gerrit-trigger-scm:
@@ -252,219 +187,67 @@
- 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: 'run-sphinx-docs-verify'
+ comment-contains-value: 'recheck-docsonly'
projects:
- project-compare-type: 'ANT'
project-pattern: '{project}'
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'
- skip-vote:
- successful: true
- failed: true
- unstable: true
- notbuilt: true
+ file-paths:
+ - compare-type: 'REG_EXP'
+ pattern: '.*docs/.*'
+ override-votes: true
+ gerrit-build-notbuilt-verified-value: 0
+ gerrit-build-successful-verified-value: 1
+
builders:
- - maven-target:
- maven-version: 'mvn33-new'
- goals: '--version'
- settings: 'vpp-settings'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- - provide-maven-settings:
- settings-file: 'vpp-settings'
- global-settings-file: 'global-settings'
- shell:
!include-raw-escape:
- - ../scripts/setup_vpp_ubuntu_docker_test.sh
+ - ../scripts/setup_executor_env.sh
- shell:
!include-raw-escape:
- - ../scripts/vpp/sphinx-docs.sh
-
- publishers:
- - fdio-infra-shiplogs:
- maven-version: 'mvn36'
-
-- job-template:
- name: 'vpp-sphinx-docs-merge-{stream}'
-
- project-type: freestyle
- node: ubuntu1804-us
- concurrent: false
- archive-artifacts: 'docs/_build/html/*'
- allow-empty: 'true'
- fingerprint: false
- only-if-success: true
- default-excludes: false
-
- build-discarder:
- daysToKeep: '{build-days-to-keep}'
- numToKeep: '{build-num-to-keep}'
- artifactDaysToKeep: '{build-artifact-days-to-keep}'
- artifactNumToKeep: '{build-artifact-num-to-keep}'
-
- parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameter:
- branch: '{branch}'
- - os-parameter:
- os: 'ubuntu1804'
- - maven-exec:
- maven-version: 'mvn33-new'
- - stream-parameter:
- stream: '{stream}'
- - string:
- name: ARCHIVE_ARTIFACTS
- default: '{archive-artifacts}'
- description: Artifacts to archive to the logs server.
-
- scm:
- - gerrit-trigger-scm:
- credentials-id: 'jenkins-gerrit-credentials'
- refspec: ''
- choosing-strategy: 'default'
-
- wrappers:
- - fdio-infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- - gerrit:
- server-name: 'Primary'
- trigger-on:
- - comment-added-contains-event:
- comment-contains-value: 'run-sphinx-docs-merged'
- skip-vote:
- successful: true
- failed: true
- unstable: true
- notbuilt: true
-
- builders:
- - maven-target:
- maven-version: 'mvn33-new'
- goals: '--version'
- settings: 'vpp-settings'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- - provide-maven-settings:
- settings-file: 'vpp-settings'
- global-settings-file: 'global-settings'
+ - ../scripts/vpp/commitmsg.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_ubuntu_docker_test.sh
- shell:
!include-raw-escape:
- - ../scripts/vpp/sphinx-docs.sh
-
- publishers:
- - fdio-infra-shiplogs:
- maven-version: 'mvn36'
-
-- job-template:
- name: 'vpp-make-test-docs-verify-{stream}'
-
- project-type: freestyle
- node: ubuntu1804-us
- concurrent: true
- allow-empty: 'true'
- fingerprint: false
- only-if-success: true
- default-excludes: false
-
- build-discarder:
- daysToKeep: '{build-days-to-keep}'
- numToKeep: '{build-num-to-keep}'
- artifactDaysToKeep: '{build-artifact-days-to-keep}'
- artifactNumToKeep: '{build-artifact-num-to-keep}'
-
- parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameter:
- branch: '{branch}'
- - os-parameter:
- os: 'ubuntu1804'
- - maven-exec:
- maven-version: 'mvn33-new'
- - stream-parameter:
- stream: '{stream}'
-
- scm:
- - gerrit-trigger-scm:
- credentials-id: 'jenkins-gerrit-credentials'
- refspec: '$GERRIT_REFSPEC'
- choosing-strategy: 'gerrit'
-
- wrappers:
- - fdio-infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- - gerrit-trigger-checkstyle:
- name: '{project}'
- branch: '{branch}'
-
- builders:
- - maven-target:
- maven-version: 'mvn33-new'
- goals: '--version'
- settings: 'vpp-settings'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- - provide-maven-settings:
- settings-file: 'vpp-settings'
- global-settings-file: 'global-settings'
- - shell:
- !include-raw-escape:
- - ../scripts/setup_vpp_ubuntu_docker_test.sh
+ - ../scripts/vpp/docs.sh
- shell:
!include-raw-escape:
- - ../scripts/vpp/make-test-docs.sh
+ - ../scripts/vpp/docs_spell.sh
publishers:
- - fdio-infra-shiplogs:
- maven-version: 'mvn36'
+ - fdio-infra-publish-docs-7day
+ - fdio-infra-publish
- job-template:
- name: 'vpp-make-test-docs-merge-{stream}'
+ name: 'vpp-docsonly-merge-{stream}-{os}-{executor-arch}'
project-type: freestyle
- node: ubuntu1804-us
- concurrent: false
- archive-artifacts: '**/build-root/build-test/doc/html/*'
+ node: 'builder-{os}-prod-{executor-arch}'
+ concurrent: true
allow-empty: 'true'
fingerprint: false
only-if-success: true
default-excludes: false
-
- build-discarder:
- daysToKeep: '{build-days-to-keep}'
- numToKeep: '{build-num-to-keep}'
- artifactDaysToKeep: '{build-artifact-days-to-keep}'
- artifactNumToKeep: '{build-artifact-num-to-keep}'
-
parameters:
- project-parameter:
project: '{project}'
- gerrit-parameter:
branch: '{branch}'
- os-parameter:
- os: 'ubuntu1804'
- - maven-exec:
- maven-version: 'mvn33-new'
+ os: '{os}'
- stream-parameter:
stream: '{stream}'
- - string:
- name: ARCHIVE_ARTIFACTS
- default: '{archive-artifacts}'
- description: Artifacts to archive to the logs server.
scm:
- gerrit-trigger-scm:
@@ -477,44 +260,44 @@
build-timeout: '{build-timeout}'
triggers:
- - reverse:
- jobs: 'vpp-merge-{stream}-ubuntu1804'
- 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:
- - maven-target:
- maven-version: 'mvn33-new'
- goals: '--version'
- settings: 'vpp-settings'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- - provide-maven-settings:
- settings-file: 'vpp-settings'
- global-settings-file: 'global-settings'
+ - 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-shiplogs:
- maven-version: 'mvn36'
+ - fdio-infra-publish-docs
+ - fdio-infra-publish