- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
java-version: "openjdk11"
- - sodium:
- branch: "stable/sodium"
os-branch: "queens"
# Used by the release job
staging-profile-id: 9318cf3c82c33
-- project:
- name: aaa-sodium
- jobs:
- - "{project-name}-distribution-check-{stream}"
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: aaa
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-aaa/47615/
- rtd-token: 621132230e1307d38f4aaf27e669d7dfdf98532f
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "aaa"
- project-name: "aaa"
- branch: "stable/sodium"
- mvn-settings: "aaa-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: "odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}"
- email-upstream: "[aaa] [odlparent] [yangtools] [controller]"
-
- # Used by the release job
- staging-profile-id: 9318cf3c82c33
-
- project:
name: aaa-sonar
jobs:
# Used by the release job
staging-profile-id: daa2b00117ed6
-- project:
- name: alt-datastores-sodium
- jobs:
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: alt-datastores
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-alt-datastore/86481/
- rtd-token: dc412b0cc43fba4098173878f970e76380ce0084
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "alt-datastores"
- project-name: "alt-datastores"
- branch: "stable/sodium"
- mvn-settings: "alt-datastores-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: "odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}"
- email-upstream: "[alt-datastores] [odlparent] [yangtools] [controller]"
- build-node: centos7-docker-2c-8g
-
- # Used by the release job
- staging-profile-id: daa2b00117ed6
-
- project:
name: alt-datastores-release-management
jobs:
branch: "stable/aluminium"
- magnesium:
branch: "stable/magnesium"
- - sodium:
- branch: "stable/sodium"
project: ansible
project-name: ansible
# Used by the release job
staging-profile-id: d88dcfe6ce48d
-- project:
- name: archetypes-sodium
- jobs:
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "archetypes"
- project-name: "archetypes"
- branch: "stable/sodium"
- mvn-settings: "archetypes-settings"
- dependencies: "odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},mdsal-merge-{stream}"
- email-upstream: "[archetypes] [odlparent] [yangtools] [controller] [mdsal]"
-
- # Used by the release job
- staging-profile-id: d88dcfe6ce48d
-
- project:
name: archetypes-sonar
jobs:
---
-- project:
- name: autorelease-projects
- jobs:
- - autorelease-branch-cut
- - "autorelease-generate-release-notes-{stream}"
- - "autorelease-release-{stream}-{mvn-version}-{java-version}":
- build-node: centos7-builder-4c-16g
- - "autorelease-version-bump-{stream}-{mvn-version}-{java-version}"
-
- stream:
- - sodium:
- branch: "stable/sodium"
- integration-test: sodium
- cron: "@weekly"
-
- project: releng/autorelease
- project-name: autorelease
- build-node: centos7-builder-2c-8g
- # Before adding more here, beware of https://jira.linuxfoundation.org/browse/RELENG-280
- archive-artifacts: >
- **/*.prop
- **/*.log
- **/target/surefire-reports/*-output.txt
- **/target/failsafe-reports/failsafe-summary.xml
- **/hs_err_*.log
- **/target/feature/feature.xml
- staging-profile-id: 425e43800fea70
- # TODO: **/*.hprof is too large, compress with xz first
- mvn-params: >
- -PrepoBuild
- -P!karaf
- -Pignore-lispflowmapping-integrationtest
- -Dcheckstyle.skip=true
- -Dskip.karaf.featureTest=true
- -Dsft.heap.max=4g
- java-version: openjdk8
-
- project:
name: autorelease-projects-openjdk11
jobs:
name: RELEASE
description: |
Release to generate release notes for.
- Eg. Sodium-SR1, Magnesium-SR2...
+ Eg. Magnesium-SR2, Silicon-SR1 ...
scm:
- lf-infra-gerrit-scm:
git-url: "$GIT_URL/$GERRIT_PROJECT"
branch: "stable/aluminium"
- magnesium:
branch: "stable/magnesium"
- - sodium:
- branch: "stable/sodium"
+++ /dev/null
----
-# Autogenerated by autorelease autorelease-update-validate-autorelease-jobs-{stream} Jenkins job
-- project:
- name: autorelease-validate-sodium
- jobs:
- - "{project-name}-validate-autorelease-{stream}"
- stream: sodium
- branch: stable/sodium
- project-name:
- - aaa:
- project: aaa
- - bgpcep:
- project: bgpcep
- - controller:
- project: controller
- - coe:
- project: coe
- - daexim:
- project: daexim
- - genius:
- project: genius
- - infrautils:
- project: infrautils
- - integration-distribution:
- project: integration/distribution
- - lispflowmapping:
- project: lispflowmapping
- - netconf:
- project: netconf
- - netvirt:
- project: netvirt
- - neutron:
- project: neutron
- - openflowplugin:
- project: openflowplugin
- - ovsdb:
- project: ovsdb
- - serviceutils:
- project: serviceutils
- - sfc:
- project: sfc
+++ /dev/null
----
-# Autogenerated view by autorelease autorelease-update-validate-jobs-{stream} Jenkins job
-- releng_view: &releng_autorelease_view_common_sodium
- name: releng-view-autorelease-sodium
- view-type: list
- filter-executors: false
- filter-queue: false
- columns:
- - status
- - weather
- - job
- - last-success
- - last-failure
- - last-duration
- - build-button
- - jacoco
- - find-bugs
- - robot-list
- recurse: false
-
-- view:
- name: Merge-Sodium
- description: "List of Sodium Merge jobs for Autorelease"
- job-name:
- - "aaa-merge-sodium"
- - "bgpcep-merge-sodium"
- - "controller-merge-sodium"
- - "coe-merge-sodium"
- - "daexim-merge-sodium"
- - "genius-merge-sodium"
- - "infrautils-merge-sodium"
- - "integration/distribution-merge-sodium"
- - "lispflowmapping-merge-sodium"
- - "netconf-merge-sodium"
- - "netvirt-merge-sodium"
- - "neutron-merge-sodium"
- - "openflowplugin-merge-sodium"
- - "ovsdb-merge-sodium"
- - "serviceutils-merge-sodium"
- - "sfc-merge-sodium"
- <<: *releng_autorelease_view_common_sodium
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
java-version: "openjdk11"
- - sodium:
- branch: "stable/sodium"
feature:
- bgp:
# Used by the release job
staging-profile-id: 9427a05049030
-- project:
- name: bgpcep-sodium
- jobs:
- - "{project-name}-distribution-check-{stream}"
- - "{project-name}-maven-javadoc-jobs"
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: bgpcep
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-bgpcep/47576/
- rtd-token: dbe9d1aabbe8812a26b428908f6613c28e3191fc
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "bgpcep"
- project-name: "bgpcep"
- build-node: centos7-builder-8c-8g
- build-timeout: 120
- branch: "stable/sodium"
- mvn-settings: "bgpcep-settings"
- mvn-opts: "-Xmx2048m"
- dependencies: >
- odlparent-merge-{stream},
- yangtools-merge-{stream},
- controller-merge-{stream},
- mdsal-merge-{stream}
- email-upstream: "[bgpcep] [odlparent] [yangtools] [controller] [mdsal]"
-
- # Used by the release job
- staging-profile-id: 9427a05049030
-
- project:
name: bgpcep-sonar
jobs:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
- verify-stream: "sodium"
- verify-branch: "stable/sodium"
+ verify-stream: "magnesium"
+ verify-branch: "stable/magnesium"
verify-karaf-version: "karaf4"
install:
# Used by the release job
staging-profile-id: 942a8075b1f2a
-- project:
- name: bier-sodium
- jobs:
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "bier"
- project-name: "bier"
- branch: "stable/sodium"
- build-node: centos7-builder-2c-8g
- build-timeout: 90
- mvn-settings: "bier-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: ""
- email-upstream: "[bier]"
- disable-job: true
-
- # Used by the release job
- staging-profile-id: 942a8075b1f2a
-
- project:
name: bier-release-management
jobs:
# Used by the release job
staging-profile-id: 96c0be46aac33
-- project:
- name: coe-sodium
- jobs:
- - "{project-name}-distribution-check-{stream}"
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: coe
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-coe/34924/
- rtd-token: 95a5a8fed43b75c6be8432a2643f20a344ba5155
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- project: "coe"
- project-name: "coe"
- stream: sodium
- branch: "stable/sodium"
- mvn-settings: "coe-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: "odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}"
- email-upstream: "[coe] [odlparent] [yangtools] [controller]"
- build-node: centos7-docker-2c-8g
-
- # Used by the release job
- staging-profile-id: 96c0be46aac33
-
- project:
name: coe-sonar
jobs:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
java-version: "openjdk11"
- - sodium:
- branch: "stable/sodium"
os-branch: "queens"
jdk: "openjdk8"
# Used by the release job
staging-profile-id: 96c1c9177efdd
-- project:
- name: controller-sodium
- jobs:
- - "{project-name}-distribution-check-{stream}"
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: controller
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-controller/48288/
- rtd-token: b8440116c823a80c0fb0479eb7448a9196e6932f
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "controller"
- project-name: "controller"
- branch: "stable/sodium"
- mvn-settings: "controller-settings"
- mvn-goals: "clean deploy -Pintegrationtests,docs"
- mvn-opts: "-Xmx4096m -Dmaven.compile.fork=true"
- build-node: centos7-builder-8c-8g
- build-timeout: 90
- dependencies: "odlparent-merge-{stream},yangtools-merge-{stream},aaa-merge-{stream}"
- email-upstream: "[controller] [odlparent] [yangtools] [aaa]"
-
- # Used by the release job
- staging-profile-id: 96c1c9177efdd
-
- project:
name: controller-release-management
jobs:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
# Used by the release job
staging-profile-id: 96e4dade34bd7
-- project:
- name: daexim-sodium
- jobs:
- - "{project-name}-distribution-check-{stream}"
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: daexim
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-daexim/47611/
- rtd-token: 76284f12638574f131cdccdf257d852d07c195fc
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- project: "daexim"
- project-name: "daexim"
- stream: sodium
- branch: "stable/sodium"
- mvn-settings: "daexim-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: "odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}"
- email-upstream: "[daexim] [odlparent] [yangtools] [controller]"
-
- # Used by the release job
- staging-profile-id: 96e4dade34bd7
-
- project:
name: daexim-sonar
jobs:
# Data for csit-verify jobs
# Branch for "last" version detection
- verify-branch: stable/sodium
+ verify-branch: stable/magnesium
# Value for ODL_STREAM
- verify-stream: sodium
+ verify-stream: magnesium
verify-karaf-version: karaf4
verify-jdkversion: openjdk8
yangtools-csit-1node-system-only-aluminium
csit-mri-list-magnesium: >
yangtools-csit-1node-system-only-magnesium
- csit-mri-list-sodium: >
- yangtools-csit-1node-system-only-sodium
csit-sanity-list-silicon: >
openflowplugin-csit-1node-sanity-only-silicon,
distribution-sanity-silicon
csit-sanity-list-magnesium: >
openflowplugin-csit-1node-sanity-only-magnesium,
distribution-sanity-magnesium
- csit-sanity-list-sodium: >
- openflowplugin-csit-1node-sanity-only-sodium,
- distribution-sanity-sodium
csit-weekly-list-silicon: >
controller-csit-1node-notifications-longevity-only-silicon,
controller-csit-3node-drb-partnheal-longevity-only-silicon,
distribution-deploy-magnesium,
distribution-offline-magnesium,
openflowplugin-csit-1node-longevity-only-magnesium
- csit-weekly-list-sodium: >
- controller-csit-1node-notifications-longevity-only-sodium,
- controller-csit-3node-drb-partnheal-longevity-only-sodium,
- controller-csit-3node-drb-precedence-longevity-only-sodium,
- controller-csit-3node-ddb-expl-lead-movement-longevity-only-sodium,
- bgpcep-csit-3node-bgpclustering-longevity-only-sodium,
- distribution-deploy-sodium,
- distribution-offline-sodium,
- openflowplugin-csit-1node-longevity-only-sodium
# Used by the release job
staging-profile-id: 96e6a0327484f
-- project:
- name: dlux-sodium
- jobs:
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "dlux"
- project-name: "dlux"
- branch: "stable/sodium"
- mvn-settings: "dlux-settings"
- dependencies: "odlparent-merge-{stream}"
- email-upstream: "[dlux] [odlparent]"
-
- # Used by the release job
- staging-profile-id: 96e6a0327484f
-
- project:
name: dlux-release-management
jobs:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
# Used by the release job
staging-profile-id: 96e6fb1e65bf9
-- project:
- name: dluxapps-sodium
- jobs:
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- project: "dluxapps"
- project-name: "dluxapps"
- stream: sodium
- branch: "stable/sodium"
- build-node: centos7-builder-2c-8g
- mvn-settings: "dluxapps-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: "odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}"
- email-upstream: "[dluxapps] [odlparent] [yangtools] [controller]"
- disable-job: true
-
- # Used by the release job
- staging-profile-id: 96e6fb1e65bf9
-
- project:
name: dluxapps-release-management
jobs:
branch: "master"
- magnesium:
branch: "stable/magnesium"
- - sodium:
- branch: "stable/sodium"
build-node: centos7-builder-2c-2g
branch: "stable/aluminium"
- magnesium:
branch: "stable/magnesium"
- - sodium:
- branch: "stable/sodium"
project: docs
project-name: docs
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
java-version: "openjdk11"
- - sodium:
- branch: "stable/sodium"
os-branch: "queens"
# Used by the release job
staging-profile-id: 96fb4b6d9d1ee
-- project:
- name: genius-sodium
- jobs:
- - "{project-name}-distribution-check-{stream}"
- - "{project-name}-maven-javadoc-jobs"
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: genius
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-genius/34944/
- rtd-token: 7ba691afb89bd53d19fd7d8585fdd8bd6620de7f
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "genius"
- project-name: "genius"
- branch: "stable/sodium"
- build-node: centos7-builder-2c-8g
- mvn-settings: "genius-settings"
- mvn-opts: "-Xmx1024m"
- build-timeout: 90
- dependencies: >
- controller-merge-{stream},
- yangtools-merge-{stream},
- odlparent-merge-{stream},
- openflowplugin-merge-{stream},
- neutron-merge-{stream}
- email-upstream: "[genius] [controller] [yangtools] [odlparent] [openflowplugin] [neutron]"
-
- # Used by the release job
- staging-profile-id: 96fb4b6d9d1ee
-
- project:
name: genius-sonar
jobs:
# Used by the release job
staging-profile-id: 96fbb93f95a76
-- project:
- name: groupbasedpolicy-sodium
- jobs:
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "groupbasedpolicy"
- project-name: "groupbasedpolicy"
- branch: "stable/sodium"
- build-node: centos7-builder-2c-8g
- mvn-settings: "groupbasedpolicy-settings"
- mvn-goals: "-U clean deploy findbugs:findbugs"
- mvn-opts: "-Xmx1024m"
- build-timeout: 90
- dependencies: >
- openflowjava-merge-{stream},
- openflowplugin-merge-{stream},
- neutron-merge-{stream},
- sfc-merge-{stream},
- ovsdb-merge-{stream}
- email-upstream: "[groupbasedpolicy] [openflowjava] [openflowplugin] [neutron] [sfc] [ovsdb]"
- disable-job: true
-
- # Used by the release job
- staging-profile-id: 96fbb93f95a76
-
- project:
name: groupbasedpolicy-release-management
jobs:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
os-branch: "queens"
jdk: "openjdk8"
# Used by the release job
staging-profile-id: 96fca0367756c
-- project:
- name: infrautils-sodium
- jobs:
- - "{project-name}-distribution-check-{stream}"
- - "{project-name}-maven-javadoc-jobs"
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- doc-dir: .tox/docs/tmp/html
- project-pattern: infrautils
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-infrautils/38993/
- rtd-token: 294c76173237e3a088365c31012cf4ddaa767dc9
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "infrautils"
- project-name: "infrautils"
- branch: "stable/sodium"
- mvn-settings: "infrautils-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: "odlparent-merge-{stream}"
- email-upstream: "[infrautils] [odlparent]"
-
- # Used by the release job
- staging-profile-id: 96fca0367756c
-
- project:
name: infrautils-release-management
jobs:
+++ /dev/null
-aaa-csit-1node-authn-all-sodium,
-bgpcep-csit-1node-bgp-ingest-all-sodium,
-bgpcep-csit-1node-bgp-ingest-mixed-all-sodium,
-bgpcep-csit-1node-throughpcep-all-sodium,
-bgpcep-csit-1node-userfeatures-all-sodium,
-controller-csit-1node-akka1-all-sodium,
-controller-csit-1node-benchmark-all-sodium,
-controller-csit-1node-rest-cars-perf-all-sodium,
-controller-csit-3node-benchmark-all-sodium,
-controller-csit-3node-clustering-ask-all-sodium,
-controller-csit-3node-clustering-tell-all-sodium,
-controller-csit-3node-rest-clust-cars-perf-ask-only-sodium,
-controller-csit-3node-rest-clust-cars-perf-tell-only-sodium,
-daexim-csit-1node-basic-only-sodium,
-daexim-csit-3node-clustering-basic-only-sodium,
-distribution-csit-1node-userfeatures-all-sodium,
-distribution-csit-managed-sodium,
-genius-csit-1node-upstream-only-sodium,
-genius-csit-3node-upstream-only-sodium,
-lispflowmapping-csit-1node-msmr-all-sodium,
-lispflowmapping-csit-3node-msmr-all-sodium,
-netconf-csit-1node-callhome-only-sodium,
-netconf-csit-1node-scale-max-devices-only-sodium,
-netconf-csit-1node-scale-only-sodium,
-netconf-csit-1node-userfeatures-all-sodium,
-netconf-csit-1node-userfeatures-rfc8040-all-sodium,
-netconf-csit-3node-clustering-only-sodium,
-netconf-csit-3node-clustering-scale-only-sodium,
-netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-dcgw-sodium,
-netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-itm-direct-tunnels-sodium,
-netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-snat-conntrack-sodium,
-netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-sodium,
-netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-rocky-dcgw-sodium,
-netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-rocky-upgrade-snat-conntrack-sodium,
-netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-rocky-upgrade-sodium,
-netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-rocky-upstream-stateful-itm-direct-tunnels-sodium,
-netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-rocky-upstream-stateful-snat-conntrack-sodium,
-netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-rocky-upstream-stateful-sodium,
-netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-snat-conntrack-sodium,
-netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-sodium,
-netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-rocky-upstream-stateful-itm-direct-tunnels-sodium,
-netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-rocky-upstream-stateful-snat-conntrack-sodium,
-netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-rocky-upstream-stateful-sodium,
-netvirt-csit-3node-0cmb-1ctl-2cmp-openstack-queens-dcgw-sodium,
-netvirt-csit-3node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-itm-direct-tunnels-sodium,
-netvirt-csit-3node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-snat-conntrack-sodium,
-netvirt-csit-3node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-sodium,
-netvirt-csit-3node-0cmb-1ctl-2cmp-openstack-rocky-dcgw-sodium,
-netvirt-csit-3node-0cmb-1ctl-2cmp-openstack-rocky-upstream-stateful-itm-direct-tunnels-sodium,
-netvirt-csit-3node-0cmb-1ctl-2cmp-openstack-rocky-upstream-stateful-snat-conntrack-sodium,
-netvirt-csit-3node-0cmb-1ctl-2cmp-openstack-rocky-upstream-stateful-sodium,
-netvirt-csit-hwvtep-1node-0cmb-1ctl-2cmp-openstack-rocky-upstream-stateful-sodium,
-netvirt-csit-hwvtep-3node-0cmb-1ctl-2cmp-openstack-rocky-upstream-stateful-sodium,
-odltools-csit-1node-upstream-all-sodium,
-openflowplugin-csit-1node-cbench-only-sodium,
-openflowplugin-csit-1node-flow-services-all-sodium,
-openflowplugin-csit-1node-perf-bulkomatic-only-sodium,
-openflowplugin-csit-1node-perf-stats-collection-only-sodium,
-openflowplugin-csit-1node-scale-link-only-sodium,
-openflowplugin-csit-1node-scale-only-sodium,
-openflowplugin-csit-1node-scale-switch-only-sodium,
-openflowplugin-csit-3node-clustering-bulkomatic-only-sodium,
-openflowplugin-csit-3node-clustering-only-sodium,
-openflowplugin-csit-3node-clustering-perf-bulkomatic-only-sodium,
-ovsdb-csit-1node-upstream-southbound-all-sodium,
-ovsdb-csit-3node-upstream-clustering-only-sodium,
-sfc-csit-3node-docker-full-deploy-all-sodium,
-sfc-csit-3node-rest-basic-all-sodium,
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
java-version: openjdk11
jre: "openjdk11"
karaf-version: odl
- - sodium:
- branch: "stable/sodium"
- karaf-version: odl
- # Self-Managed projects repos and features:
- sm-repos: >
- mvn:org.opendaylight.transportpce/features-transportpce//xml/features
- sm-features: >
- odl-transportpce,
- odl-transportpce-api,
- odl-transportpce-ordmodels
- project:
name: distribution-managed
openflowplugin-maven-merge-{stream},
ovsdb-maven-merge-{stream},
serviceutils-maven-merge-{stream},
- - sodium:
- branch: "stable/sodium"
- dependencies: >
- aaa-merge-{stream},
- bgpcep-merge-{stream},
- coe-merge-{stream},
- controller-merge-{stream},
- daexim-merge-{stream},
- genius-merge-{stream},
- infrautils-merge-{stream},
- lispflowmapping-merge-{stream},
- netconf-merge-{stream},
- netvirt-merge-{stream}
- neutron-merge-{stream},
- openflowplugin-merge-{stream},
- ovsdb-merge-{stream},
- serviceutils-merge-{stream},
- sfc-merge-{stream}
- project:
name: distribution-full
karaf-version: odl
dependencies: >
distribution-merge-managed-{stream},
- - sodium:
- branch: "stable/sodium"
- karaf-version: odl
- dependencies: >
- distribution-merge-managed-{stream},
- transportpce-merge-{stream}
- project:
name: distribution-release
- magnesium:
branch: "stable/magnesium"
java-version: "openjdk11"
- - sodium:
- branch: "stable/sodium"
- project:
name: distribution-sonar
daexim jsonrpc ovsdb neutron openflowplugin genius lispflowmapping netvirt
bgpcep integration/distribution
- - sodium:
- branch: "stable/sodium"
- mvn-version: "mvn35"
- csit-list: !include: csit-jobs-sodium.lst
- build-order: >
- odlparent yangtools mdsal infrautils controller serviceutils aaa netconf
- daexim ovsdb neutron openflowplugin coe genius lispflowmapping sfc netvirt
- bgpcep integration/distribution
-
- project:
name: integration-distribution
project: integration/test
csit-list: !include: csit-jobs-magnesium.lst
csit-mri-list: "{csit-mri-list-magnesium}"
csit-weekly-list: "{csit-weekly-list-magnesium}"
- - sodium:
- branch: "stable/sodium"
- csit-blocklist: >
- alto bier dluxapps groupbasedpolicy jsonrpc l2switch mdsal nemo
- p4plugin packetcable sxp telemetry tsdr unimgr usc yangtools
- gate longevity sanity tdd tempest wip
- bgpcep-csit-3node-bgpclustering-all
- bgpcep-csit-3node-bgpclustering-ha-only
- netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-pike
- netvirt-csit-1node-1cmb-0ctl-0cmp-openstack-queens-upstream-stateful-itm-direct
- netvirt-csit-3node-1cmb
- openflowplugin-csit-1node-bundle-based-reconciliation
- last-line-is-ignored-so-we-need-something-dummy-here-to-make-sure-the-real-last-line-is-used
- csit-list: !include: csit-jobs-sodium.lst
- csit-mri-list: "{csit-mri-list-sodium}"
- csit-weekly-list: "{csit-weekly-list-sodium}"
- project:
name: integration-sanity
branch: "stable/magnesium"
karaf-version: odl
csit-sanity-list: "{csit-sanity-list-magnesium}"
- - sodium:
- branch: "stable/sodium"
- karaf-version: odl
- csit-sanity-list: "{csit-sanity-list-sodium}"
- job-template:
name: "integration-merge-dashboard"
git checkout FETCH_HEAD
# If the patch is for MRI project, adjust the MRI versions
# shellcheck disable=SC2235
- if [ "${PROJECT}" == "odlparent" ] || [ "${PROJECT}" == "yangtools" ] || [ "${PROJECT}" == "mdsal" ] || ([ "${PROJECT}" == "controller" ] && [ "${DISTROSTREAM}" != "magnesium" ] && [ "${DISTROSTREAM}" != "sodium" ]); then
+ if [ "${PROJECT}" == "odlparent" ] || [ "${PROJECT}" == "yangtools" ] || [ "${PROJECT}" == "mdsal" ] || ([ "${PROJECT}" == "controller" ] && [ "${DISTROSTREAM}" != "magnesium" ]); then
ODLPARENT_VERSION="$(xmlstarlet sel -N x=http://maven.apache.org/POM/4.0.0 -t -v //x:odlparent.version ../pom.xml)"
echo "change odlparent version to ${ODLPARENT_VERSION}"
find . -name "pom.xml" -print0 | xargs -0 xmlstarlet ed --inplace -P -N x=http://maven.apache.org/POM/4.0.0 -u //x:version\[../x:parent/x:groupId=\"org.opendaylight.odlparent\"\] -v "${ODLPARENT_VERSION}"
find . -name "pom.xml" -print0 | xargs -0 xmlstarlet ed --inplace -P -N x=http://maven.apache.org/POM/4.0.0 -u //x:version\[../x:groupId=\"org.opendaylight.odlparent\"\] -v "${ODLPARENT_VERSION}"
fi
# shellcheck disable=SC2235
- if [ "${PROJECT}" == "yangtools" ] || [ "${PROJECT}" == "mdsal" ] || ([ "${PROJECT}" == "controller" ] && [ "${DISTROSTREAM}" != "magnesium" ] && [ "${DISTROSTREAM}" != "sodium" ]); then
+ if [ "${PROJECT}" == "yangtools" ] || [ "${PROJECT}" == "mdsal" ] || ([ "${PROJECT}" == "controller" ] && [ "${DISTROSTREAM}" != "magnesium" ]); then
YANGTOOLS_VERSION="$(xmlstarlet sel -N x=http://maven.apache.org/POM/4.0.0 -t -v //x:yangtools.version ../pom.xml)"
echo "change yangtools version to ${YANGTOOLS_VERSION}"
find . -name "pom.xml" -print0 | xargs -0 xmlstarlet ed --inplace -P -N x=http://maven.apache.org/POM/4.0.0 -u //x:version\[../x:parent/x:groupId=\"org.opendaylight.yangtools\"\] -v "${YANGTOOLS_VERSION}"
find . -name "pom.xml" -print0 | xargs -0 xmlstarlet ed --inplace -P -N x=http://maven.apache.org/POM/4.0.0 -u //x:version\[../x:groupId=\"org.opendaylight.yangtools\"\] -v "${YANGTOOLS_VERSION}"
fi
# shellcheck disable=SC2235
- if [ "${PROJECT}" == "mdsal" ] || ([ "${PROJECT}" == "controller" ] && [ "${DISTROSTREAM}" != "magnesium" ] && [ "${DISTROSTREAM}" != "sodium" ]); then
+ if [ "${PROJECT}" == "mdsal" ] || ([ "${PROJECT}" == "controller" ] && [ "${DISTROSTREAM}" != "magnesium" ]); then
MDSAL_VERSION="$(xmlstarlet sel -N x=http://maven.apache.org/POM/4.0.0 -t -v //x:mdsal.version ../pom.xml)"
echo "change mdsal version to ${MDSAL_VERSION}"
find . -name "pom.xml" -print0 | xargs -0 xmlstarlet ed --inplace -P -N x=http://maven.apache.org/POM/4.0.0 -u //x:version\[../x:parent/x:groupId=\"org.opendaylight.mdsal\"\] -v "${MDSAL_VERSION}"
find . -name "pom.xml" -print0 | xargs -0 xmlstarlet ed --inplace -P -N x=http://maven.apache.org/POM/4.0.0 -u //x:version\[../x:groupId=\"org.opendaylight.mdsal\"\] -v "${MDSAL_VERSION}"
fi
- if [ "${PROJECT}" == "controller" ] && [ "${DISTROSTREAM}" != "magnesium" ] && [ "${DISTROSTREAM}" != "sodium" ]; then
+ if [ "${PROJECT}" == "controller" ] && [ "${DISTROSTREAM}" != "magnesium" ]; then
CONTROLLER_VERSION="$(xmlstarlet sel -N x=http://maven.apache.org/POM/4.0.0 -t -v //x:controller.version ../pom.xml)"
echo "change controller version to ${CONTROLLER_VERSION}"
find . -name "pom.xml" -print0 | xargs -0 xmlstarlet ed --inplace -P -N x=http://maven.apache.org/POM/4.0.0 -u //x:version\[../x:parent/x:groupId=\"org.opendaylight.controller\"\] -v "${CONTROLLER_VERSION}"
else
# If project with no patch is MRI, download release tag:
# shellcheck disable=SC2235
- if [ "${PROJECT}" == "odlparent" ] || [ "${PROJECT}" == "yangtools" ] || [ "${PROJECT}" == "mdsal" ] || ([ "${PROJECT}" == "controller" ] && [ "${DISTROSTREAM}" != "magnesium" ] && [ "${DISTROSTREAM}" != "sodium" ]); then
+ if [ "${PROJECT}" == "odlparent" ] || [ "${PROJECT}" == "yangtools" ] || [ "${PROJECT}" == "mdsal" ] || ([ "${PROJECT}" == "controller" ] && [ "${DISTROSTREAM}" != "magnesium" ]); then
# shellcheck disable=SC2086
PROJECT_VERSION="$(xmlstarlet sel -N x=http://maven.apache.org/POM/4.0.0 -t -v //x:${PROJECT_SHORTNAME}.version ../pom.xml)"
echo "2. checking out tag v${PROJECT_VERSION}"
$MAVEN_OPTIONS
popd
done
-
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
# Used by the release job
staging-profile-id: 96fdf4408765d
-- project:
- name: jsonrpc-sodium
- jobs:
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: jsonrpc
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-jsonrpc/91870/
- rtd-token: 04d31d4414734686d63f9b160e974fe5a18d031d
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- project: "jsonrpc"
- project-name: "jsonrpc"
- stream: sodium
- branch: "stable/sodium"
- mvn-settings: "jsonrpc-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: "odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},mdsal-merge-{stream}"
- email-upstream: "[jsonrpc] [odlparent] [yangtools] [controller] [mdsal]"
-
- # Used by the release job
- staging-profile-id: 96fdf4408765d
-
- project:
name: jsonrpc-release-management
jobs:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
os-branch: "queens"
# Used by the release job
staging-profile-id: 96fee85953ca0
-- project:
- name: l2switch-aluminium
- jobs:
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: aluminium
- project: "l2switch"
- project-name: "l2switch"
- branch: "stable/aluminium"
- mvn-settings: "l2switch-settings"
- mvn-opts: "-Xmx1024m -Dmaven.compile.fork=true"
- dependencies: >
- odlparent-merge-{stream},
- yangtools-merge-{stream},
- controller-merge-{stream},
- openflowjava-merge-{stream},
- openflowplugin-merge-{stream}
- email-upstream: "[l2switch] [odlparent] [yangtools] [controller] [openflowjava] [openflowplugin]"
- disable-job: true
-
- # Used by the release job
- staging-profile-id: 96fee85953ca0
-
- project:
name: l2switch-magnesium
jobs:
# Used by the release job
staging-profile-id: 96fee85953ca0
-- project:
- name: l2switch-sodium
- jobs:
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "l2switch"
- project-name: "l2switch"
- branch: "stable/sodium"
- mvn-settings: "l2switch-settings"
- mvn-opts: "-Xmx1024m -Dmaven.compile.fork=true"
- dependencies: >
- odlparent-merge-{stream},
- yangtools-merge-{stream},
- controller-merge-{stream},
- openflowjava-merge-{stream},
- openflowplugin-merge-{stream}
- email-upstream: "[l2switch] [odlparent] [yangtools] [controller] [openflowjava] [openflowplugin]"
- disable-job: true
-
- # Used by the release job
- staging-profile-id: 96fee85953ca0
-
- project:
name: l2switch-release-management
jobs:
rtd-token: 47a135ceba9053c6f88394a7171ebf5602a9fc95
stream: any
branch: "*"
+ parallel: true
git-url: https://gerrit.linuxfoundation.org/infra/$GERRIT_PROJECT
gerrit-server-name: lf-releng
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
# Used by the release job
staging-profile-id: 96fff2503b766
-- project:
- name: lispflowmapping-sodium
- jobs:
- - "{project-name}-distribution-check-{stream}"
- - "{project-name}-maven-javadoc-jobs"
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: lispflowmapping
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-lispflowmapping/47783/
- rtd-token: 181be9dd804e4969b9f318a6f1988e3cbee9d9a8
- - odl-maven-jobs
- - odl-maven-verify-jobs:
- java-version:
- - openjdk8
-
- stream: sodium
- project: "lispflowmapping"
- project-name: "lispflowmapping"
- branch: "stable/sodium"
- mvn-settings: "lispflowmapping-settings"
- mvn-goals: "clean deploy findbugs:findbugs javadoc:aggregate -DrepoBuild"
- mvn-opts: "-Xmx2048m -Dmaven.compile.fork=true"
- dependencies: "controller-merge-{stream},odlparent-merge-{stream},yangtools-merge-{stream},neutron-merge-{stream}"
- email-upstream: "[lispflowmapping] [controller] [odlparent] [yangtools] [neutron]"
- archive-artifacts: >
- **/*.log
- **/target/surefire-reports/*-output.txt
-
- build-node: centos7-builder-8c-8g
-
- # Used by the release job
- staging-profile-id: 96fff2503b766
-
- project:
name: lispflowmapping-sonar
jobs:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
java-version: "openjdk11"
- - sodium:
- branch: "stable/sodium"
os-branch: "queens"
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
# Used by the release job
staging-profile-id: a67a9890f6202
-- project:
- name: nemo-sodium
- jobs:
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "nemo"
- project-name: "nemo"
- branch: "stable/sodium"
- mvn-settings: "nemo-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: ""
- email-upstream: "[nemo]"
- disable-job: true
-
- # Used by the release job
- staging-profile-id: a67a9890f6202
-
- project:
name: nemo-release-management
jobs:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
java-version: "openjdk11"
- - sodium:
- branch: "stable/sodium"
os-branch: "queens"
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
branch: "master"
jre: "openjdk11"
robot-options:
- "-v USE_NETCONF_CONNECTOR:False -v SCHEMA_MODEL:juniper -v INIT_DEVICE_COUNT:250
- -v MAX_DEVICE_COUNT:1000 -v DEVICE_INCREMENT:100 -v TESTTOOL_BOOT_TIMEOUT:600s
+ "-v USE_NETCONF_CONNECTOR:False -v SCHEMA_MODEL:juniper -v INIT_DEVICE_COUNT:400
+ -v MAX_DEVICE_COUNT:3000 -v DEVICE_INCREMENT:200 -v TESTTOOL_BOOT_TIMEOUT:600s
-v MAX_HEAP:4G --flattenkeywords name:*repeat*keyword*"
- magnesium:
branch: "stable/magnesium"
"-v USE_NETCONF_CONNECTOR:False -v SCHEMA_MODEL:juniper -v INIT_DEVICE_COUNT:250
-v MAX_DEVICE_COUNT:1000 -v DEVICE_INCREMENT:100 -v TESTTOOL_BOOT_TIMEOUT:600s
-v MAX_HEAP:4G --flattenkeywords name:*repeat*keyword*"
- - sodium:
- branch: "stable/sodium"
- robot-options:
- "-v USE_NETCONF_CONNECTOR:False -v SCHEMA_MODEL:juniper -v INIT_DEVICE_COUNT:10
- -v MAX_DEVICE_COUNT:500 -v DEVICE_INCREMENT:25 -v TESTTOOL_BOOT_TIMEOUT:600s
- -v MAX_HEAP:4G --flattenkeywords name:*repeat*keyword*"
install:
- only:
01-plot-yaxis: "Devices"
01-plot-group: "Netconf Devices"
01-plot-data-file: "devices.csv"
+
+ build-timeout: "720"
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
# Used by the release job
staging-profile-id: a67b22fc3663f
-- project:
- name: netconf-sodium
- jobs:
- - "{project-name}-distribution-check-{stream}"
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: netconf
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-netconf/48397/
- rtd-token: aee2df909686ab7ba36f2ed08d90bdcf81f7b8dc
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "netconf"
- project-name: "netconf"
- branch: "stable/sodium"
- build-node: centos7-builder-2c-8g
- mvn-settings: "netconf-settings"
- mvn-goals: "clean deploy -Pintegrationtests"
- mvn-opts: "-Xmx2048m -Dmaven.compile.fork=true"
- build-timeout: 90
- dependencies: "aaa-merge-{stream},controller-merge-{stream},odlparent-merge-{stream},yangtools-merge-{stream}"
- email-upstream: "[netconf] [aaa] [controller] [odlparent] [yangtools]"
-
- # Used by the release job
- staging-profile-id: a67b22fc3663f
-
- project:
name: netconf-sonar
jobs:
openstack_system_image: "{openstack_stein_system_image}"
openstack_system2_image: "{openstack_stein_system_image}"
schedule: "{schedule-weekly}"
-
-- project:
- name: netvirt-csit-hwvtep-openstack-integration-sodium-rocky
- jobs:
- - inttest-csit-hwvtep-openstack-custom
-
- project: "netvirt"
- stream: "sodium"
- branch: "stable/sodium"
- testplan: "{project}-{topology}-l2gw-openstack.txt"
- odl-ml2-driver-version: "v2"
- enable-openstack-services: "placement-api,l2gw-plugin"
- enable-openstack-compute-services: "placement-client"
- security-group-mode: "stateful"
- odl_system_flavor: odl-highcpu-2
- openstack_system_flavor: odl-highcpu-8
- openstack_system2_flavor: odl-highcpu-4
- tools_system_count: 2
- tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - x86_64 - 20200811-124233.615
- os-cmb-cnt: 0
- os-ctl-cnt: 1
- os-cmp-cnt: 2
-
- # TODO: remove this flag and instead use the enable-openstack-services list to know if l2gw is enabled
- enable-networking-l2gw: "yes"
-
- topology:
- - 1node:
- openstack_system2_count: 2
- odl_system_count: 1
- enable-haproxy: "no"
- install-features: "odl-netvirt-openstack"
- - 3node:
- openstack_system2_count: 3
- odl_system_count: 3
- enable-haproxy: "yes"
- install-features: "odl-jolokia,odl-netvirt-openstack"
-
- functionality:
- - upstream-stateful:
- schedule: "{schedule-weekly}"
- - gate-stateful
-
- openstack:
- - rocky:
- openstack-branch: "stable/rocky"
- odl-ml2-branch: "stable/rocky"
- odl-ml2-port-binding: "pseudo-agentdb-binding"
- openstack_system_image: "{openstack_rocky_system_image}"
- openstack_system2_image: "{openstack_rocky_system_image}"
- schedule: "{schedule-weekly}"
---
-- project:
- name: netvirt-csit-upgrade-openstack-integration-rocky
- jobs:
- - inttest-csit-openstack-custom
-
- project: "netvirt"
-
- stream:
- - sodium:
- branch: "stable/sodium"
-
- testplan: "{project}-{topology}-openstack-upgrade.txt"
- odl-ml2-driver-version: "v2"
- enable-openstack-services: "placement-api,l2gw-plugin"
- enable-openstack-compute-services: "placement-client"
- security-group-mode: "stateful"
- group-add-mod-enabled: "true"
- odl_system_flavor: odl-highcpu-2
- openstack_system_flavor: odl-highcpu-8
- openstack_system2_flavor: odl-highcpu-4
- os-cmb-cnt: 0
- os-ctl-cnt: 1
- os-cmp-cnt: 2
-
- topology:
- - 1node:
- openstack_system2_count: 2
- odl_system_count: 1
- enable-haproxy: "no"
- install-features: "odl-netvirt-openstack"
-
- functionality:
- - upgrade:
- schedule: "{schedule-weekly}"
- - upgrade-snat-conntrack:
- odl-snat-mode: "conntrack"
- schedule: "{schedule-weekly}"
-
- openstack:
- - rocky:
- openstack-branch: "stable/rocky"
- odl-ml2-branch: "stable/rocky"
- odl-ml2-port-binding: "pseudo-agentdb-binding"
- openstack_system_image: "{openstack_rocky_system_image}"
- openstack_system2_image: "{openstack_rocky_system_image}"
-
- project:
name: netvirt-csit-upgrade-openstack-integration-rocky-aluminium
jobs:
jobs:
- inttest-csit-openstack-custom
#temporarily disabling Stein jobs
- disabled: true
+ disable-job: true
project: "netvirt"
stream: "silicon"
branch: "master"
- inttest-csit-openstack-custom
#temporarily disabling Stein jobs
- disabled: true
+ disable-job: true
project: "netvirt"
stream: "aluminium"
branch: "stable/aluminium"
- inttest-csit-openstack-custom
#temporarily disabling Stein jobs
- disabled: true
+ disable-job: true
project: "netvirt"
stream: "magnesium"
branch: "stable/magnesium"
openstack_system_image: "{openstack_stein_system_image}"
openstack_system2_image: "{openstack_stein_system_image}"
-- project:
- name: netvirt-csit-openstack-integration-sodium-queens
- jobs:
- - inttest-csit-openstack-custom
-
- project: "netvirt"
- stream: "sodium"
- branch: "stable/sodium"
- testplan: "{project}-{topology}-openstack.txt"
- odl-ml2-driver-version: "v2"
- enable-openstack-services: "placement-api,tempest"
- enable-openstack-compute-services: "placement-client"
- security-group-mode: "stateful"
- odl_system_flavor: odl-highcpu-2
- openstack_system_flavor: odl-highcpu-8
- openstack_system2_flavor: odl-highcpu-4
- tools_system_count: 0
- os-cmb-cnt: 0
- os-ctl-cnt: 1
- os-cmp-cnt: 2
-
- topology:
- - 1node:
- openstack_system2_count: 2
- odl_system_count: 1
- enable-haproxy: "no"
- install-features: "odl-netvirt-openstack"
- robot-options: "-v FAIL_ON_EXCEPTIONS:True"
- - 3node:
- openstack_system2_count: 3
- odl_system_count: 3
- enable-haproxy: "yes"
- install-features: "odl-jolokia,odl-netvirt-openstack"
-
- functionality:
- - upstream-stateful:
- schedule: "{schedule-weekly}"
- - upstream-stateful-itm-direct-tunnels:
- enable-itm-direct-tunnels: "true"
- schedule: "{schedule-weekly}"
- - upstream-stateful-snat-conntrack:
- odl-snat-mode: "conntrack"
- schedule: "{schedule-weekly}"
- - gate-stateful
- - gate-stateful-itm-direct-tunnels:
- enable-itm-direct-tunnels: "true"
- schedule: "{schedule-weekly}"
- - gate-stateful-snat-conntrack:
- odl-snat-mode: "conntrack"
- - gate-minimal-cluster:
- testplan: "{project}-{topology}-minimal-openstack.txt"
- - dcgw:
- testplan: "{project}-{topology}-dcgw-openstack.txt"
- schedule: "{schedule-weekly}"
- tools_system_count: 3
- enable-gre-type-driver: "yes"
- # Job for Test Driven Development with it's own testplan to run new/non-passing suites. scheduled manually.
- - gate-tdd-wip:
- testplan: "{project}-{topology}-tdd-wip-openstack.txt"
- schedule: "{schedule-weekly}"
- tools_system_count: 3
- enable-gre-type-driver: "yes"
- - tempest-stateful:
- test-suites: "openstack/tempest/tempest.robot"
- testplan: "{project}-{topology}-openstack-tempest.txt"
- schedule: "{schedule-weekly}"
- - tempest-stateful-snat-conntrack:
- test-suites: "openstack/tempest/tempest.robot"
- testplan: "{project}-{topology}-openstack-tempest.txt"
- odl-snat-mode: "conntrack"
- schedule: "{schedule-weekly}"
- - gate-tempest-stateful:
- test-suites: "openstack/tempest/tempest.robot"
- testplan: "{project}-{topology}-openstack-tempest.txt"
- - gate-tempest-stateful-snat-conntrack:
- test-suites: "openstack/tempest/tempest.robot"
- testplan: "{project}-{topology}-openstack-tempest.txt"
- odl-snat-mode: "conntrack"
-
- openstack:
- - queens:
- openstack-branch: "stable/queens"
- odl-ml2-branch: "stable/queens"
- odl-ml2-port-binding: "pseudo-agentdb-binding"
- openstack_system_image: "{openstack_queens_system_image}"
- openstack_system2_image: "{openstack_queens_system_image}"
- schedule: "{schedule-weekly}"
-
-- project:
- name: netvirt-csit-openstack-integration-sodium-rocky
- jobs:
- - inttest-csit-openstack-custom
-
- project: "netvirt"
- stream: "sodium"
- branch: "stable/sodium"
- testplan: "{project}-{topology}-openstack.txt"
- odl-ml2-driver-version: "v2"
- enable-openstack-services: "placement-api,tempest"
- enable-openstack-compute-services: "placement-client"
- security-group-mode: "stateful"
- odl_system_flavor: odl-highcpu-2
- openstack_system_flavor: odl-highcpu-8
- openstack_system2_flavor: odl-highcpu-4
- tools_system_count: 0
- os-cmb-cnt: 0
- os-ctl-cnt: 1
- os-cmp-cnt: 2
-
- topology:
- - 1node:
- openstack_system2_count: 2
- odl_system_count: 1
- enable-haproxy: "no"
- install-features: "odl-netvirt-openstack"
- robot-options: "-v FAIL_ON_EXCEPTIONS:True"
- - 3node:
- openstack_system2_count: 3
- odl_system_count: 3
- enable-haproxy: "yes"
- install-features: "odl-jolokia,odl-netvirt-openstack"
-
- functionality:
- - upstream-stateful:
- schedule: "{schedule-weekly}"
- - upstream-stateful-itm-direct-tunnels:
- enable-itm-direct-tunnels: "true"
- schedule: "{schedule-weekly}"
- - upstream-stateful-snat-conntrack:
- odl-snat-mode: "conntrack"
- schedule: "{schedule-weekly}"
- - gate-stateful
- - gate-stateful-itm-direct-tunnels:
- enable-itm-direct-tunnels: "true"
- - gate-stateful-snat-conntrack:
- odl-snat-mode: "conntrack"
- - gate-minimal-cluster:
- testplan: "{project}-{topology}-minimal-openstack.txt"
- - dcgw:
- testplan: "{project}-{topology}-dcgw-openstack.txt"
- schedule: "{schedule-weekly}"
- tools_system_count: 3
- enable-gre-type-driver: "yes"
- # Job for Test Driven Development with it's own testplan to run new/non-passing suites. scheduled manually.
- - gate-tdd-wip:
- testplan: "{project}-{topology}-tdd-wip-openstack.txt"
- schedule: "{schedule-weekly}"
- tools_system_count: 3
- enable-gre-type-driver: "yes"
- - tempest-stateful:
- test-suites: "openstack/tempest/tempest.robot"
- testplan: "{project}-{topology}-openstack-tempest.txt"
- schedule: "{schedule-weekly}"
- - tempest-stateful-snat-conntrack:
- test-suites: "openstack/tempest/tempest.robot"
- testplan: "{project}-{topology}-openstack-tempest.txt"
- odl-snat-mode: "conntrack"
- schedule: "{schedule-weekly}"
- - gate-tempest-stateful:
- test-suites: "openstack/tempest/tempest.robot"
- testplan: "{project}-{topology}-openstack-tempest.txt"
- - gate-tempest-stateful-snat-conntrack:
- test-suites: "openstack/tempest/tempest.robot"
- testplan: "{project}-{topology}-openstack-tempest.txt"
- odl-snat-mode: "conntrack"
-
- openstack:
- - rocky:
- openstack-branch: "stable/rocky"
- odl-ml2-branch: "stable/rocky"
- odl-ml2-port-binding: "pseudo-agentdb-binding"
- openstack_system_image: "{openstack_rocky_system_image}"
- openstack_system2_image: "{openstack_rocky_system_image}"
-
-- project:
- name: netvirt-csit-1cmb-0ctl-0cmp-openstack-integration-queens
- jobs:
- - inttest-csit-openstack-custom
-
- project: "netvirt"
- testplan: "{project}-{topology}-openstack.txt"
- odl-ml2-driver-version: "v2"
- enable-openstack-services: "n-cpu,placement-api,tempest"
- security-group-mode: "stateful"
- odl_system_flavor: odl-highcpu-2
- openstack_system_flavor: odl-highcpu-8
- os-cmb-cnt: 1
- os-ctl-cnt: 0
- os-cmp-cnt: 0
-
- stream:
- - sodium:
- branch: "stable/sodium"
-
- topology:
- - 1node:
- openstack_system2_count: 0
- odl_system_count: 1
- enable-haproxy: "no"
- install-features: "odl-netvirt-openstack"
- robot-options: "-v FAIL_ON_EXCEPTIONS:True"
- - 3node:
- openstack_system2_count: 1
- odl_system_count: 3
- enable-haproxy: "yes"
- install-features: "odl-jolokia,odl-netvirt-openstack"
-
- functionality:
- - upstream-stateful:
- schedule: "{schedule-weekly}"
- - upstream-stateful-itm-direct-tunnels:
- enable-itm-direct-tunnels: "true"
- schedule: "{schedule-weekly}"
- - upstream-stateful-snat-conntrack:
- odl-snat-mode: "conntrack"
- schedule: "{schedule-weekly}"
- - gate-stateful
- - gate-stateful-itm-direct-tunnels:
- enable-itm-direct-tunnels: "true"
- - gate-stateful-snat-conntrack:
- odl-snat-mode: "conntrack"
- - gate-minimal-cluster:
- testplan: "{project}-{topology}-minimal-openstack.txt"
- # Job for Test Driven Development with it's own testplan to run new/non-passing suites. scheduled manually.
- - gate-tdd-wip:
- testplan: "{project}-{topology}-tdd-wip-openstack.txt"
- schedule: ""
- - tempest-stateful:
- test-suites: "openstack/tempest/tempest.robot"
- testplan: "{project}-{topology}-openstack-tempest.txt"
- schedule: "{schedule-weekly}"
- - tempest-stateful-snat-conntrack:
- test-suites: "openstack/tempest/tempest.robot"
- testplan: "{project}-{topology}-openstack-tempest.txt"
- odl-snat-mode: "conntrack"
- schedule: "{schedule-weekly}"
- - gate-tempest-stateful:
- test-suites: "openstack/tempest/tempest.robot"
- testplan: "{project}-{topology}-openstack-tempest.txt"
- - gate-tempest-stateful-snat-conntrack:
- test-suites: "openstack/tempest/tempest.robot"
- testplan: "{project}-{topology}-openstack-tempest.txt"
- odl-snat-mode: "conntrack"
-
- openstack:
- - queens:
- openstack-branch: "stable/queens"
- odl-ml2-branch: "stable/queens"
- odl-ml2-port-binding: "pseudo-agentdb-binding"
- openstack_system_image: "{openstack_queens_system_image}"
- openstack_system2_image: "{openstack_queens_system_image}"
- schedule: "{schedule-weekly}"
-
- project:
name: netvirt-csit-1cmb-0ctl-0cmp-openstack-integration-rocky
jobs:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
topology:
- 1node:
- inttest-csit-openstack-custom
#temporarily disabling Stein jobs
- disabled: true
+ disable-job: true
project: "netvirt"
testplan: "{project}-{topology}-openstack.txt"
odl-ml2-driver-version: "v2"
- inttest-csit-openstack-custom
#temporarily disabling Stein jobs
- disabled: true
+ disable-job: true
project: "netvirt"
testplan: "{project}-{topology}-openstack.txt"
odl-ml2-driver-version: "v2"
jobs:
- netvirt-job-reports
report-jobnames: >
- netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-sodium
- netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-snat-conntrack-sodium
+ netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-magnesium
+ netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-snat-conntrack-magnesium
report-logurl: "https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1"
report-numjobs: 100
report-path: "/tmp/jobreports"
default: "{report-jobnames}"
description: |
Space separated list of job names to process. Example:
- netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-sodium
- netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-snat-conntrack-sodium
+ netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-magnesium
+ netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-snat-conntrack-magnesium
- string:
name: LOG_URL
default: "{report-logurl}"
- magnesium:
branch: "stable/magnesium"
java-version: "openjdk11"
- - sodium:
- branch: "stable/sodium"
os-branch: "rocky"
# Used by the release job
staging-profile-id: a67da0ffbb1ba
-- project:
- name: netvirt-sodium
- jobs:
- - "{project-name}-distribution-check-{stream}"
- - "{project-name}-maven-javadoc-jobs"
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- doc-dir: .tox/docs/tmp/html
- project-pattern: netvirt
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-netvirt/32929/
- rtd-token: 7b6a1dcfc729957ace511e016274e253e07a8d6c
- - gerrit-tox-verify
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- branch: "stable/sodium"
-
- project: "netvirt"
- project-name: "netvirt"
- mvn-settings: "netvirt-settings"
- mvn-opts: "-Xmx2048m"
- build-timeout: 90
- build-node: centos7-builder-8c-8g
- dependencies: >
- genius-merge-{stream},
- neutron-merge-{stream},
- openflowjava-merge-{stream},
- openflowplugin-merge-{stream},
- ovsdb-merge-{stream}
- email-upstream: "[genius] [netvirt] [neutron] [openflowjava] [openflowplugin] [ovsdb]"
-
- # Used by the release job
- staging-profile-id: a67da0ffbb1ba
-
- project:
name: netvirt-sonar
jobs:
branch: "stable/aluminium"
- magnesium:
branch: "stable/magnesium"
- - sodium:
- branch: "stable/sodium"
os-branch: "queens"
# Used by the release job
staging-profile-id: a67e1b40d7419
-- project:
- name: neutron-sodium
- jobs:
- - "{project-name}-distribution-check-{stream}"
- - "{project-name}-maven-javadoc-jobs"
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "neutron"
- project-name: "neutron"
- build-timeout: 90
- branch: "stable/sodium"
- mvn-settings: "neutron-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: "odlparent-merge-{stream},aaa-merge-{stream}"
- email-upstream: "[neutron] [odlparent] [aaa]"
-
- # Used by the release job
- staging-profile-id: a67e1b40d7419
-
- project:
name: neutron-sonar
jobs:
branch: "stable/aluminium"
- magnesium:
branch: "stable/magnesium"
- - sodium:
- branch: "stable/sodium"
os-branch: "queens"
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
functionality:
- "upstream"
branch: "stable/aluminium"
- magnesium:
branch: "stable/magnesium"
- - sodium:
- branch: "stable/sodium"
feature:
- current:
branch: "stable/aluminium"
- magnesium:
branch: "stable/magnesium"
- - sodium:
- branch: "stable/sodium"
project: odltools
project-name: odltools
# Used by the release job
staging-profile-id: a6880455efe67
-- project:
- name: of-config-sodium
- jobs:
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "of-config"
- project-name: "of-config"
- branch: "stable/sodium"
- mvn-settings: "of-config-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: netconf-merge-{stream}'
- email-upstream: "[of-config] [netconf]"
- disable-job: true
-
- # Used by the release job
- staging-profile-id: a6880455efe67
-
- project:
name: of-config-release-management
jobs:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
branch: "stable/magnesium"
jre: "openjdk11"
install: "all"
- - sodium:
- branch: "stable/sodium"
- install: "all"
# Job images
tools_system_image: "ZZCI - Ubuntu 16.04 - mininet-ovs-28 - x86_64 - 20200811-063216.630"
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
java-version: "openjdk11"
- - sodium:
- branch: "stable/sodium"
os-branch: "queens"
jdk: "openjdk8"
# Used by the release job
staging-profile-id: a68a76dc1b44c
-- project:
- name: openflowplugin-sodium
- jobs:
- - "{project-name}-distribution-check-{stream}"
- - "{project-name}-maven-javadoc-jobs"
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- doc-dir: .tox/docs/tmp/html
- project-pattern: openflowplugin
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-openflowplugin/38994/
- rtd-token: 86ce095922558b890c61b1b05d682521d1d66d5f
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "openflowplugin"
- project-name: "openflowplugin"
- branch: "stable/sodium"
- build-node: centos7-builder-2c-8g
- build-timeout: 90
- mvn-settings: "openflowplugin-settings"
- mvn-goals: "clean deploy javadoc:aggregate"
- mvn-opts: "-Xmx1024m"
- dependencies: >
- odlparent-merge-{stream},
- yangtools-merge-{stream},
- controller-merge-{stream},
- openflowjava-merge-{stream}
- email-upstream: "[openflowplugin] [odlparent] [yangtools] [controller] [openflowjava]"
-
- # Used by the release job
- staging-profile-id: a68a76dc1b44c
-
- project:
name: openflowplugin-sonar
jobs:
libuv-version: "1.20.2"
rapidjson-version: "1.1.0"
openvswitch-version: "2.12.0"
- - sodium:
- branch: "stable/sodium"
- libuv-version: "1.8.0"
- rapidjson-version: "1.0.2"
- openvswitch-version: "2.6.0"
project: "opflex"
archive-artifacts: "**/*.tar.gz"
libuv-version: "1.20.2"
rapidjson-version: "1.1.0"
openvswitch-version: "2.12.0"
- - sodium:
- branch: "stable/sodium"
- libuv-version: "1.8.0"
- rapidjson-version: "1.0.2"
- openvswitch-version: "2.6.0"
project: "opflex"
project-name: "opflex"
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
java-version: "openjdk11"
- magnesium:
branch: "stable/magnesium"
- - sodium:
- branch: "stable/sodium"
project: "ovsdb"
archive-artifacts: "*.log"
- magnesium:
branch: "stable/magnesium"
java-version: "openjdk11"
- - sodium:
- branch: "stable/sodium"
os-branch: "queens"
jdk: "openjdk8"
# Used by the release job
staging-profile-id: a68b188166958
-- project:
- name: ovsdb-sodium
- jobs:
- - "{project-name}-distribution-check-{stream}"
- - "{project-name}-maven-javadoc-jobs"
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: ovsdb
- rtd-build-url: https://readthedocs.org/api/v2/webhook/opendaylight-ovsdb/35667/
- rtd-token: 46030df8681cf7fc857aa80c1a7695f46ed252be
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "ovsdb"
- project-name: "ovsdb"
- branch: "stable/sodium"
- build-node: centos7-builder-2c-8g
- mvn-settings: "ovsdb-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: "odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}"
- email-upstream: "[ovsdb] [odlparent] [controller] [yangtools]"
-
- # Used by the release job
- staging-profile-id: a68b188166958
-
- project:
name: ovsdb-info
jobs:
# Used by the release job
staging-profile-id: a68bf26e208d4
-- project:
- name: p4plugin-sodium
- jobs:
- - "{project-name}-maven-javadoc-jobs"
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "p4plugin"
- project-name: "p4plugin"
- branch: "stable/sodium"
- mvn-settings: "p4plugin-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: ""
- email-upstream: "[p4plugin]"
-
- # Used by the release job
- staging-profile-id: a68bf26e208d4
-
- project:
name: p4plugin-release-management
jobs:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
# Used by the release job
staging-profile-id: a68ca4a24655c
-- project:
- name: packetcable-sodium
- jobs:
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "packetcable"
- project-name: "packetcable"
- branch: "stable/sodium"
- mvn-settings: "packetcable-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: ""
- email-upstream: "[packetcable]"
- disable-job: true
-
- # Used by the release job
- staging-profile-id: a68ca4a24655c
-
- project:
name: packetcable-release-management
jobs:
branch: "stable/aluminium"
- magnesium:
branch: "stable/magnesium"
- - sodium:
- branch: "stable/sodium"
os-branch: "queens"
jdk: "openjdk8"
# Used by the release job
staging-profile-id: 12cc4ba8bf01ba
-- project:
- name: serviceutils-sodium
- jobs:
- - "{project-name}-distribution-check-{stream}"
- - "{project-name}-maven-javadoc-jobs"
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: serviceutils
- rtd-build-url: https://readthedocs.org/api/v2/webhook/opendaylight-serviceutils/40541/
- rtd-token: 866f76be38ed7efc7027b9c52e7ad869e523e7c4
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- branch: "stable/sodium"
- stream: sodium
-
- project: "serviceutils"
- project-name: "serviceutils"
- build-node: centos7-builder-2c-2g
- mvn-settings: "serviceutils-settings"
- mvn-opts: "-Xmx1024m"
- build-timeout: 90
- dependencies: >
- controller-merge-{stream},
- yangtools-merge-{stream},
- odlparent-merge-{stream},
- infrautils-merge-{stream}
- email-upstream: "[serviceutils] [controller] [yangtools] [odlparent] [infrautils]"
-
- # Used by the release job
- staging-profile-id: 12cc4ba8bf01ba
-
- project:
name: serviceutils-sonar
jobs:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
java-version: "openjdk11"
- - sodium:
- branch: "stable/sodium"
os-branch: "queens"
branch: "stable/aluminium"
- magnesium:
branch: "stable/magnesium"
- - sodium:
- branch: "stable/sodium"
project: "sfc"
project-name: "sfc"
# Used by the release job
staging-profile-id: a68eb361ca48a
-- project:
- name: sfc-sodium
- jobs:
- - "{project-name}-distribution-check-{stream}"
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: sfc
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-sfc/38996/
- rtd-token: 2fa6c2900bbe181b0427ad65df3dc494ac749edb
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "sfc"
- project-name: "sfc"
- branch: "stable/sodium"
- mvn-settings: "sfc-settings"
- mvn-opts: "-Xmx2048m -Dmaven.compile.fork=true"
- build-timeout: 120
- dependencies: "openflowplugin-merge-{stream},ovsdb-merge-{stream},lispflowmapping-merge-{stream}"
- email-upstream: "[sfc] [openflowplugin] [ovsdb] [lispflowmapping]"
- build-node: centos7-builder-8c-8g
-
- # Used by the release job
- staging-profile-id: a68eb361ca48a
-
- project:
name: sfc-sonar
jobs:
# Used by the release job
staging-profile-id: a68fb236b93a6
-- project:
- name: snmp-sodium
- jobs:
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "snmp"
- project-name: "snmp"
- branch: "stable/sodium"
- mvn-settings: "snmp-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: "odlparent-merge-{stream}"
- email-upstream: "[snmp] [odlparent]"
-
- # Used by the release job
- staging-profile-id: a68fb236b93a6
-
- project:
name: snmp-release-management
jobs:
# Used by the release job
staging-profile-id: a69034a4b6ef5
-- project:
- name: snmp4sdn-sodium
- jobs:
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: snmp4sdn
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-snmp4sdn/75649/
- rtd-token: 55ee5e520f96e1fa691b277b2919e8d62cb0b71f
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "snmp4sdn"
- project-name: "snmp4sdn"
- branch: "stable/sodium"
- mvn-settings: "snmp4sdn-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: "odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}"
- email-upstream: "[snmp4sdn] [odlparent] [controller] [yangtools]"
-
- # Used by the release job
- staging-profile-id: a69034a4b6ef5
-
- project:
name: snmp4sdn-release-management
jobs:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
# Used by the release job
staging-profile-id: a6909c75719b7
-- project:
- name: sxp-sodium
- jobs:
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: sxp
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-sxp/47573/
- rtd-token: 4a78556e59ce3ef35e61e2fa19ebae049acf6d5d
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- java-version:
- - openjdk8
-
- stream: sodium
- project: "sxp"
- project-name: "sxp"
- branch: "stable/sodium"
-
- mvn-settings: "sxp-settings"
- mvn-opts: "-Xmx1024m"
-
- dependencies: "odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}"
- email-upstream: "[sxp] [odlparent] [controller] [yangtools]"
-
- # Used by the release job
- staging-profile-id: a6909c75719b7
-
- project:
name: sxp-release-management
jobs:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
# Used by the release job
staging-profile-id: 8ed9c52266504
-- project:
- name: telemetry-sodium
- jobs:
- - "odl-maven-jobs"
- - odl-maven-verify-jobs
- - "{project-name}-integration-{stream}"
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: telemetry
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-telemetry/57583/
- rtd-token: 694bcbf8e0b45b3c4e53174c6e5773ca351e1efb
-
- stream: sodium
- project: "telemetry"
- project-name: "telemetry"
- branch: "stable/sodium"
- mvn-settings: "telemetry-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: ""
- email-upstream: "[telemetry]"
- archive-artifacts: ""
-
- # Used by the release job
- staging-profile-id: 8ed9c52266504
-
- project:
name: telemetry-release-management
jobs:
# Used by the release job
staging-profile-id: a6927323fa3d4
-- project:
- name: transportpce-sodium
- jobs:
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: transportpce
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-transportpce/47688/
- rtd-token: 6f37ba63226bdcc6c823ee455e62237cf68813fd
- - gerrit-tox-verify:
- build-timeout: 120
- build-node: centos7-builder-4c-16g
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- project: "transportpce"
- project-name: "transportpce"
- stream: sodium
- branch: "stable/sodium"
- mvn-settings: "transportpce-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: "odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}"
- email-upstream: "[transportpce] [odlparent] [yangtools] [controller]"
-
- # Used by the release job
- staging-profile-id: a6927323fa3d4
-
- project:
name: transportpce-release-management
jobs:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
# Used by the release job
staging-profile-id: a69373036303c
-- project:
- name: tsdr-sodium
- jobs:
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: tsdr
- rtd-build-url: https://readthedocs.org/api/v2/webhook/opendaylight-tsdr/47532/
- rtd-token: 96c97641155132afcc5900bafc68af3364d91c99
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "tsdr"
- project-name: "tsdr"
- branch: "stable/sodium"
- mvn-settings: "tsdr-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: ""
- email-upstream: "[tsdr]"
-
- # Used by the release job
- staging-profile-id: a69373036303c
-
- project:
name: tsdr-release-management
jobs:
# Used by the release job
staging-profile-id: a695d0a0b8d51
-- project:
- name: unimgr-sodium
- jobs:
- - "{project-name}-rtd-jobs":
- build-node: centos7-builder-2c-2g
- project-pattern: unimgr
- rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-unimgr/49748/
- rtd-token: e12225e9b9ac67f5439c1619dcad342393b7ea31
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "unimgr"
- project-name: "unimgr"
- branch: "stable/sodium"
- mvn-settings: "unimgr-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: "ovsdb-merge-{stream}"
- email-upstream: "[unimgr] [ovsdb]"
- build-node: centos7-builder-4c-16g
-
- # Used by the release job
- staging-profile-id: a695d0a0b8d51
-
- project:
name: unimgr-release-management
jobs:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- all:
# Used by the release job
staging-profile-id: a697b633b3ffe
-- project:
- name: usc-sodium
- jobs:
- - "{project-name}-maven-javadoc-jobs"
- - odl-maven-jobs
- - odl-maven-verify-jobs
-
- stream: sodium
- project: "usc"
- project-name: "usc"
- branch: "stable/sodium"
- mvn-settings: "usc-settings"
- mvn-opts: "-Xmx1024m"
- dependencies: "controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream}"
- email-upstream: "[usc] [controller] [yangtools] [odlparent]"
-
- # Used by the release job
- staging-profile-id: a697b633b3ffe
-
- project:
name: usc-release-management
jobs:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
install:
- only:
- magnesium:
branch: "stable/magnesium"
jre: "openjdk11"
- - sodium:
- branch: "stable/sodium"
os-branch: "queens"
jdk: "openjdk8"
---
- import_playbook: ../common-packer/provision/baseline.yaml
+- import_playbook: ../common-packer/provision/docker.yaml
- hosts: all
become_user: root
+++ /dev/null
-../common-packer/templates/builder.json
\ No newline at end of file
--- /dev/null
+{
+ "variables": {
+ "ansible_roles_path": ".galaxy",
+ "arch": "x86_64",
+ "base_image": null,
+ "cloud_network": null,
+ "cloud_user_data": null,
+ "cloud_region": "ca-ymq-1",
+ "cloud_availability_zone": "ca-ymq-2",
+ "vm_use_block_storage": "true",
+ "vm_volume_size": "20",
+ "vm_image_disk_format": "",
+ "distro": null,
+ "flavor": "v2-highcpu-4",
+ "ssh_user": null,
+ "ssh_proxy_host": ""
+ },
+ "builders": [
+ {
+ "name": "vexxhost",
+ "image_name": "ZZCI - {{user `distro`}} - builder - {{user `arch`}} - {{isotime \"20060102-150405.000\"}}",
+ "instance_name": "{{user `distro`}}-builder-{{uuid}}",
+ "source_image_name": "{{user `base_image`}}",
+ "type": "openstack",
+ "region": "{{user `cloud_region`}}",
+ "availability_zone": "{{user `cloud_availability_zone`}}",
+ "networks": ["{{user `cloud_network`}}"],
+ "user_data_file": "{{user `cloud_user_data`}}",
+ "ssh_username": "{{user `ssh_user`}}",
+ "ssh_proxy_host": "{{user `ssh_proxy_host`}}",
+ "flavor": "{{user `flavor`}}",
+ "metadata": {
+ "ci_managed": "yes"
+ },
+ "use_blockstorage_volume": "{{user `vm_use_block_storage`}}",
+ "volume_size": "{{user `vm_volume_size`}}",
+ "image_disk_format": "{{user `vm_image_disk_format`}}"
+ }
+ ],
+ "provisioners": [
+ {
+ "type": "shell",
+ "scripts": ["common-packer/provision/install-python.sh"],
+ "execute_command": "chmod +x {{ .Path }}; if [ \"$UID\" == \"0\" ]; then {{ .Vars }} '{{ .Path }}'; else {{ .Vars }} sudo -E '{{ .Path }}'; fi"
+ },
+ {
+ "type": "shell-local",
+ "command": "./common-packer/ansible-galaxy.sh {{user `ansible_roles_path`}}"
+ },
+ {
+ "type": "ansible",
+ "playbook_file": "provision/local-builder.yaml",
+ "ansible_env_vars": [
+ "ANSIBLE_NOCOWS=1",
+ "ANSIBLE_PIPELINING=True",
+ "ANSIBLE_ROLES_PATH={{user `ansible_roles_path`}}",
+ "ANSIBLE_CALLBACK_WHITELIST=profile_tasks",
+ "ANSIBLE_STDOUT_CALLBACK=debug"
+ ]
+ }
+ ]
+}
+++ /dev/null
-#!/usr/bin/awk -f
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2017 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-##############################################################################
-
-BEGIN {
- new_tag = new_reltag # new release tag
- curr_tag = curr_reltag # current release tag
- prev_tag = prev_reltag # previous release tag
-
- new_release = tolower(new_tag)
- curr_release = tolower(curr_tag)
- prev_release = tolower(prev_tag)
-
- ws = "[\\t ]*" # white-spaces
- startpat = "^" ws "- project:" # start pattern
- endpat = startpat # end pattern
- op = "^" ws "---" ws "$" # match files starts with "---"
-
- next_release_tag = "^" ws "next-release-tag: '{stream}'"
- master = "'master'"
- new_branch = "'stable/" new_release "'"
- curr_branch = "'stable/" curr_release "'"
- prev_branch = "'stable/" prev_release "'"
-
- # replace block to add new release
- new_rel_yaml_tag = "- " new_release ":";
- br_master_yaml_tag = " branch: 'master'";
- jre_yaml_tag = " jre: 'openjdk11'";
- java_version_yaml_tag = " java-version: 'openjdk11'";
- curr_rel_yaml_tag = "- " curr_release ":";
- br_stable_curr_yaml_tag = " branch: 'stable/" curr_release "'";
-
- # replace block for autorelease-projects
- #new_rel_yaml_tag = "- " new_release ":";
- next_rel_tag_new_yaml_tag = " next-release-tag: '{stream}'";
- #br_master_yaml_tag = " branch: 'master'";
- jdk_yaml_tag = " jdk: 'openjdk8'";
- intg_test_yaml_tag = " integration-test: " new_release;
- extra_mvn_opts_tag = " extra-mvn-opts: -Dsft.heap.max=4g"
- #curr_rel_yaml_tag = "- " curr_release ":";
- next_rel_tag_curr_yaml_tag = " next-release-tag: '{stream}'";
- #br_stable_curr_yaml_tag = " branch: 'stable/" curr_release "'";
-
- # search patterns
- smaster = "^" ws "- master:"
- sstream = "^" ws "stream:"
- srelease = "^" ws "- " curr_release ":"
- snext_release_tag = "^" ws "next-release-tag:"
- #if (l ~ next_release_tag) { next_release_tag = 1; continue; }
- sbranch = "^" ws "branch: " master
- sfunctionality = "^" ws "functionality:"
-
- debug = 0 # set to 1 to print debug info
- file_format = 2 # project stream format
-
- release_found = 0
- stream_found = 0
- nrt_found = 0
- func_found = 0
-}
-
-{
- # exit if release info is not available
- if ((length(new_release) == 0 || length(curr_release) == 0)) {
- exit;
- }
-
- # read all lines of the file into an array
- file[NR] = $0
-}
-
-END {
- n = NR # total number of lines
- find_blks() # gets number of blocks between start/end pattern
- process_blk(arr_bs[1], arr_be[1], 1) # pass start and end of each block and process first block
- update_file(arr_be[1]) # write processed content
-
- if (debug) {
- print "number of blocks="nb;
- print "total records in file[]="length(f);
- print "size of firstblk[]="length(firstblk);
- print "size of newblk[]="length(newblk);
- print "size of oldmaster[]="length(oldmaster);
- print "size of newblk[]="length(newblk);
- }
-}
-
-function find_blks( i, l, bs, be) {
- for (i = 1; i <= n; i++) {
- l = file[i]
- if (l ~ startpat) project = 1 # start pattern
- if (bs > be && l ~ endpat) arr_be[++be] = i - 1 # block end
- if ( l ~ startpat) arr_bs[++bs] = i - 1 # block start
- }
- nb = be
-
- # to handle files with single blocks
- if (nb == 0 && length(file) > 1 && project == 1) {
- nb = 1
- arr_bs[1] = 1 # start after line '---'
- arr_be[1] = length(file) # set length of the file
- }
-
- if (debug) {
- for (i = 1; i < nb; i++)
- print "find_blks: nb=" nb " arr_bs[" i "]="arr_bs[i]" arr_be[" i "]="arr_be[i];
- }
-}
-
-function process_blk(bs, be, bn, i, l) {
- if (debug) {
- print "process_blk: bn=" bn ", bs=" bs " ,be=" be
- }
-
- # get the first block
- for (i = bs + 1; i <= be ; i++) {
- l = file[i]
- # determine file format
- if (l ~ /stream:/) {
- x=index(l,":")
- s = substr(l, x+2, length(l) - x)
- if (s == curr_release || s == new_release) {
- file_format = 1
- } else if (length(s) == 0 ) {
- file_format = 0
- }
- }
- firstblk[++nex] = l
- }
-
- if (debug) {
- print "process_blk: stream='" s "' length(s)=" length(s)" file_format='" file_format "'"
- }
-
- # Handle single stream format
- if (file_format == 1) {
- # create new block to be inserted
- for (i = 1; i <= length(firstblk); i++) {
- l = firstblk[i]
- if (l ~ /name:|stream:/) sub(curr_release, new_release, l)
- newblk[++nex1] = l
- }
- # re-create old block and change master to stable/branch
- for (i = 1; i <= length(firstblk)-1; i++) {
- l = firstblk[i]
- if (l ~ /branch:/) sub(master, curr_branch, l)
- oldmaster[++nex2] = l
- }
- } else if (file_format == 0) {
- # Handle multi-stream format
- for (i = 1; i <= length(firstblk)-1; i++) {
- l = firstblk[i]
- if (l ~ sstream) { stream_found = 1; }
- if (l ~ srelease) { release_found = 1; indent = substr(l, 1, index(l, "-")-1); continue; }
- if (l ~ sfunctionality) { func_found = 1; }
- if (l ~ snext_release_tag) { nrt_found = 1; }
- if (l ~ sbranch) {
- # append lines
- if (stream_found && release_found && !nrt_found) {
- newblk[++nex3] = indent new_rel_yaml_tag;
- newblk[++nex3] = indent br_master_yaml_tag;
- newblk[++nex3] = indent java_version_yaml_tag;
- newblk[++nex3] = indent curr_rel_yaml_tag;
- newblk[++nex3] = indent br_stable_curr_yaml_tag;
- stream_found = 0;
- release_found = 0;
- func_found = 0;
- continue;
- }
- if (stream_found && release_found && nrt_found) {
- newblk[++nex3] = indent new_rel_yaml_tag;
- newblk[++nex3] = indent next_rel_tag_new_yaml_tag;
- newblk[++nex3] = indent br_master_yaml_tag;
- newblk[++nex3] = indent intg_test_yaml_tag;
- newblk[++nex3] = indent extra_mvn_opts_tag;
- newblk[++nex3] = indent curr_rel_yaml_tag;
- newblk[++nex3] = indent next_rel_tag_curr_yaml_tag;
- newblk[++nex3] = indent br_stable_curr_yaml_tag;
- stream_found = 0; release_found = 0; nrt_found=0;
- continue;
- }
- }
- newblk[++nex3] = l
-
- if (debug) {
- print "process_blk: append(newblk[]) : stream="stream" release_found="release_found
- }
- }
- } else {
- # exit on unknown file format
- exit;
- }
-}
-
-function update_file(be, i, j, l) {
- i = 1
- # handle lines before "---"
- while (i <= n) {
- print l = file[i++]
- if (l ~ op) break
- }
-
- if (debug) {
- print "writing master block"
- }
-
- # Handle single stream format
- if (file_format == 1) {
- for (j = 1; j <= nex1; j++) # write new branch block
- print newblk[j]
-
- if (debug) {
- print "writing stable block"
- }
-
- for (j = 1; j <= nex2; j++) # write updated branch block
- print oldmaster[j]
-
- # Handle multi-stream format
- } else if (file_format == 0) {
- # print the first block
- for (j = 1; j <= nex3; j++) # write multi-stream block
- print newblk[j]
- }
-
- if (debug) {
- print "writing rest of the file"
- }
-
- while (be <= n) { # write rest of the file
- print file[be++]
- }
-}
+++ /dev/null
-#!/bin/bash
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2017 The Linux Foundation and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-##############################################################################
-
-# List of directories, files to exclude
-declare -a excludes=("defaults.yaml"
- "releng-macros.yaml"
- "global-jjb"
- "lf-infra"
- "-macros.yaml"
- "validate-autorelease"
- "opflex-dependencies.yaml")
-
-TEMP="/tmp/tmp.yaml"
-mod=0
-count=0
-
-function usage {
- echo "Usage: $(basename "$0") options (-c [current release]) (-n [next release]) (-p [previous release]) -h for help";
- echo "example:"
- echo "branch_cutter.sh -n oxygen -c nitrogen -p carbon"
- exit 0;
-}
-
-if ( ! getopts ":n:c:p:h" opt ); then
- usage;
-fi
-
-while getopts ":n:c:p:h" opt; do
- case $opt in
- n)
- new_reltag=$OPTARG
- ;;
- c)
- curr_reltag=$OPTARG
- ;;
- p)
- prev_reltag=$OPTARG
- ;;
- \?)
- echo "Invalid option: -$OPTARG" >&2
- exit 1
- ;;
- h)
- usage
- ;;
- :)
- echo "Option -$OPTARG requires an argument." >&2
- exit 1
- ;;
- esac
-done
-
-echo "Start Branch Cutting:"
-
-while IFS="" read -r file; do
- found=0
- for exclude in "${excludes[@]}"; do
- if [[ $file =~ $exclude && $found -eq 0 ]]; then
- found=1
- break
- fi
- done
- if [[ $found -eq 1 ]]; then
- echo "Ignore file $file found in excludes list"
- else
- ./branch_cut.awk -v new_reltag="$new_reltag" -v curr_reltag="$curr_reltag" -v prev_reltag="$prev_reltag" "$file" > "$TEMP"
- [[ ! -s "$TEMP" ]] && echo "$file: excluded"
- [[ -s "$TEMP" ]] && mv "$TEMP" "$file" && echo "$file: Done" && (( mod++ ))
- (( count++ ))
- fi
-done < <(find ../../jjb -name "*.yaml")
-
-echo "Modified $mod out of $count files"
-echo "Completed"
--- /dev/null
+# SPDX-License-Identifier: EPL-1.0
+##############################################################################
+# Copyright (c) 2020 Thanh Ha
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+##############################################################################
+"""Script for cutting new jobs when branching a new stable release."""
+
+import argparse
+from argparse import RawTextHelpFormatter
+import copy
+import fileinput
+import os
+import shutil
+import sys
+
+try:
+ import ruamel.yaml
+except ModuleNotFoundError:
+ print("ERROR: This script requires the package 'ruamel.yaml', please install it.")
+ print(
+ "If ruamel.yaml is not available in your system's package manager you"
+ " can install from PyPi with:"
+ )
+ print("")
+ print(" pip install --user ruamel.yaml")
+ sys.exit(1)
+
+yaml = ruamel.yaml.YAML()
+yaml.allow_duplicate_keys = True
+yaml.preserve_quotes = True
+
+default_branch = "master" # This is the primary dev branch of the project
+
+
+def create_and_update_project_jobs(
+ release_on_stable_branch, release_on_current_branch, job_dir
+):
+ """Create and update project build jobs for the current and next dev release.
+
+ Project jobs are jobs defined in the project.yaml that have the same name
+ the directory they are in.
+
+ Only updates projects where the top project configuration has a name that
+ is equivalent to the current release. For example project name
+ "aaa-silicon" would have a release that matches what was passed to
+ release_on_stable_branch.
+ """
+ for directory in filter(
+ lambda x: os.path.isdir(os.path.join(job_dir, x)), os.listdir(job_dir)
+ ):
+ try:
+ with open(
+ os.path.join(job_dir, directory, "{}.yaml".format(directory)), "r"
+ ) as f:
+ data = yaml.load(f)
+
+ # Only create new jobs if the top level project name matches
+ # release_on_stable_branch variable
+ if not data[0]["project"]["name"] == "{}-{}".format(
+ directory, release_on_stable_branch
+ ):
+ continue
+
+ # Create a new job for the next release on the default_branch
+ new_job = copy.deepcopy(data[0])
+ new_job["project"]["name"] = "{}-{}".format(
+ directory, release_on_current_branch
+ )
+ new_job["project"]["branch"] = default_branch
+ new_job["project"]["stream"] = "{}".format(release_on_current_branch)
+
+ # Update exiting job for the new stable branch
+ data[0]["project"]["branch"] = "stable/{}".format(
+ release_on_stable_branch
+ )
+
+ data.insert(0, new_job)
+
+ with open(
+ os.path.join(job_dir, directory, "{}.yaml".format(directory)), "w"
+ ) as f:
+ stream = ruamel.yaml.round_trip_dump(data)
+ f.write("---\n")
+ f.write(stream)
+ except FileNotFoundError: # If project.yaml file does not exist we can skip
+ pass
+
+
+def update_job_streams(release_on_stable_branch, release_on_current_branch, job_dir):
+ """Update projects that have a stream variable that is a list.
+
+ If a stream variable is a list that means the project likely has multiple
+ maintainance branches supported.
+
+ This function also does not support {project}.yaml files as parsing those
+ are handled by other functions in this script.
+
+ Only updates projects where the top stream in the list is equivalent to the
+ current release. For example stream "silicon" would have a release that
+ matches what was passed to release_on_stable_branch.
+ """
+ for directory in filter(
+ lambda d: os.path.isdir(os.path.join(job_dir, d)), os.listdir(job_dir)
+ ):
+ for job_file in filter(
+ lambda f: os.path.isfile(os.path.join(job_dir, directory, f)),
+ os.listdir(os.path.join(job_dir, directory)),
+ ):
+
+ # Projects may have non-yaml files in their repos so ignore them.
+ if not job_file.endswith(".yaml"):
+ continue
+
+ # Ignore project.yaml files as they are not supported by this function.
+ if job_file == "{}.yaml".format(directory):
+ continue
+
+ file_changed = False
+
+ with open(os.path.join(job_dir, directory, job_file), "r") as f:
+ data = yaml.load(f)
+
+ for project in data:
+ streams = project.get("project", {}).get("stream", None)
+
+ if not isinstance(streams, list): # We only support lists streams
+ continue
+
+ # Skip if the stream does not match
+ # release_on_stable_branch in the first item
+ if not streams[0].get(release_on_stable_branch, None):
+ continue
+
+ # Create the next release stream
+ new_stream = {}
+ new_stream[release_on_current_branch] = copy.deepcopy(
+ streams[0].get(release_on_stable_branch)
+ )
+
+ # Update the previous release stream branch to
+ # stable/{stream} instead of default_branch
+ streams[0][release_on_stable_branch]["branch"] = "stable/{}".format(
+ release_on_stable_branch
+ )
+
+ streams.insert(0, new_stream)
+ file_changed = True
+
+ # Because we are looping every file we only want to save if we made changes.
+ if file_changed:
+ with open(os.path.join(job_dir, directory, job_file), "w") as f:
+ stream = ruamel.yaml.round_trip_dump(data)
+ f.write("---\n")
+ f.write(stream)
+
+
+def update_integration_csit_list(
+ release_on_stable_branch, release_on_current_branch, job_dir
+):
+ """Update csit-*-list variables and files integration-test-jobs.yaml."""
+
+ class Generic:
+ def __init__(self, tag, value, style=None):
+ self._value = value
+ self._tag = tag
+ self._style = style
+
+ class GenericScalar(Generic):
+ @classmethod
+ def to_yaml(self, representer, node):
+ return representer.represent_scalar(node._tag, node._value)
+
+ @staticmethod
+ def construct(constructor, node):
+ return constructor.construct_scalar(node)
+
+ def default_constructor(constructor, tag_suffix, node):
+ generic = {ruamel.yaml.ScalarNode: GenericScalar,}.get( # noqa
+ type(node)
+ )
+ if generic is None:
+ raise NotImplementedError("Node: " + str(type(node)))
+ style = getattr(node, "style", None)
+ instance = generic.__new__(generic)
+ yield instance
+ state = generic.construct(constructor, node)
+ instance.__init__(tag_suffix, state, style=style)
+
+ ruamel.yaml.add_multi_constructor(
+ "", default_constructor, Loader=ruamel.yaml.SafeLoader
+ )
+ yaml.register_class(GenericScalar)
+
+ integration_test_jobs_yaml = os.path.join(
+ job_dir, "integration", "integration-test-jobs.yaml"
+ )
+
+ with open(integration_test_jobs_yaml, "r") as f:
+ data = yaml.load(f)
+
+ for project in data:
+ # Skip items that are not of "project" type
+ if not project.get("project"):
+ continue
+
+ streams = project.get("project", {}).get("stream", None)
+
+ # Skip projects that do not have a stream configured
+ if not isinstance(streams, list): # We only support lists streams
+ continue
+
+ # Skip if the stream does not match
+ # release_on_current_branch in the first item
+ if not streams[0].get(release_on_current_branch, None):
+ continue
+
+ # Update csit-list parameters for next release
+ if streams[0][release_on_current_branch].get("csit-list"):
+ update_stream = streams[0][release_on_current_branch]
+ update_stream["csit-list"] = GenericScalar(
+ "!include:", "csit-jobs-{}.lst".format(release_on_current_branch)
+ )
+
+ # Update csit-mri-list parameters for next release
+ if streams[0][release_on_current_branch].get("csit-mri-list"):
+ update_stream = streams[0][release_on_current_branch]
+ update_stream["csit-mri-list"] = "{{csit-mri-list-{}}}".format(
+ release_on_current_branch
+ )
+
+ # Update csit-weekly-list parameters for next release
+ if streams[0][release_on_current_branch].get("csit-weekly-list"):
+ update_stream = streams[0][release_on_current_branch]
+ update_stream["csit-weekly-list"] = "{{csit-weekly-list-{}}}".format(
+ release_on_current_branch
+ )
+
+ # Update csit-sanity-list parameters for next release
+ if streams[0][release_on_current_branch].get("csit-sanity-list"):
+ update_stream = streams[0][release_on_current_branch]
+ update_stream["csit-sanity-list"] = "{{csit-sanity-list-{}}}".format(
+ release_on_current_branch
+ )
+
+ with open(integration_test_jobs_yaml, "w") as f:
+ stream = ruamel.yaml.round_trip_dump(data)
+ f.write("---\n")
+ f.write(stream)
+
+ # Update the csit-*-list variables in defaults.yaml
+
+ defaults_yaml = os.path.join(job_dir, "defaults.yaml")
+
+ with open(defaults_yaml, "r") as f:
+ data = yaml.load(f)
+
+ # Add next release csit-mri-list-RELEASE
+ new_csit_mri_list = copy.deepcopy(
+ data[0]["defaults"].get("csit-mri-list-{}".format(release_on_stable_branch))
+ )
+ data[0]["defaults"][
+ "csit-mri-list-{}".format(release_on_current_branch)
+ ] = new_csit_mri_list.replace(
+ release_on_stable_branch, release_on_current_branch
+ )
+
+ # Add next release csit-mri-list-RELEASE
+ new_csit_mri_list = copy.deepcopy(
+ data[0]["defaults"].get("csit-mri-list-{}".format(release_on_stable_branch))
+ )
+ data[0]["defaults"][
+ "csit-mri-list-{}".format(release_on_current_branch)
+ ] = new_csit_mri_list.replace(
+ release_on_stable_branch, release_on_current_branch
+ )
+
+ # Add next release csit-weekly-list-RELEASE
+ new_csit_mri_list = copy.deepcopy(
+ data[0]["defaults"].get(
+ "csit-weekly-list-{}".format(release_on_stable_branch)
+ )
+ )
+ data[0]["defaults"][
+ "csit-weekly-list-{}".format(release_on_current_branch)
+ ] = new_csit_mri_list.replace(
+ release_on_stable_branch, release_on_current_branch
+ )
+
+ # Add next release csit-sanity-list-RELEASE
+ new_csit_mri_list = copy.deepcopy(
+ data[0]["defaults"].get(
+ "csit-sanity-list-{}".format(release_on_stable_branch)
+ )
+ )
+ data[0]["defaults"][
+ "csit-sanity-list-{}".format(release_on_current_branch)
+ ] = new_csit_mri_list.replace(
+ release_on_stable_branch, release_on_current_branch
+ )
+
+ with open(defaults_yaml, "w") as f:
+ stream = ruamel.yaml.round_trip_dump(data)
+ f.write("---\n")
+ f.write(stream)
+
+ # Handle copying and updating the csit-*.lst files
+ csit_file = "csit-jobs-{}.lst".format(release_on_stable_branch)
+ src = os.path.join(job_dir, "integration", csit_file)
+ dest = os.path.join(
+ job_dir,
+ "integration",
+ csit_file.replace(release_on_stable_branch, release_on_current_branch),
+ )
+ shutil.copyfile(src, dest)
+ with fileinput.FileInput(dest, inplace=True) as file:
+ for line in file:
+ print(
+ line.replace(release_on_stable_branch, release_on_current_branch),
+ end="",
+ )
+
+
+parser = argparse.ArgumentParser(
+ description="""Creates & updates jobs for ODL projects when branch cutting.
+
+ Example usage: python scripts/cut-branch.sh Silicon Phosphorus jjb/
+
+ ** If calling from tox the JOD_DIR is auto-detected so only pass the current
+ and next release stream name. **
+ """,
+ formatter_class=RawTextHelpFormatter,
+)
+parser.add_argument(
+ "release_on_stable_branch",
+ metavar="RELEASE_ON_STABLE_BRANCH",
+ type=str,
+ help="The ODL release codename for the stable branch that was cut.",
+)
+parser.add_argument(
+ "release_on_current_branch",
+ metavar="RELEASE_ON_CURRENT_BRANCH",
+ type=str,
+ help="""The ODL release codename for the new {}
+ (eg. Magnesium, Aluminium, Silicon).""".format(
+ default_branch
+ ),
+)
+parser.add_argument(
+ "job_dir",
+ metavar="JOB_DIR",
+ type=str,
+ help="Path to the directory containing JJB config.",
+)
+args = parser.parse_args()
+
+# We only handle lower release codenames
+release_on_stable_branch = args.release_on_stable_branch.lower()
+release_on_current_branch = args.release_on_current_branch.lower()
+
+create_and_update_project_jobs(
+ release_on_stable_branch, release_on_current_branch, args.job_dir
+)
+update_job_streams(release_on_stable_branch, release_on_current_branch, args.job_dir)
+update_integration_csit_list(
+ release_on_stable_branch, release_on_current_branch, args.job_dir
+)
[testenv:robot]
basepython = python3
commands = python {toxinidir}/check_robot.py
+
+[testenv:cut-branch-jobs]
+basepython = python3
+deps =
+ pre-commit
+ ruamel.yaml
+commands =
+ python scripts/cut-branch-jobs.py {posargs:--help} {toxinidir}/jjb
+ - pre-commit run --all-files prettier