diff options
-rw-r--r-- | docs/ci/tables/ci-build-servers.rst | 8 | ||||
-rw-r--r-- | gitlab-templates/RTD.gitlab-ci.yml | 9 | ||||
-rw-r--r-- | jjb/barometer/barometer.yaml | 4 | ||||
-rw-r--r-- | jjb/cirv/cirv.yaml | 74 | ||||
-rw-r--r-- | jjb/global/slave-params.yaml | 18 | ||||
-rw-r--r-- | jjb/opnfvdocs/docs-rtd.yaml | 4 | ||||
-rw-r--r-- | jjb/releng/opnfv-lint.yaml | 12 | ||||
-rw-r--r-- | jjb/releng/opnfv-utils.yaml | 12 | ||||
-rw-r--r-- | jjb/releng/releng-info-vote.yaml | 2 | ||||
-rw-r--r-- | jjb/releng/releng-release-jobs.yaml | 6 |
10 files changed, 39 insertions, 110 deletions
diff --git a/docs/ci/tables/ci-build-servers.rst b/docs/ci/tables/ci-build-servers.rst index e8890ecfd..b2f4893e3 100644 --- a/docs/ci/tables/ci-build-servers.rst +++ b/docs/ci/tables/ci-build-servers.rst @@ -18,13 +18,13 @@ - 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 diff --git a/gitlab-templates/RTD.gitlab-ci.yml b/gitlab-templates/RTD.gitlab-ci.yml index 198ed5bdc..59b455d69 100644 --- a/gitlab-templates/RTD.gitlab-ci.yml +++ b/gitlab-templates/RTD.gitlab-ci.yml @@ -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 diff --git a/jjb/barometer/barometer.yaml b/jjb/barometer/barometer.yaml index b27781345..2d8e0d36d 100644 --- a/jjb/barometer/barometer.yaml +++ b/jjb/barometer/barometer.yaml @@ -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 diff --git a/jjb/cirv/cirv.yaml b/jjb/cirv/cirv.yaml index e628f43bd..5c0bccf2b 100644 --- a/jjb/cirv/cirv.yaml +++ b/jjb/cirv/cirv.yaml @@ -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' diff --git a/jjb/global/slave-params.yaml b/jjb/global/slave-params.yaml index 2fd701f6c..d23171832 100644 --- a/jjb/global/slave-params.yaml +++ b/jjb/global/slave-params.yaml @@ -575,24 +575,6 @@ 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: - node: diff --git a/jjb/opnfvdocs/docs-rtd.yaml b/jjb/opnfvdocs/docs-rtd.yaml index e680747ef..42dcf31a5 100644 --- a/jjb/opnfvdocs/docs-rtd.yaml +++ b/jjb/opnfvdocs/docs-rtd.yaml @@ -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' diff --git a/jjb/releng/opnfv-lint.yaml b/jjb/releng/opnfv-lint.yaml index dcd262aa5..c20a1ec1f 100644 --- a/jjb/releng/opnfv-lint.yaml +++ b/jjb/releng/opnfv-lint.yaml @@ -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 @@ -150,8 +150,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 diff --git a/jjb/releng/opnfv-utils.yaml b/jjb/releng/opnfv-utils.yaml index 50e4741a6..21725ea98 100644 --- a/jjb/releng/opnfv-utils.yaml +++ b/jjb/releng/opnfv-utils.yaml @@ -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: @@ -150,7 +148,7 @@ name: SLAVE_NAME description: Build Servers default-slaves: - - lf-build2 + - lf-build5 - project-parameter: project: releng branch: master diff --git a/jjb/releng/releng-info-vote.yaml b/jjb/releng/releng-info-vote.yaml index 83818585a..102a77afc 100644 --- a/jjb/releng/releng-info-vote.yaml +++ b/jjb/releng/releng-info-vote.yaml @@ -1,6 +1,6 @@ --- - project: name: info-vote - build-node: lf-build2 + build-node: lf-build5 jobs: - 'info-vote-verify' diff --git a/jjb/releng/releng-release-jobs.yaml b/jjb/releng/releng-release-jobs.yaml index 35fda14ec..39671a869 100644 --- a/jjb/releng/releng-release-jobs.yaml +++ b/jjb/releng/releng-release-jobs.yaml @@ -83,10 +83,10 @@ 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: |