Merge "Fix binary operations"
authorCedric Ollivier <cedric.ollivier@orange.com>
Thu, 19 Aug 2021 09:40:46 +0000 (09:40 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 19 Aug 2021 09:40:46 +0000 (09:40 +0000)
docs/ci/tables/ci-build-servers.rst
gitlab-templates/RTD.gitlab-ci.yml
jjb/barometer/barometer.yaml
jjb/cirv/cirv.yaml
jjb/global/slave-params.yaml
jjb/opnfvdocs/docs-rtd.yaml
jjb/releng/opnfv-lint.yaml
jjb/releng/opnfv-utils.yaml
jjb/releng/releng-info-vote.yaml
jjb/releng/releng-release-jobs.yaml

index e8890ec..b2f4893 100644 (file)
      - aarch64
      - Ubuntu 16.04
      - `Armband ENEA Team`_
-   * - `lf-build1 <https://build.opnfv.org/ci/computer/lf-build1>`_
+   * - `lf-build5 <https://build.opnfv.org/ci/computer/lf-build5>`_
      - x86_64
-     - CentOS 7.4
+     - Ubuntu 18.04
      - `Linux Foundation`_
-   * - `lf-build2 <https://build.opnfv.org/ci/computer/lf-build2>`_
+   * - `lf-build6 <https://build.opnfv.org/ci/computer/lf-build6>`_
      - x86_64
-     - Ubuntu 16.10
+     - CentOS 8
      - `Linux Foundation`_
 
 .. _Linux Foundation: helpdesk@opnfv.org
index 198ed5b..59b455d 100644 (file)
@@ -27,6 +27,7 @@ variables:
   PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
   DOCS_DIRECTORY: "docs"
   DOCS_REQUIREMENTS: "$DOCS_DIRECTORY/requirements.txt"
+  STABLE_BRANCH: "stable/*"
 
 .docs-cache: &docs-cache
   paths:
@@ -58,9 +59,11 @@ docs-build:
   rules:
     - if: $CI_PIPELINE_SOURCE == "schedule" && $DOCS_SCHEDULE != "true"
       when: never
-    - if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
+    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
       changes:
         - $DOCS_DIRECTORY/**/*
+    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
+    - if: $CI_COMMIT_BRANCH == $STABLE_BRANCH
 
 docs-link-check:
   stage: test
@@ -78,9 +81,11 @@ docs-link-check:
   rules:
     - if: $CI_PIPELINE_SOURCE == "schedule" && $DOCS_SCHEDULE != "true"
       when: never
-    - if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
+    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
       changes:
         - $DOCS_DIRECTORY/**/*
+    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
+    - if: $CI_COMMIT_BRANCH == $STABLE_BRANCH
 
 pages:
   stage: deploy
index b277813..2d8e0d3 100644 (file)
@@ -41,7 +41,7 @@
       - project-parameter:
           project: '{project}'
           branch: '{branch}'
-      - 'lf-build2-defaults'
+      - 'opnfv-build-centos-defaults'
 
     scm:
       - git-scm-gerrit
@@ -98,7 +98,7 @@
       - project-parameter:
           project: '{project}'
           branch: '{branch}'
-      - 'lf-build2-defaults'
+      - 'opnfv-build-centos-defaults'
 
     scm:
       - git-scm
index e628f43..5c0bccf 100644 (file)
@@ -1,71 +1,15 @@
 ---
-- cirv-project-params: &cirv-project-params
-    name: 'cirv-project-params'
-    tag:
-      - latest:
-          branch: master
-          slave: lf-build2
-
-- builder:
-    name: cirv-run-tox
-    builders:
-      - shell: tox
-
-- trigger:
-    name: cirv-project-patchset-created
-    triggers:
-      - gerrit:
-          server-name: 'gerrit.opnfv.org'
-          trigger-on:
-            - patchset-created-event
-            - comment-added-contains-event:
-                comment-contains-value: 'recheck'
-            - comment-added-contains-event:
-                comment-contains-value: 'reverify'
-          projects:
-            - project-compare-type: 'ANT'
-              project-pattern: 'cirv'
-              branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**/{branch}'
-          skip-vote:
-            successful: false
-            failed: false
-            unstable: false
-            notbuilt: false
+- project:
+    name: cirv-tox-verify
 
-- parameter:
-    name: cirv-project-slave
-    parameters:
-      - label:
-          name: slave
-          default: '{slave}'
+    project: 'cirv'
+    project-name: 'cirv'
+    build-days-to-keep: 7
 
-- scm:
-    name: cirv-project-scm
-    scm:
-      - git:
-          url: https://gerrit.opnfv.org/gerrit/cirv
-          refspec: '+refs/changes/*:refs/changes/*'
-          branches:
-            - '{ref}'
+    stream:
+      - master
 
-- job-template:
-    name: 'cirv-run-tox-{tag}'
-    triggers:
-      - cirv-project-patchset-created:
-          branch: '{branch}'
-    scm:
-      - cirv-project-scm:
-          ref: $GERRIT_REFSPEC
-    parameters:
-      - cirv-project-slave:
-          slave: '{slave}'
-    builders:
-      - cirv-run-tox
+    disabled: false
 
-- project:
-    name: 'cirv-run-tox'
-    <<: *cirv-project-params
     jobs:
-      - 'cirv-run-tox-{tag}'
+      - '{project-name}-python-jobs'
index 2fd701f..d231718 100644 (file)
           default: $WORKSPACE/build_output
           description: "Directory where the build artifact will be located upon the completion of the build."
 
-- parameter:
-    name: 'lf-build2-defaults'
-    parameters:
-      - label:
-          name: SLAVE_LABEL
-          default: 'lf-build2'
-          description: 'Slave label on Jenkins'
-          all-nodes: false
-          node-eligibility: 'ignore-offline'
-      - string:
-          name: GIT_BASE
-          default: https://gerrit.opnfv.org/gerrit/$PROJECT
-          description: 'Git URL to use on this Jenkins Slave'
-      - string:
-          name: BUILD_DIRECTORY
-          default: $WORKSPACE/build_output
-          description: "Directory where the build artifact will be located upon the completion of the build."
-
 - parameter:
     name: 'huawei-build-defaults'
     parameters:
index e680747..42dcf31 100644 (file)
@@ -27,7 +27,7 @@
     parameters:
       - label:
           name: SLAVE_LABEL
-          default: 'lf-build2'
+          default: 'lf-build5'
           description: 'Slave label on Jenkins'
           all-nodes: false
           node-eligibility: 'ignore-offline'
@@ -52,7 +52,7 @@
     parameters:
       - label:
           name: SLAVE_LABEL
-          default: 'lf-build2'
+          default: 'lf-build5'
           description: 'Slave label on Jenkins'
           all-nodes: false
           node-eligibility: 'ignore-offline'
index dcd262a..c20a1ec 100644 (file)
@@ -46,8 +46,8 @@
           name: SLAVE_NAME
           description: Slaves to execute yamllint
           default-slaves:
-            - lf-build1
-            - lf-build2
+            - lf-build5
+            - lf-build6
           allowed-multiselect: true
           ignore-offline-nodes: true
 
@@ -99,8 +99,8 @@
           name: SLAVE_NAME
           description: Slaves to execute pylint
           default-slaves:
-            - lf-build1
-            - lf-build2
+            - lf-build5
+            - lf-build6
           allowed-multiselect: true
           ignore-offline-nodes: true
 
           name: SLAVE_NAME
           description: Slaves to execute yamllint
           default-slaves:
-            - lf-build1
-            - lf-build2
+            - lf-build5
+            - lf-build6
           allowed-multiselect: true
           ignore-offline-nodes: true
 
index 50e4741..21725ea 100644 (file)
@@ -24,7 +24,6 @@
           name: SLAVE_NAME
           description: Slaves to prune docker images
           default-slaves:
-            - lf-build2
             - lf-build5
             - lf-build6
           allowed-multiselect: true
@@ -56,7 +55,7 @@
           name: SLAVE_NAME
           description: 'script lives on master node'
           default-slaves:
-            - lf-build2
+            - lf-build5
           allowed-multiselect: false
           ignore-offline-nodes: true
       - project-parameter:
@@ -79,7 +78,7 @@
 
     project-type: freestyle
 
-    disabled: false
+    disabled: true
     concurrent: true
 
     parameters:
@@ -87,9 +86,8 @@
           name: SLAVE_NAME
           description: Build Servers
           default-slaves:
-            - lf-build1
-            - lf-build2
-            - lf-build3
+            - lf-build5
+            - lf-build6
           allowed-multiselect: true
           ignore-offline-nodes: true
       - project-parameter:
           name: SLAVE_NAME
           description: Build Servers
           default-slaves:
-            - lf-build2
+            - lf-build5
       - project-parameter:
           project: releng
           branch: master
index 8381858..102a77a 100644 (file)
@@ -1,6 +1,6 @@
 ---
 - project:
     name: info-vote
-    build-node: lf-build2
+    build-node: lf-build5
     jobs:
       - 'info-vote-verify'
index 35fda14..39671a8 100644 (file)
     parameters:
       - node:
           name: SLAVE_NAME
-          description: 'Only run merge job on build1 or 2'
+          description: 'Only run merge job on build5 or 6'
           default-slaves:
-            - lf-build1
-            - lf-build2
+            - lf-build5
+            - lf-build6
           allowed-multiselect: false
           ignore-offline-nodes: true
       - stream-parameter: