Following are the list of published images available to be used with Jenkins jobs.
-* ZZCI - CentOS 7 - autorelease - 20180125-2240
-* ZZCI - CentOS 7 - builder - 20180201-2139
-* ZZCI - CentOS 7 - builder - 20180611-1830
-* ZZCI - CentOS 7 - builder - 20180723-235310.638
-* ZZCI - CentOS 7 - builder - 20180802-220823.782
-* ZZCI - CentOS 7 - builder - x86_64 - 20180823-152917.621
-* ZZCI - CentOS 7 - devstack - 20171208-1648
-* ZZCI - CentOS 7 - devstack - 20180723-235345.727
-* ZZCI - CentOS 7 - devstack-ocata - 20171208-1649
-* ZZCI - CentOS 7 - devstack-pike - 20171208-1649
-* ZZCI - CentOS 7 - docker - 20171209-0317
-* ZZCI - CentOS 7 - docker - 20180109-0346
-* ZZCI - CentOS 7 - docker - 20180110-1659
-* ZZCI - CentOS 7 - docker - 20180417-0311
-* ZZCI - CentOS 7 - docker - 20180723-235456.035
-* ZZCI - CentOS 7 - java-builder - 20171206-1842
-* ZZCI - CentOS 7 - java-builder - 20171209-0032
-* ZZCI - CentOS 7 - robot - 20180601-2050
-* ZZCI - Ubuntu 14.04 - gbp - 20171208-2336
-* ZZCI - Ubuntu 14.04 - gbp - 20180723-235516.505
-* ZZCI - Ubuntu 16.04 - docker - 20180601-2047
-* ZZCI - Ubuntu 16.04 - gbp - 20171213-2018
-* ZZCI - Ubuntu 16.04 - gbp - 20180723-235534.431
-* ZZCI - Ubuntu 16.04 - kubernetes - 20180527-1344
-* ZZCI - Ubuntu 16.04 - kubernetes - 20180723-235526.580
-* ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20171208-1847
-* ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20180723-235543.682
-* ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20171208-1847
-* ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20180723-235543.774
-* ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180301-1041
-* ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507
-Subproject commit 70c97bbbfbd071c6e75f7a3d47a453ee863c69ec
+Subproject commit 8b56734eada742094399d6e52cbc2ddef7b39b2c
-IMAGE_NAME=ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20180723-235543.682
+IMAGE_NAME=ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20181029-223449.514
HARDWARE_ID=odl-standard-1
robot-options: ''
# mininet image
- tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20180723-235543.682
+ tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20181029-223449.514
- genius:
csit-list: >
- genius-csit-1node-gate-all-{stream}
+ genius-csit-1node-gate-only-{stream}
mvn-settings: 'aaa-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: aaa
- description: 'List of aaa jobs'
- regex: '^aaa-.*'
- <<: *releng_view_common
+- project:
+ name: aaa-view
+ views:
+ - project-view
+ project-name: aaa
mvn-settings: 'alto-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: alto
- description: 'List of alto jobs'
- regex: '^alto-.*'
- <<: *releng_view_common
+- project:
+ name: alto-view
+ views:
+ - project-view
+ project-name: alto
branch: 'master'
mvn-settings: 'archetypes-settings'
-- view:
- name: archetypes
- regex: '^archetypes-.*'
- description: 'List of archetypes jobs'
- <<: *releng_view_common
+- project:
+ name: archetypes-view
+ views:
+ - project-view
+ project-name: archetypes
settings-type: cfp
global-settings: '{global-settings}'
global-settings-type: cfp
-
-- builder:
- name: autorelease-maven-sources-post-process
- builders:
- shell: |
awk '/The following files have NOT been resolved:/,/^$/' sources.log > missing-sources.log
**/target/feature/feature.xml
# TODO: **/*.hprof is too large, compress with xz first
-- view:
- name: autorelease
- description: 'List of autorelease jobs'
- regex: '^autorelease-.*'
- <<: *releng_view_common
+- project:
+ name: autorelease-view
+ views:
+ - project-view
+ project-name: autorelease
refspec: 'refs/heads/master'
jenkins-ssh-credential: opendaylight-jenkins-ssh
submodule-recursive: true
+ submodule-timeout: 10
choosing-strategy: default
wrappers:
parameters:
- maven-exec:
- maven-version: 'mvn35'
+ maven-version: '{mvn-version}'
- lf-infra-parameters:
project: '{project}'
stream: '{stream}'
- lf-maven-install:
mvn-version: '{mvn-version}'
- wipe-local-maven-repo
- - jacoco-nojava-workaround
+ - lf-jacoco-nojava-workaround
- shell: "./scripts/list-project-dependencies.sh"
- autorelease-determine-merge-order
- autorelease-cfp:
# to enable building in a single maven reactor afterwards.
- autorelease-fix-relative-paths
- maven-target:
- maven-version: 'mvn35'
+ maven-version: '{mvn-version}'
pom: 'pom.xml'
goals: |
clean deploy
- autorelease-get-integration-test-variables
- autorelease-maven-sources:
opendaylight-infra-mvn-opts: '{opendaylight-infra-mvn-opts}'
- maven-version: 'mvn35'
+ maven-version: '{mvn-version}'
settings: 'autorelease-settings'
global-settings: 'global-settings'
- - autorelease-maven-sources-post-process
- shell: |
mkdir -p archives/
cp *.log *.prop $_
refspec: 'refs/heads/{branch}'
jenkins-ssh-credential: opendaylight-jenkins-ssh
submodule-recursive: true
+ submodule-timeout: 10
choosing-strategy: default
wrappers:
refspec: 'refs/heads/master'
jenkins-ssh-credential: opendaylight-jenkins-ssh
submodule-recursive: true
+ submodule-timeout: 10
choosing-strategy: default
triggers:
refspec: 'refs/heads/{branch}'
jenkins-ssh-credential: opendaylight-jenkins-ssh
submodule-recursive: true
+ submodule-timeout: 10
choosing-strategy: default
wrappers:
refspec: '$GERRIT_REFSPEC'
jenkins-ssh-credential: opendaylight-jenkins-ssh
submodule-recursive: true
+ submodule-timeout: 10
choosing-strategy: default
wrappers:
- lf-infra-pre-build
- autorelease-checkout-gerrit-patch
- autorelease-compare-projects
- - jacoco-nojava-workaround
+ - lf-jacoco-nojava-workaround
- shell: "./scripts/list-project-dependencies.sh"
- autorelease-determine-merge-order
- autorelease-generate-release-patches
fi
done
-project_int_dist+=("mdsal")
project_int_dist+=("integration/distribution")
# Get a list of all the projects from releng/autorelease repo
EOF
for module in "${modules[@]}"; do
- # TODO: Remove this once mdsal fully becomes an MRI project.
- if [ "$module" == "mdsal" ] && [ "$BRANCH" == "master" ]; then
- continue
- fi
-
echo "Include $module"
echo " - ${module//\//-}:" >> "$YAML_FILE"
echo " project: $module" >> "$YAML_FILE"
- 'infrautils-maven-merge-neon'
- 'integration/distribution-maven-merge-neon'
- 'lispflowmapping-maven-merge-neon'
- - 'mdsal-maven-merge-neon'
- 'netconf-maven-merge-neon'
- 'netvirt-maven-merge-neon'
- 'neutron-maven-merge-neon'
mvn-settings: 'bgpcep-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: bgpcep
- description: 'List of bgpcep jobs'
- regex: '^bgpcep-.*'
- <<: *releng_view_common
+- project:
+ name: bgpcep-view
+ views:
+ - project-view
+ project-name: bgpcep
mvn-settings: 'bier-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: bier
- description: 'List of bier jobs'
- regex: '^bier-.*'
- <<: *releng_view_common
+- project:
+ name: bier-view
+ views:
+ - project-view
+ project-name: bier
mvn-settings: 'capwap-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: capwap
- description: 'List of capwap jobs'
- regex: '^capwap-.*'
- <<: *releng_view_common
+
+- project:
+ name: capwap-view
+ views:
+ - project-view
+ project-name: capwap
mvn-settings: 'cardinal-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: cardinal
- description: 'List of cardinal jobs'
- regex: '^cardinal-.*'
- <<: *releng_view_common
+- project:
+ name: cardinal-view
+ views:
+ - project-view
+ project-name: cardinal
mvn-settings: 'centinel-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: centinel
- description: 'List of centinel jobs'
- regex: '^centinel-.*'
- <<: *releng_view_common
+- project:
+ name: centinel-view
+ views:
+ - project-view
+ project-name: centinel
- all:
scope: 'all'
- tools_system_count: 3
+ tools_system_count: 5
tools_system_image: ZZCI - Ubuntu 16.04 - kubernetes - 20180723-235526.580
mvn-settings: 'coe-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: coe
- description: 'List of coe jobs'
- regex: '^coe-.*'
- <<: *releng_view_common
+- project:
+ name: coe-view
+ views:
+ - project-view
+ project-name: coe
- genius:
csit-list: >
- genius-csit-1node-gate-all-{stream}
+ genius-csit-1node-gate-only-{stream}
mvn-goals: 'clean deploy -Pintegrationtests,docs'
mvn-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
-- view:
- name: controller
- description: 'List of controller jobs'
- regex: '^controller-.*'
- <<: *releng_view_common
+- project:
+ name: controller-view
+ views:
+ - project-view
+ project-name: controller
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
build-timeout: 120
-- view:
- name: coretutorials
- description: 'List of coretutorials jobs'
- regex: '^coretutorials-.*'
- <<: *releng_view_common
+- project:
+ name: coretutorials-view
+ views:
+ - project-view
+ project-name: coretutorials
mvn-settings: 'daexim-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: daexim
- description: 'List of daexim jobs'
- regex: '^daexim-.*'
- <<: *releng_view_common
+- project:
+ name: daexim-view
+ views:
+ - project-view
+ project-name: daexim
- defaults:
name: global
- functionality: global
- stream: global
prefix: '' # A prefix for job names sandbox for example: user-
- scriptplan: '{project}.txt'
- configplan: '{project}.txt'
- testplan: '{project}-{functionality}.txt'
- streamtestplan: '{project}-{functionality}-{stream}.txt'
karaf-version: karaf4
build-days-to-keep: 30
use-features-boot: 'True'
sm-features: ''
# CSIT images configuration
- openstack_system_image_queens: ZZCI - CentOS 7 - devstack-queens - 20180911-204058.666
- openstack_system_image_pike: ZZCI - CentOS 7 - devstack-pike - 20171208-1649
+ openstack_queens_system_image: ZZCI - CentOS 7 - devstack-queens - 20181101-190143.891
+ openstack_pike_system_image: ZZCI - CentOS 7 - devstack-pike - 20171208-1649
stack-template: csit-2-instance-type.yaml
docker_system_count: 1
docker_system_flavor: odl-standard-1
openstack_system2_image: ZZCI - CentOS 7 - devstack - 20180911-204116.460
tools_system_count: 1
tools_system_flavor: odl-highcpu-2
- tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20180723-235543.682
+ tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20181029-223449.514
# Default Robot framework options
robot-options: ''
opendaylight-infra-mvn-opts: |
--show-version
--batch-mode
- -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-Djenkins
-Dmaven.repo.local=/tmp/r
-Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
mvn-settings: 'didm-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: didm
- description: 'List of didm jobs'
- regex: '^didm-.*'
- <<: *releng_view_common
+- project:
+ name: didm-view
+ views:
+ - project-view
+ project-name: didm
mvn-settings: 'dlux-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: dlux
- description: 'List of dlux jobs'
- regex: '^dlux-.*'
- <<: *releng_view_common
+- project:
+ name: dlux-view
+ views:
+ - project-view
+ project-name: dlux
mvn-settings: 'dluxapps-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: dluxapps
- description: 'List of dluxapps jobs'
- regex: '^dluxapps-.*'
- <<: *releng_view_common
+- project:
+ name: dluxapps-view
+ views:
+ - project-view
+ project-name: dluxapps
rtd-build-url: https://readthedocs.org/api/v2/webhook/opendaylight/32322/
rtd-token: 86e54dd38c651e2164ea63c183ae601d19cd1f3c
-- view:
- name: docs
- description: 'List of docs jobs'
- regex: '^docs-.*'
- <<: *releng_view_common
+- project:
+ name: docs-view
+ views:
+ - project-view
+ project-name: docs
mvn-settings: 'eman-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: eman
- description: 'List of eman jobs'
- regex: '^eman-.*'
- <<: *releng_view_common
+- project:
+ name: eman-view
+ views:
+ - project-view
+ project-name: eman
mvn-settings: 'faas-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: faas
- description: 'List of faas jobs'
- regex: '^faas-.*'
- <<: *releng_view_common
+- project:
+ name: faas-view
+ views:
+ - project-view
+ project-name: faas
mvn-settings: 'federation-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: federation
- description: 'List of federation jobs'
- regex: '^federation-.*'
- <<: *releng_view_common
+- project:
+ name: federation-view
+ views:
+ - project-view
+ project-name: federation
+++ /dev/null
-#!/bin/bash
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2016 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
-##############################################################################
-
-if [[ "$P2ZIP_URL" == "" ]]; then
- P2ZIP_URL=opendaylight.snapshot/$(find . -name "*.zip" -type f -exec ls "{}" + | head -1)
- FILE_NAME=$(echo "$P2ZIP_URL" | awk -F'/' '{ print $NF }')
- RELEASE_PATH="snapshot"
-else
- FILE_NAME=$(echo "$P2ZIP_URL" | awk -F'/' '{ print $NF }')
- VERSION=$(echo "$P2ZIP_URL" | awk -F'/' '{ print $(NF-1) }')
- RELEASE_PATH="release/$VERSION"
- wget --quiet "$P2ZIP_URL" -O "$FILE_NAME"
-fi
-
-# If we detect a snapshot build then release to a snapshot repo
-# YangIDE has indicated that the only want the latest snapshot released to
-# the snapshot directory.
-if echo "$P2ZIP_URL" | grep opendaylight.snapshot; then
- RELEASE_PATH="snapshot"
-fi
-
-cat > "${WORKSPACE}/pom.xml" <<EOF
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.opendaylight.$PROJECT</groupId>
- <artifactId>p2repo</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>2.8.2</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.sonatype.plugins</groupId>
- <artifactId>maven-upload-plugin</artifactId>
- <version>0.0.1</version>
- <executions>
- <execution>
- <id>publish-site</id>
- <phase>deploy</phase>
- <goals>
- <goal>upload-file</goal>
- </goals>
- <configuration>
- <serverId>opendaylight-p2</serverId>
- <repositoryUrl>https://nexus.opendaylight.org/service/local/repositories/p2repos/content-compressed</repositoryUrl>
- <file>$FILE_NAME</file>
- <repositoryPath>org.opendaylight.$PROJECT/$RELEASE_PATH</repositoryPath>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
-EOF
- project:
name: genius-csit-genius-oxygen-fluorine
jobs:
- - inttest-csit-1node
- - inttest-csit-3node
+ - inttest-csit-1node-custom
+ - inttest-csit-3node-custom
project: 'genius'
- 'tdd-wip':
testplan: '{project}-tdd-wip.txt'
+ testplan: '{project}-{functionality}.txt'
+
stream:
- neon:
branch: 'master'
branch: 'stable/oxygen'
install:
- - all:
- scope: 'all'
+ - only:
+ scope: 'only'
tools_system_count: 3
verify-karaf-version: 'karaf4'
install:
- - all:
- scope: 'all'
+ - only:
+ scope: 'only'
tools_system_count: 3
- genius:
csit-list: >
- genius-csit-1node-gate-all-{stream}
+ genius-csit-1node-gate-only-{stream}
- cluster:
csit-list: >
- genius-csit-3node-gate-all-{stream}
+ genius-csit-3node-gate-only-{stream}
- tdd-wip:
csit-list: >
- genius-csit-1node-tdd-wip-all-{stream}
+ genius-csit-1node-tdd-wip-only-{stream}
mvn-settings: 'genius-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: genius
- description: 'List of genius jobs'
- regex: '^genius-.*'
- <<: *releng_view_common
+- project:
+ name: genius-view
+ views:
+ - project-view
+ project-name: genius
- project:
name: groupbasedpolicy-csit-openstack-integration
jobs:
- - inttest-csit-openstack
+ - inttest-csit-openstack-custom
# The project name
project: 'groupbasedpolicy'
mvn-goals: '-U clean deploy findbugs:findbugs'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: groupbasedpolicy
- description: 'List of groupbasedpolicy jobs'
- regex: '^groupbasedpolicy-.*'
- <<: *releng_view_common
+- project:
+ name: groupbasedpolicy-view
+ views:
+ - project-view
+ project-name: groupbasedpolicy
mvn-settings: 'honeycomb-vbd-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: vbd
- description: 'List of vbd jobs'
- regex: '^vbd-.*'
- <<: *releng_view_common
+- project:
+ name: vbd-view
+ views:
+ - project-view
+ project-name: vbd
- genius:
csit-list: >
- genius-csit-1node-gate-all-{stream}
+ genius-csit-1node-gate-only-{stream}
+
+ - genius-cluster:
+ csit-list: >
+ genius-csit-3node-gate-only-{stream}
mvn-settings: 'infrautils-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: infrautils
- description: 'List of infrautils jobs'
- regex: '^infrautils-.*'
- <<: *releng_view_common
+- project:
+ name: infrautils-view
+ views:
+ - project-view
+ project-name: infrautils
mkdir -p ${WORKSPACE}/archives
mv /tmp/changes.txt ${WORKSPACE}/archives
+ mv /tmp/validations.txt ${WORKSPACE}/archives
mv ${WORKSPACE}/rabbit.txt ${WORKSPACE}/archives
mv ${WORKSPACE}/haproxy.cfg ${WORKSPACE}/archives
ssh ${OPENSTACK_HAPROXY_1_IP} "sudo journalctl -u haproxy > /tmp/haproxy.log"
daexim-csit-3node-clustering-basic-only-fluorine,
distribution-csit-1node-userfeatures-all-fluorine,
distribution-csit-managed-fluorine,
-genius-csit-1node-upstream-all-fluorine,
-genius-csit-3node-upstream-all-fluorine,
+genius-csit-1node-upstream-only-fluorine,
+genius-csit-3node-upstream-only-fluorine,
lispflowmapping-csit-1node-msmr-all-fluorine,
lispflowmapping-csit-1node-performance-only-fluorine,
lispflowmapping-csit-3node-msmr-all-fluorine,
netconf-csit-1node-callhome-only-fluorine,
netconf-csit-1node-scale-only-fluorine,
netconf-csit-1node-userfeatures-all-fluorine,
-netconf-csit-3node-cluster-stress-all-fluorine,
-netconf-csit-3node-clustering-all-fluorine,
-netconf-csit-3node-clustering-scale-all-fluorine,
+netconf-csit-3node-clustering-only-fluorine,
+netconf-csit-3node-clustering-scale-only-fluorine,
netvirt-csit-1node-0cmb-1ctl-2cmp-apex-queens-upstream-snat-conntrack-fluorine,
netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-sfc-fluorine,
netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upgrade-fluorine,
daexim-csit-3node-clustering-basic-only-neon,
distribution-csit-1node-userfeatures-all-neon,
distribution-csit-managed-neon,
-genius-csit-1node-upstream-all-neon,
-genius-csit-3node-upstream-all-neon,
+genius-csit-1node-upstream-only-neon,
+genius-csit-3node-upstream-only-neon,
lispflowmapping-csit-1node-msmr-all-neon,
lispflowmapping-csit-1node-performance-only-neon,
lispflowmapping-csit-3node-msmr-all-neon,
netconf-csit-1node-callhome-only-neon,
netconf-csit-1node-scale-only-neon,
netconf-csit-1node-userfeatures-all-neon,
-netconf-csit-3node-cluster-stress-all-neon,
-netconf-csit-3node-clustering-all-neon,
-netconf-csit-3node-clustering-scale-all-neon,
+netconf-csit-3node-clustering-only-neon,
+netconf-csit-3node-clustering-scale-only-neon,
netvirt-csit-1node-0cmb-1ctl-2cmp-apex-queens-upstream-snat-conntrack-neon,
netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-sfc-neon,
netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upgrade-neon,
distribution-csit-1node-userfeatures-all-oxygen,
distribution-csit-managed-oxygen,
dluxapps-csit-1node-yangman-all-oxygen,
-genius-csit-1node-upstream-all-oxygen,
-genius-csit-3node-upstream-all-oxygen,
+genius-csit-1node-upstream-only-oxygen,
+genius-csit-3node-upstream-only-oxygen,
groupbasedpolicy-csit-1node-3-node-all-oxygen,
groupbasedpolicy-csit-1node-6node-all-oxygen,
groupbasedpolicy-csit-1node-sxp-only-oxygen,
netconf-csit-1node-callhome-only-oxygen,
netconf-csit-1node-scale-only-oxygen,
netconf-csit-1node-userfeatures-all-oxygen,
-netconf-csit-3node-cluster-stress-all-oxygen,
-netconf-csit-3node-clustering-all-oxygen,
-netconf-csit-3node-clustering-scale-all-oxygen,
+netconf-csit-3node-clustering-only-oxygen,
+netconf-csit-3node-clustering-scale-only-oxygen,
netvirt-csit-1node-0cmb-1ctl-1cmp-openstack-queens-sfc-oxygen,
netvirt-csit-1node-0cmb-1ctl-2cmp-apex-queens-upstream-snat-conntrack-oxygen,
netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-itm-direct-tunnels-oxygen,
sm-repos: >
mvn:org.opendaylight.sxp/features-sxp//xml/features,
mvn:org.opendaylight.tsdr/features-tsdr//xml/features,
- mvn:org.opendaylight.unimgr/features4-unimgr//xml/features,
+ mvn:org.opendaylight.unimgr/features4-unimgr//xml/features
sm-features: >
odl-sxp-routing,
odl-tsdr-core,
odl-tsdr-cassandra,
odl-tsdr-hbase,
odl-tsdr-hsqldb,
- odl-tsdr-elasticsearch,
- odl-unimgr,
- odl-unimgr-template-driver,
- odl-unimgr-cisco-xr-driver,
- odl-unimgr-ovs-driver,
+ odl-tsdr-elasticsearch
- fluorine:
branch: 'stable/fluorine'
karaf-version: odl
mvn:org.opendaylight.sxp/features-sxp//xml/features,
mvn:org.opendaylight.transportpce/features-transportpce//xml/features,
mvn:org.opendaylight.tsdr/features-tsdr//xml/features,
- mvn:org.opendaylight.unimgr/features4-unimgr//xml/features,
+ mvn:org.opendaylight.unimgr/features4-unimgr//xml/features
sm-features: >
odl-snmp4sdn-snmp4sdn
odl-sxp-routing,
odl-unimgr,
odl-unimgr-template-driver,
odl-unimgr-cisco-xr-driver,
- odl-unimgr-ovs-driver,
+ odl-unimgr-ovs-driver
- oxygen:
branch: 'stable/oxygen'
karaf-version: karaf4
mvn-goals: clean install dependency:tree -DoutputFile=dependency_tree.txt
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: distribution
- description: 'List of distribution jobs'
- regex: '^(integration-)?distribution-.*'
- <<: *releng_view_common
+- project:
+ name: distribution-view
+ views:
+ - common-view
+ view-name: distribution
+ view-regex: '^(integration-)?distribution-.*'
---
-- project:
- name: distribution-templates
-
- job-template:
name: '{project-name}-distribution-check-{stream}'
java-version: openjdk8
mvn-version: mvn35
+ csit-gate-list: ''
+ block_on_csit: false
+ # Unless block_on_csit is true, the failure-threshold will be ignored. For project jobs that
+ # want to fail distribution check on csit jobs, they will only need a list of jobs to run
+ # plus the change of block_on_csit to true, and this failure-threshold: 'UNSTABLE' will take
+ # effect
+ failure-threshold: 'UNSTABLE'
#####################
# Job Configuration #
dist-pom: distribution/pom.xml
- distribution-check-bootup
+ - trigger-builds:
+ - project: '{csit-gate-list}'
+ block: '{obj:block_on_csit}'
+ block-thresholds:
+ failure-threshold: '{failure-threshold}'
+ predefined-parameters: |
+ BUNDLE_URL=$BUNDLE_URL
+ KARAF_VERSION=$KARAF_VERSION
+
publishers:
- email-notification:
email-recipients: '{email-recipients}'
builders:
- wipe-org-opendaylight-repo
- - provide-maven-settings:
+ - lf-provide-maven-settings:
global-settings-file: 'global-settings'
settings-file: 'integration-settings'
- maven-target:
prebuilders:
- wipe-org-opendaylight-repo
- - jacoco-nojava-workaround
- - provide-maven-settings:
+ - lf-jacoco-nojava-workaround
+ - lf-provide-maven-settings:
global-settings-file: 'global-settings'
settings-file: 'integration-settings'
- integration-set-variables
email-prefix: '[{project-name}]'
- integration-csit-archive-build
- lf-infra-publish
-
retries 3
timeout http-request 10s
timeout queue 2m
- timeout connect 10s
- timeout client 2m
- timeout server 2m
- timeout check 10s
+ timeout connect 5s
+ timeout client 5s
+ timeout server 5s
listen opendaylight
bind ${haproxy_ip}:8181 transparent
listen opendaylight_ws
bind ${haproxy_ip}:8185 transparent
mode http
- timeout connect 5s
- timeout client 25s
- timeout server 25s
timeout tunnel 3600s
- option httpchk GET /diagstatus
+ option httpchk GET /data-change-event-subscription/neutron:neutron/neutron:ports/datastore=OPERATIONAL/scope=SUBTREE HTTP/1.1\r\nHost:\ ws.opendaylight.org\r\nConnection:\ Upgrade\r\nUpgrade:\ websocket\r\nSec-WebSocket-Key:\ haproxy\r\nSec-WebSocket-Version:\ 13\r\nSec-WebSocket-Protocol:\ echo-protocol
+ http-check expect status 101
EOF
odlindex=1
for odlip in ${odl_ips[*]}; do
- echo " server opendaylight-ws-${odlindex} ${odlip}:8185 check port 8181 fall 5 inter 2000 rise 2" >> ${WORKSPACE}/haproxy.cfg
+ echo " server opendaylight-ws-${odlindex} ${odlip}:8185 check fall 3 inter 1000 rise 2" >> ${WORKSPACE}/haproxy.cfg
odlindex=$((odlindex+1))
done
-v TOOLS_SYSTEM_IP:${TOOLS_SYSTEM_1_IP} \
-v TOOLS_SYSTEM_1_IP:${TOOLS_SYSTEM_1_IP} \
-v TOOLS_SYSTEM_2_IP:${TOOLS_SYSTEM_2_IP} \
+ -v TOOLS_SYSTEM_3_IP:${TOOLS_SYSTEM_3_IP} \
-v USER_HOME:${HOME} \
-v WORKSPACE:/tmp \
${TESTOPTIONS} ${suite} || true
pip install --upgrade robotframework-httplibrary \
requests==2.15.1 \
robotframework-requests \
- robotframework-sshlibrary \
+ robotframework-sshlibrary==3.1.1 \
robotframework-selenium2library \
robotframework-pycurllibrary
- integration-test-options:
test-options: '{robot-options}'
- integration-script-plan:
- script-plan: '{scriptplan}'
+ script-plan: '{project}.txt'
- integration-config-plan:
- config-plan: '{configplan}'
+ config-plan: '{project}.txt'
- integration-stream-test-plan:
stream-test-plan: '{project}-{functionality}-{verify-stream}.txt'
- integration-test-plan:
- releng-openstack-stack-delete
- lf-infra-publish
-- job-template:
- name: '{prefix}{project}-csit-1node-{functionality}-{install}-{stream}'
- id: inttest-csit-1node
+
+######################
+# inttest-csit-1node #
+######################
+
+- inttest_csit_1node: &inttest_csit_1node
+ name: inttest-csit-1node
+
+ #####################
+ # Default variables #
+ #####################
+
disable-job: false
- disabled: '{disable-job}'
+
+ #####################
+ # Job configuration #
+ #####################
project-type: freestyle
node: centos7-robot-2c-8g
+ concurrent: true
+ disabled: '{disable-job}'
properties:
- opendaylight-infra-properties:
- integration-test-options:
test-options: '{robot-options}'
- integration-script-plan:
- script-plan: '{scriptplan}'
+ script-plan: '{project}.txt'
- integration-config-plan:
- config-plan: '{configplan}'
+ config-plan: '{project}.txt'
- integration-stream-test-plan:
- stream-test-plan: '{streamtestplan}'
+ stream-test-plan: '{project}-{functionality}-{stream}.txt'
- integration-test-plan:
- test-plan: '{testplan}'
+ test-plan: '{project}-{functionality}.txt'
- integration-test-suites:
test-suites: '{test-suites}'
- integration-patch-refspec:
- releng-openstack-stack-delete
- lf-infra-publish
+- job-template:
+ name: '{prefix}{project}-csit-1node-{functionality}-{install}-{stream}'
+ id: inttest-csit-1node
+ <<: *inttest_csit_1node
+
+- job-template:
+ name: '{prefix}{project}-csit-1node-{functionality}-{install}-{stream}'
+ id: inttest-csit-1node-custom
+ <<: *inttest_csit_1node
+
+ parameters:
+ - opendaylight-infra-parameters:
+ os-cloud: '{os-cloud}'
+ project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+ - integration-distribution-branch:
+ branch: '{branch}'
+ - integration-distribution-stream:
+ stream: '{stream}'
+ - integration-bundle-url:
+ bundle-url: '{bundle-url}'
+ - integration-repo-url:
+ repo-url: '{repo-url}'
+ - integration-controller-scope:
+ controller-scope: '{scope}'
+ - integration-controller-features:
+ controller-features: '{install-features}'
+ - integration-controller-debug-map:
+ controller-debug-map: '{debug-map}'
+ - integration-test-options:
+ test-options: '{robot-options}'
+ - integration-script-plan:
+ script-plan: '{project}.txt'
+ - integration-config-plan:
+ config-plan: '{project}.txt'
+ - integration-stream-test-plan:
+ stream-test-plan: '{project}-{functionality}-{stream}.txt'
+ - integration-test-plan:
+ test-plan: '{testplan}'
+ - integration-test-suites:
+ test-suites: '{test-suites}'
+ - integration-patch-refspec:
+ branch: 'master'
+ - integration-jdk-version:
+ jdkversion: '{jre}'
+ - distribution-karaf-version:
+ karaf-version: '{karaf-version}'
+ - integration-use-features-boot:
+ use-features-boot: 'True'
+
+
- job-template:
name: '{prefix}{project}-csit-verify-3node-{functionality}'
id: inttest-csit-verify-3node
- integration-test-options:
test-options: '{robot-options}'
- integration-script-plan:
- script-plan: '{scriptplan}'
+ script-plan: '{project}.txt'
- integration-config-plan:
- config-plan: '{configplan}'
+ config-plan: '{project}.txt'
- integration-stream-test-plan:
stream-test-plan: '{project}-{functionality}-{verify-stream}.txt'
- integration-test-plan:
- releng-openstack-stack-delete
- lf-infra-publish
-- job-template:
- name: '{prefix}{project}-csit-3node-{functionality}-{install}-{stream}'
- id: inttest-csit-3node
- disabled: false
+
+######################
+# inttest-csit-3node #
+######################
+
+- inttest_csit_3node: &inttest_csit_3node
+ name: inttest-csit-3node
+
+ #####################
+ # Default variables #
+ #####################
+
+ disable-job: false
+
+ #####################
+ # Job configuration #
+ #####################
project-type: freestyle
node: centos7-robot-2c-8g
+ concurrent: true
+ disabled: '{disable-job}'
properties:
- opendaylight-infra-properties:
- integration-test-options:
test-options: '{robot-options}'
- integration-script-plan:
- script-plan: '{scriptplan}'
+ script-plan: '{project}.txt'
- integration-config-plan:
- config-plan: '{configplan}'
+ config-plan: '{project}.txt'
- integration-stream-test-plan:
- stream-test-plan: '{streamtestplan}'
+ stream-test-plan: '{project}-{functionality}-{stream}.txt'
- integration-test-plan:
- test-plan: '{testplan}'
+ test-plan: '{project}-{functionality}.txt'
- integration-test-suites:
test-suites: '{test-suites}'
- integration-patch-refspec:
- releng-openstack-stack-delete
- lf-infra-publish
+- job-template:
+ name: '{prefix}{project}-csit-3node-{functionality}-{install}-{stream}'
+ id: inttest-csit-3node
+ <<: *inttest_csit_3node
+
+- job-template:
+ name: '{prefix}{project}-csit-3node-{functionality}-{install}-{stream}'
+ id: inttest-csit-3node-custom
+ <<: *inttest_csit_3node
+
+ parameters:
+ - opendaylight-infra-parameters:
+ os-cloud: '{os-cloud}'
+ project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+ - integration-distribution-branch:
+ branch: '{branch}'
+ - integration-distribution-stream:
+ stream: '{stream}'
+ - integration-bundle-url:
+ bundle-url: '{bundle-url}'
+ - integration-repo-url:
+ repo-url: '{repo-url}'
+ - integration-controller-scope:
+ controller-scope: '{scope}'
+ - integration-controller-features:
+ controller-features: 'odl-jolokia,{install-features}'
+ - integration-controller-debug-map:
+ controller-debug-map: '{debug-map}'
+ - integration-test-options:
+ test-options: '{robot-options}'
+ - integration-script-plan:
+ script-plan: '{project}.txt'
+ - integration-config-plan:
+ config-plan: '{project}.txt'
+ - integration-stream-test-plan:
+ stream-test-plan: '{project}-{functionality}-{stream}.txt'
+ - integration-test-plan:
+ test-plan: '{testplan}'
+ - integration-test-suites:
+ test-suites: '{test-suites}'
+ - integration-patch-refspec:
+ branch: 'master'
+ - integration-jdk-version:
+ jdkversion: '{jre}'
+ - distribution-karaf-version:
+ karaf-version: '{karaf-version}'
+ - integration-use-features-boot:
+ use-features-boot: 'True'
+
+
- job-template:
name: '{prefix}{project}-csit-3node-docker-{functionality}-{install}-{stream}'
id: inttest-csit-3node-docker
- integration-test-options:
test-options: '{robot-options}'
- integration-script-plan:
- script-plan: '{scriptplan}'
+ script-plan: '{project}.txt'
- integration-config-plan:
- config-plan: '{configplan}'
+ config-plan: '{project}.txt'
- integration-stream-test-plan:
stream-test-plan: '{project}-{functionality}-{stream}.txt'
- integration-test-plan:
- releng-openstack-stack-delete
- lf-infra-publish
-- job-template:
- # yamllint disable-line rule:line-length
- name: '{prefix}{project}-csit-hwvtep-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}'
- id: inttest-csit-hwvtep-openstack
- disabled: false
+
+#################################
+# inttest-csit-hwvtep-openstack #
+#################################
+
+- inttest_csit_hwvtep_openstack: &inttest_csit_hwvtep_openstack
+ name: inttest-csit-hwvtep-openstack
+
+ #####################
+ # Default variables #
+ #####################
+
+ disable-job: false
+
+ #####################
+ # Job configuration #
+ #####################
project-type: freestyle
node: centos7-robot-2c-8g
concurrent: true
+ disabled: '{disable-job}'
properties:
- opendaylight-infra-properties:
- integration-test-options:
test-options: '{robot-options}'
- integration-script-plan:
- script-plan: '{scriptplan}'
+ script-plan: '{project}.txt'
- integration-config-plan:
- config-plan: '{configplan}'
+ config-plan: '{project}.txt'
- integration-test-plan:
- test-plan: '{testplan}'
+ test-plan: '{project}-{functionality}.txt'
- integration-test-suites:
test-suites: '{test-suites}'
- integration-patch-refspec:
default: '{ovs-install}'
description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum
repo url to pull from.'
+
scm:
- integration-gerrit-scm:
basedir: 'test'
- job-template:
# yamllint disable-line rule:line-length
- name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}'
- id: inttest-csit-openstack
- disabled: false
-
- project-type: freestyle
- node: centos7-robot-2c-8g
- concurrent: true
+ name: '{prefix}{project}-csit-hwvtep-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}'
+ id: inttest-csit-hwvtep-openstack
+ <<: *inttest_csit_hwvtep_openstack
- properties:
- - opendaylight-infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
+- job-template:
+ # yamllint disable-line rule:line-length
+ name: '{prefix}{project}-csit-hwvtep-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}'
+ id: inttest-csit-hwvtep-openstack-custom
+ <<: *inttest_csit_hwvtep_openstack
parameters:
- opendaylight-infra-parameters:
- integration-test-options:
test-options: '{robot-options}'
- integration-script-plan:
- script-plan: '{scriptplan}'
+ script-plan: '{project}.txt'
- integration-config-plan:
- config-plan: '{configplan}'
+ config-plan: '{project}.txt'
- integration-test-plan:
test-plan: '{testplan}'
- integration-test-suites:
default: '{odl-ml2-port-binding}'
description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
network-topology)'
- - string:
- name: ENABLE_GRE_TYPE_DRIVERS
- default: '{enable-gre-type-driver}'
- description: 'Enable gre tunnel'
- string:
name: DEVSTACK_KUBERNETES_PLUGIN_REPO
default: '{devstack-kubernetes-plugin-repo}'
- string:
name: ENABLE_OS_SERVICES
default: '{enable-openstack-services}'
- description: 'comma seperated list of services to enable'
+ description: 'comma separated list of services to enable on controller nodes'
- string:
name: ENABLE_OS_COMPUTE_SERVICES
default: '{enable-openstack-compute-services}'
default: '{ovs-install}'
description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum
repo url to pull from.'
- scm:
- - integration-gerrit-scm:
- basedir: 'test'
- refspec: '$PATCHREFSPEC'
- branch: 'master'
- wrappers:
- - opendaylight-infra-wrappers:
- build-timeout: '{build-timeout}'
- triggers:
- - timed: '{schedule}'
+##########################
+# inttest-csit-openstack #
+##########################
- builders:
- - lf-infra-pre-build
- - integration-infra-stack-3-type:
- stack-template: '{stack-template}'
- vm_0_count: '{odl_system_count}'
- vm_0_flavor: '{odl_system_flavor}'
- vm_0_image: '{odl_system_image}'
- vm_1_count: '{openstack_system_count}'
- vm_1_flavor: '{openstack_system_flavor}'
- vm_1_image: '{openstack_system_image}'
- vm_2_count: '{openstack_system2_count}'
- vm_2_flavor: '{openstack_system2_flavor}'
- vm_2_image: '{openstack_system2_image}'
- - integration-install-robotframework
- - inject:
- properties-file: 'env.properties'
- - integration-get-slave-addresses
- - inject:
- properties-file: 'slave_addresses.txt'
- - integration-detect-variables
- - integration-install-common-functions
- - integration-deploy-controller-run-test
- - integration-deploy-openstack-run-test
- - integration-cleanup-tmp
+- inttest_csit_openstack: &inttest_csit_openstack
+ name: inttest-csit-openstack
- publishers:
- - integration-robot-tempest:
- unstable-if: 0.0
- pass-if: 100.0
- - email-notification:
- email-recipients: '{email-recipients}'
- email-prefix: '[{project}]'
- - integration-csit-collect-netvirt-logs
- - integration-csit-archive-build
- - integration-csit-run-postscript
- - releng-openstack-stack-delete
- - lf-infra-publish
+ #####################
+ # Default variables #
+ #####################
-# Template: {project}-patch-test-{stream}
-# Goal: Build a patch and run project specific system test on a distribution containing the change
-# Operation: This job template builds a patch, creates a distribution containing the patch, and
-# triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
+ disable-job: false
-- job-template:
- name: '{prefix}{project}-patch-test-{feature}-{stream}'
- id: inttest-patch-test
+ #####################
+ # Job configuration #
+ #####################
project-type: freestyle
- node: centos7-builder-2c-8g
+ node: centos7-robot-2c-8g
concurrent: true
- jdk: '{java-version}'
+ disabled: '{disable-job}'
properties:
- opendaylight-infra-properties:
parameters:
- opendaylight-infra-parameters:
os-cloud: '{os-cloud}'
- project: '{project}'
+ project: 'integration/test'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
artifacts: '{archive-artifacts}'
- integration-distribution-branch:
branch: '{branch}'
+ - integration-distribution-stream:
+ stream: '{stream}'
+ - integration-bundle-url:
+ bundle-url: '{bundle-url}'
+ - integration-repo-url:
+ repo-url: '{repo-url}'
+ - integration-controller-features:
+ controller-features: '{install-features}'
+ - integration-controller-debug-map:
+ controller-debug-map: '{debug-map}'
+ - integration-test-options:
+ test-options: '{robot-options}'
+ - integration-script-plan:
+ script-plan: '{project}.txt'
+ - integration-config-plan:
+ config-plan: '{project}.txt'
+ - integration-test-plan:
+ test-plan: '{project}-{functionality}.txt'
+ - integration-test-suites:
+ test-suites: '{test-suites}'
+ - integration-patch-refspec:
+ branch: 'master'
+ - integration-jdk-version:
+ jdkversion: '{jre}'
- distribution-karaf-version:
karaf-version: '{karaf-version}'
- - integration-distribution-git-url:
- git-url: '{git-url}'
+ - integration-use-features-boot:
+ use-features-boot: '{use-features-boot}'
- string:
- name: feature
- default: 'all'
- description: 'Specific feature test for patch'
- - maven-exec:
- maven-version: mvn35
-
- scm:
- - integration-gerrit-scm:
- basedir: '{project}'
- refspec: '$GERRIT_REFSPEC'
+ name: OPENSTACK_BRANCH
+ default: '{openstack-branch}'
+ description: 'Openstack version to use with devstack'
+ - string:
+ name: DEVSTACK_HASH
+ default: '{devstack-hash}'
+ description: 'devstack hash to checkout'
+ - string:
+ name: ODL_ML2_DRIVER_REPO
+ default: '{odl-ml2-driver-repo}'
+ description: 'URL to fetch networking-odl driver'
+ - string:
+ name: ODL_ML2_BRANCH
+ default: '{odl-ml2-branch}'
+ description: 'Version of networking-odl to checkout from the repo'
+ - string:
+ name: ODL_ML2_DRIVER_VERSION
+ default: '{odl-ml2-driver-version}'
+ description: 'Mode of networking-odl (v1 or v2)'
+ - string:
+ name: ODL_ML2_PORT_BINDING
+ default: '{odl-ml2-port-binding}'
+ description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
+ network-topology)'
+ - string:
+ name: ENABLE_GRE_TYPE_DRIVERS
+ default: '{enable-gre-type-driver}'
+ description: 'Enable gre tunnel'
+ - string:
+ name: DEVSTACK_KUBERNETES_PLUGIN_REPO
+ default: '{devstack-kubernetes-plugin-repo}'
+ description: 'URL to fetch kubernetes devstack plugin'
+ - string:
+ name: DEVSTACK_LBAAS_PLUGIN_REPO
+ default: '{devstack-lbaas-plugin-repo}'
+ description: 'URL to fetch neutron-lbaas devstack plugin'
+ - string:
+ name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
+ default: '{devstack-networking-sfc-plugin-repo}'
+ description: 'URL to fetch neutron-lbaas devstack plugin'
+ - string:
+ name: IPSEC_VXLAN_TUNNELS_ENABLED
+ default: '{ipsec-vxlan-tunnels-enabled}'
+ description: 'Enable ipsec over vxlan support for all controllers and computes'
+ - string:
+ name: PUBLIC_BRIDGE
+ default: '{public-bridge}'
+ description: 'Specifies public bridge for provider and external networking'
+ - string:
+ name: ENABLE_HAPROXY_FOR_NEUTRON
+ default: '{enable-haproxy}'
+ description: 'Enable HAProxy for using neutron interface as HA'
+ - string:
+ name: ENABLE_OS_SERVICES
+ default: '{enable-openstack-services}'
+ description: 'comma seperated list of services to enable'
+ - string:
+ name: ENABLE_OS_COMPUTE_SERVICES
+ default: '{enable-openstack-compute-services}'
+ description: 'comma separated list of services to enable on compute nodes'
+ - string:
+ name: ENABLE_OS_NETWORK_SERVICES
+ default: '{enable-openstack-network-services}'
+ description: 'comma seperated list of network services to enable'
+ - string:
+ name: ENABLE_OS_PLUGINS
+ default: '{enable-openstack-plugins}'
+ description: 'comma seperated list of plugins to enable'
+ - string:
+ name: DISABLE_OS_SERVICES
+ default: '{disable-openstack-services}'
+ description: 'comma seperated list of services to enable'
+ - string:
+ name: TENANT_NETWORK_TYPE
+ default: '{tenant-network-type}'
+ description: 'Tenant Network Type supported by the implementation'
+ - string:
+ name: SECURITY_GROUP_MODE
+ default: '{security-group-mode}'
+ description: 'Security Group Mode to be used in netvirt aclservice config'
+ - string:
+ name: ENABLE_ITM_DIRECT_TUNNELS
+ default: '{enable-itm-direct-tunnels}'
+ description: 'Tunnel Configuration mode to be used in genius ifm config'
+ - string:
+ name: PUBLIC_PHYSICAL_NETWORK
+ default: '{public-physical-network}'
+ description: 'provider physical network used for flat/vlan networks'
+ - string:
+ name: ENABLE_NETWORKING_L2GW
+ default: '{enable-networking-l2gw}'
+ description: 'Enable networking L2gw'
+ - string:
+ name: NETWORKING_L2GW_DRIVER
+ default: '{networking-l2gw-repo}'
+ description: 'URL to fetch networking-l2gw driver'
+ - string:
+ name: CREATE_INITIAL_NETWORKS
+ default: '{create-initial-networks}'
+ description: 'Toggles the option of letting devstack create initial networks (True/False)'
+ - string:
+ name: LBAAS_SERVICE_PROVIDER
+ default: '{lbaas-service-provider}'
+ description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
+ neutron-lbaas'
+ - string:
+ name: ODL_SFC_DRIVER
+ default: '{odl-sfc-driver}'
+ description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
+ - string:
+ name: ODL_SNAT_MODE
+ default: '{odl-snat-mode}'
+ description: 'The SNAT mode to be configured - options are conntrack/controller.'
+ - string:
+ name: OVS_INSTALL
+ default: '{ovs-install}'
+ description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum
+ repo url to pull from.'
+
+ scm:
+ - integration-gerrit-scm:
+ basedir: 'test'
+ refspec: '$PATCHREFSPEC'
+ branch: 'master'
+
+ wrappers:
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - timed: '{schedule}'
+
+ builders:
+ - lf-infra-pre-build
+ - integration-infra-stack-4-type:
+ stack-template: '{stack-template}'
+ vm_0_count: '{odl_system_count}'
+ vm_0_flavor: '{odl_system_flavor}'
+ vm_0_image: '{odl_system_image}'
+ vm_1_count: '{openstack_system_count}'
+ vm_1_flavor: '{openstack_system_flavor}'
+ vm_1_image: '{openstack_system_image}'
+ vm_2_count: '{openstack_system2_count}'
+ vm_2_flavor: '{openstack_system2_flavor}'
+ vm_2_image: '{openstack_system2_image}'
+ vm_3_count: '{tools_system_count}'
+ vm_3_flavor: '{tools_system_flavor}'
+ vm_3_image: '{tools_system_image}'
+ - integration-install-robotframework
+ - inject:
+ properties-file: 'env.properties'
+ - integration-get-slave-addresses
+ - inject:
+ properties-file: 'slave_addresses.txt'
+ - integration-detect-variables
+ - integration-install-common-functions
+ - integration-deploy-controller-run-test
+ - integration-deploy-openstack-run-test
+ - integration-cleanup-tmp
+
+ publishers:
+ - integration-robot-tempest:
+ unstable-if: 0.0
+ pass-if: 100.0
+ - email-notification:
+ email-recipients: '{email-recipients}'
+ email-prefix: '[{project}]'
+ - integration-csit-collect-netvirt-logs
+ - integration-csit-archive-build
+ - integration-csit-run-postscript
+ - releng-openstack-stack-delete
+ - lf-infra-publish
+
+- job-template:
+ # yamllint disable-line rule:line-length
+ name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}'
+ id: inttest-csit-openstack
+ <<: *inttest_csit_openstack
+
+- job-template:
+ # yamllint disable-line rule:line-length
+ name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}'
+ id: inttest-csit-openstack-custom
+ <<: *inttest_csit_openstack
+
+ parameters:
+ - opendaylight-infra-parameters:
+ os-cloud: '{os-cloud}'
+ project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+ - integration-distribution-branch:
+ branch: '{branch}'
+ - integration-distribution-stream:
+ stream: '{stream}'
+ - integration-bundle-url:
+ bundle-url: '{bundle-url}'
+ - integration-repo-url:
+ repo-url: '{repo-url}'
+ - integration-controller-features:
+ controller-features: '{install-features}'
+ - integration-controller-debug-map:
+ controller-debug-map: '{debug-map}'
+ - integration-test-options:
+ test-options: '{robot-options}'
+ - integration-script-plan:
+ script-plan: '{project}.txt'
+ - integration-config-plan:
+ config-plan: '{project}.txt'
+ - integration-test-plan:
+ test-plan: '{testplan}'
+ - integration-test-suites:
+ test-suites: '{test-suites}'
+ - integration-patch-refspec:
+ branch: 'master'
+ - integration-jdk-version:
+ jdkversion: '{jre}'
+ - distribution-karaf-version:
+ karaf-version: '{karaf-version}'
+ - integration-use-features-boot:
+ use-features-boot: '{use-features-boot}'
+ - string:
+ name: OPENSTACK_BRANCH
+ default: '{openstack-branch}'
+ description: 'Openstack version to use with devstack'
+ - string:
+ name: DEVSTACK_HASH
+ default: '{devstack-hash}'
+ description: 'devstack hash to checkout'
+ - string:
+ name: ODL_ML2_DRIVER_REPO
+ default: '{odl-ml2-driver-repo}'
+ description: 'URL to fetch networking-odl driver'
+ - string:
+ name: ODL_ML2_BRANCH
+ default: '{odl-ml2-branch}'
+ description: 'Version of networking-odl to checkout from the repo'
+ - string:
+ name: ODL_ML2_DRIVER_VERSION
+ default: '{odl-ml2-driver-version}'
+ description: 'Mode of networking-odl (v1 or v2)'
+ - string:
+ name: ODL_ML2_PORT_BINDING
+ default: '{odl-ml2-port-binding}'
+ description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
+ network-topology)'
+ - string:
+ name: ENABLE_GRE_TYPE_DRIVERS
+ default: '{enable-gre-type-driver}'
+ description: 'Enable gre tunnel'
+ - string:
+ name: DEVSTACK_KUBERNETES_PLUGIN_REPO
+ default: '{devstack-kubernetes-plugin-repo}'
+ description: 'URL to fetch kubernetes devstack plugin'
+ - string:
+ name: DEVSTACK_LBAAS_PLUGIN_REPO
+ default: '{devstack-lbaas-plugin-repo}'
+ description: 'URL to fetch neutron-lbaas devstack plugin'
+ - string:
+ name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
+ default: '{devstack-networking-sfc-plugin-repo}'
+ description: 'URL to fetch neutron-lbaas devstack plugin'
+ - string:
+ name: IPSEC_VXLAN_TUNNELS_ENABLED
+ default: '{ipsec-vxlan-tunnels-enabled}'
+ description: 'Enable ipsec over vxlan support for all controllers and computes'
+ - string:
+ name: PUBLIC_BRIDGE
+ default: '{public-bridge}'
+ description: 'Specifies public bridge for provider and external networking'
+ - string:
+ name: ENABLE_HAPROXY_FOR_NEUTRON
+ default: '{enable-haproxy}'
+ description: 'Enable HAProxy for using neutron interface as HA'
+ - string:
+ name: ENABLE_OS_SERVICES
+ default: '{enable-openstack-services}'
+ description: 'comma seperated list of services to enable'
+ - string:
+ name: ENABLE_OS_COMPUTE_SERVICES
+ default: '{enable-openstack-compute-services}'
+ description: 'comma separated list of services to enable on compute nodes'
+ - string:
+ name: ENABLE_OS_NETWORK_SERVICES
+ default: '{enable-openstack-network-services}'
+ description: 'comma seperated list of network services to enable'
+ - string:
+ name: ENABLE_OS_PLUGINS
+ default: '{enable-openstack-plugins}'
+ description: 'comma seperated list of plugins to enable'
+ - string:
+ name: DISABLE_OS_SERVICES
+ default: '{disable-openstack-services}'
+ description: 'comma seperated list of services to enable'
+ - string:
+ name: TENANT_NETWORK_TYPE
+ default: '{tenant-network-type}'
+ description: 'Tenant Network Type supported by the implementation'
+ - string:
+ name: SECURITY_GROUP_MODE
+ default: '{security-group-mode}'
+ description: 'Security Group Mode to be used in netvirt aclservice config'
+ - string:
+ name: ENABLE_ITM_DIRECT_TUNNELS
+ default: '{enable-itm-direct-tunnels}'
+ description: 'Tunnel Configuration mode to be used in genius ifm config'
+ - string:
+ name: PUBLIC_PHYSICAL_NETWORK
+ default: '{public-physical-network}'
+ description: 'provider physical network used for flat/vlan networks'
+ - string:
+ name: ENABLE_NETWORKING_L2GW
+ default: '{enable-networking-l2gw}'
+ description: 'Enable networking L2gw'
+ - string:
+ name: NETWORKING_L2GW_DRIVER
+ default: '{networking-l2gw-repo}'
+ description: 'URL to fetch networking-l2gw driver'
+ - string:
+ name: CREATE_INITIAL_NETWORKS
+ default: '{create-initial-networks}'
+ description: 'Toggles the option of letting devstack create initial networks (True/False)'
+ - string:
+ name: LBAAS_SERVICE_PROVIDER
+ default: '{lbaas-service-provider}'
+ description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
+ neutron-lbaas'
+ - string:
+ name: ODL_SFC_DRIVER
+ default: '{odl-sfc-driver}'
+ description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
+ - string:
+ name: ODL_SNAT_MODE
+ default: '{odl-snat-mode}'
+ description: 'The SNAT mode to be configured - options are conntrack/controller.'
+ - string:
+ name: OVS_INSTALL
+ default: '{ovs-install}'
+ description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum
+ repo url to pull from.'
+
+# Template: {project}-patch-test-{stream}
+# Goal: Build a patch and run project specific system test on a distribution containing the change
+# Operation: This job template builds a patch, creates a distribution containing the patch, and
+# triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
+
+- job-template:
+ name: '{prefix}{project}-patch-test-{feature}-{stream}'
+ id: inttest-patch-test
+
+ project-type: freestyle
+ node: centos7-builder-2c-8g
+ concurrent: true
+ jdk: '{java-version}'
+
+ properties:
+ - opendaylight-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
+
+ parameters:
+ - opendaylight-infra-parameters:
+ os-cloud: '{os-cloud}'
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+ - integration-distribution-branch:
+ branch: '{branch}'
+ - distribution-karaf-version:
+ karaf-version: '{karaf-version}'
+ - integration-distribution-git-url:
+ git-url: '{git-url}'
+ - string:
+ name: feature
+ default: 'all'
+ description: 'Specific feature test for patch'
+ - maven-exec:
+ maven-version: mvn35
+
+ scm:
+ - integration-gerrit-scm:
+ basedir: '{project}'
+ refspec: '$GERRIT_REFSPEC'
branch: '{branch}'
- integration-distribution-scm:
branch: '{branch}'
email-recipients: '{email-recipients}'
email-prefix: '[{project}]'
-- job-template:
- # yamllint disable-line rule:line-length
- name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-apex-{openstack}-{functionality}-{stream}'
- id: inttest-csit-apex
- disabled: false
+
+#####################
+# inttest-csit-apex #
+#####################
+
+- inttest_csit_apex: &inttest_csit_apex
+ name: inttest-csit-apex
+
+ #####################
+ # Default variables #
+ #####################
+
+ disable-job: false
+
+ #####################
+ # Job configuration #
+ #####################
project-type: freestyle
node: centos7-robot-2c-8g
concurrent: true
+ disabled: '{disable-job}'
properties:
- opendaylight-infra-properties:
- integration-test-options:
test-options: '{robot-options}'
- integration-test-plan:
- test-plan: '{testplan}'
+ test-plan: '{project}-{functionality}.txt'
- integration-test-suites:
test-suites: '{test-suites}'
- integration-patch-refspec:
- integration-csit-run-postscript
- releng-openstack-stack-delete
- lf-infra-publish
+
+- job-template:
+ # yamllint disable-line rule:line-length
+ name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-apex-{openstack}-{functionality}-{stream}'
+ id: inttest-csit-apex
+ <<: *inttest_csit_apex
+
+- job-template:
+ # yamllint disable-line rule:line-length
+ name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-apex-{openstack}-{functionality}-{stream}'
+ id: inttest-csit-apex-custom
+ <<: *inttest_csit_apex
+
+ parameters:
+ - opendaylight-infra-parameters:
+ os-cloud: '{os-cloud}'
+ project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+ - integration-distribution-branch:
+ branch: '{branch}'
+ - integration-distribution-stream:
+ stream: '{stream}'
+ - integration-bundle-url:
+ bundle-url: '{bundle-url}'
+ - integration-repo-url:
+ repo-url: '{repo-url}'
+ - integration-controller-features:
+ controller-features: '{install-features}'
+ - integration-controller-debug-map:
+ controller-debug-map: '{debug-map}'
+ - integration-test-options:
+ test-options: '{robot-options}'
+ - integration-test-plan:
+ test-plan: '{testplan}'
+ - integration-test-suites:
+ test-suites: '{test-suites}'
+ - integration-patch-refspec:
+ branch: 'master'
+ - integration-jdk-version:
+ jdkversion: '{jre}'
+ - distribution-karaf-version:
+ karaf-version: '{karaf-version}'
+ - integration-use-features-boot:
+ use-features-boot: '{use-features-boot}'
+ - string:
+ name: OPENSTACK_BRANCH
+ default: '{openstack-branch}'
+ description: 'Openstack version to use with devstack'
+ - string:
+ name: IPSEC_VXLAN_TUNNELS_ENABLED
+ default: '{ipsec-vxlan-tunnels-enabled}'
+ description: 'Enable ipsec over vxlan support for all controllers and computes'
+ - string:
+ name: PUBLIC_BRIDGE
+ default: '{public-bridge}'
+ description: 'Specifies public bridge for provider and external networking'
+ - string:
+ name: SECURITY_GROUP_MODE
+ default: '{security-group-mode}'
+ description: 'Security Group Mode to be used in netvirt aclservice config'
+ - string:
+ name: ENABLE_ITM_DIRECT_TUNNELS
+ default: '{enable-itm-direct-tunnels}'
+ description: 'Tunnel Configuration mode to be used in genius ifm config'
+ - string:
+ name: PUBLIC_PHYSICAL_NETWORK
+ default: '{public-physical-network}'
+ description: 'provider physical network used for flat/vlan networks'
+ - string:
+ name: ODL_SNAT_MODE
+ default: '{odl-snat-mode}'
+ description: 'The SNAT mode to be configured - options are conntrack/controller.'
build-order: >
odlparent yangtools infrautils mdsal controller serviceutils aaa netconf
daexim ovsdb neutron openflowplugin coe genius lispflowmapping sfc netvirt
- bgpcep
+ bgpcep integration/distribution
- fluorine:
branch: 'stable/fluorine'
build-order: >
odlparent yangtools infrautils mdsal controller serviceutils aaa netconf
daexim ovsdb neutron openflowplugin coe genius lispflowmapping sfc netvirt
- bgpcep
+ bgpcep integration/distribution
- oxygen:
branch: 'stable/oxygen'
build-order: >
odlparent yangtools infrautils mdsal controller serviceutils aaa netconf
daexim ovsdb neutron openflowplugin coe genius lispflowmapping sfc netvirt
- bgpcep
+ bgpcep integration/distribution
- project:
name: integration-distribution
builders:
- integration-rebase-gerrit-patch
- wipe-org-opendaylight-repo
- - provide-maven-settings:
+ - lf-provide-maven-settings:
global-settings-file: 'global-settings'
settings-file: 'integration-settings'
- maven-target:
- wipe-org-opendaylight-repo
- lf-maven-install:
mvn-version: '{mvn-version}'
- - provide-maven-settings:
+ - lf-provide-maven-settings:
global-settings-file: 'global-settings'
settings-file: 'integration-distribution-settings'
- integration-multipatch-builder
git-url: '$GIT_URL/$PROJECT'
submodule-recursive: true
+ submodule-timeout: 10
#####################
# Job Configuration #
refspec: '$GERRIT_REFSPEC'
branch: '$GERRIT_BRANCH'
submodule-recursive: '{submodule-recursive}'
+ submodule-timeout: '{submodule-timeout}'
choosing-strategy: default
wrappers:
publishers:
- lf-infra-publish
-- view:
- name: integration
- description: 'List of integration jobs'
- regex: '^integration-.*'
- <<: *releng_view_common
+- project:
+ name: integration-view
+ views:
+ - project-view
+ project-name: integration
- view:
name: csit-stable-f
- daexim-csit-1node-basic-only-fluorine
- daexim-csit-3node-clustering-basic-only-fluorine
- distribution-csit-1node-userfeatures-all-fluorine
- - genius-csit-1node-upstream-all-fluorine
- - genius-csit-3node-upstream-all-fluorine
+ - genius-csit-1node-upstream-only-fluorine
+ - genius-csit-3node-upstream-only-fluorine
- lispflowmapping-csit-1node-msmr-all-fluorine
- netconf-csit-1node-callhome-only-fluorine
- netconf-csit-1node-userfeatures-all-fluorine
- netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-sfc-fluorine
- netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-fluorine
- - openflowplugin-csit-1node-bundle-based-reconciliation-all-fluorine
- - openflowplugin-csit-1node-cbench-only-fluorine
- openflowplugin-csit-1node-flow-services-all-fluorine
- - openflowplugin-csit-1node-gate-flow-services-all-fluorine
- - openflowplugin-csit-1node-gate-perf-bulkomatic-only-fluorine
- - openflowplugin-csit-1node-gate-perf-stats-collection-only-fluorine
- - openflowplugin-csit-1node-gate-scale-only-fluorine
- openflowplugin-csit-1node-longevity-only-fluorine
- openflowplugin-csit-1node-perf-bulkomatic-only-fluorine
- openflowplugin-csit-1node-perf-stats-collection-only-fluorine
- sfc-csit-3node-docker-full-deploy-all-fluorine
- sfc-csit-3node-rest-basic-all-fluorine
<<: *releng_view_common
+
+- view:
+ name: csit-stable-ne
+ description: 'List of stable integration jobs for managed projects'
+ job-name:
+ - aaa-csit-1node-authn-all-neon
+ - bgpcep-csit-1node-throughpcep-all-neon
+ - coe-csit-1node-container-networking-all-neon
+ - controller-csit-1node-akka1-all-neon
+ - controller-csit-1node-benchmark-all-neon
+ - controller-csit-1node-notifications-longevity-only-neon
+ - controller-csit-1node-rest-cars-perf-all-neon
+ - controller-csit-3node-benchmark-all-neon
+ - controller-csit-3node-drb-precedence-longevity-only-neon
+ - controller-csit-3node-rest-clust-cars-perf-ask-only-neon
+ - controller-csit-3node-rest-clust-cars-perf-tell-only-neon
+ - daexim-csit-1node-basic-only-neon
+ - daexim-csit-3node-clustering-basic-only-neon
+ - distribution-csit-1node-userfeatures-all-neon
+ - genius-csit-1node-upstream-only-neon
+ - genius-csit-3node-upstream-only-neon
+ - lispflowmapping-csit-1node-msmr-all-neon
+ - netconf-csit-1node-callhome-only-neon
+ - netconf-csit-1node-userfeatures-all-neon
+ - netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-sfc-neon
+ - netvirt-csit-1node-0cmb-1ctl-2cmp-openstack-queens-upstream-stateful-neon
+ - openflowplugin-csit-1node-flow-services-all-neon
+ - openflowplugin-csit-1node-longevity-only-neon
+ - openflowplugin-csit-1node-perf-bulkomatic-only-neon
+ - openflowplugin-csit-1node-perf-stats-collection-only-neon
+ - openflowplugin-csit-1node-sanity-only-neon
+ - openflowplugin-csit-1node-scale-link-only-neon
+ - openflowplugin-csit-1node-scale-only-neon
+ - openflowplugin-csit-1node-scale-switch-only-neon
+ - openflowplugin-csit-3node-clustering-bulkomatic-only-neon
+ - openflowplugin-csit-3node-clustering-only-neon
+ - ovsdb-csit-3node-upstream-clustering-only-neon
+ - sfc-csit-3node-docker-full-deploy-all-neon
+ - sfc-csit-3node-rest-basic-all-neon
+ <<: *releng_view_common
TOPIC="${PATCHES_TO_BUILD#*=}"
echo "Create topic ${TOPIC} patch list"
PATCHES_TO_BUILD=""
- read -ra PROJECT_LIST <<< "${BUILD_ORDER} integration/distribution"
+ read -ra PROJECT_LIST <<< "${BUILD_ORDER}"
+ echo "List of projects to check patch in topic: ${PROJECT_LIST[*]}"
for PROJECT in "${PROJECT_LIST[@]}"; do
# get all patches number for a topic for a given project
IFS=$'\n' read -rd '' -a GERRIT_PATCH_LIST <<< "$(ssh -p 29418 jenkins-$SILO@git.opendaylight.org gerrit query status:open topic:${TOPIC} project:${PROJECT} \
fi
done
fi
-
echo "Patches to build: ${PATCHES_TO_BUILD}"
IFS=',' read -ra PATCHES <<< "${PATCHES_TO_BUILD}"
mvn-settings: 'iotdm-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: iotdm
- description: 'List of iotdm jobs'
- regex: '^iotdm-.*'
- <<: *releng_view_common
+- project:
+ name: iotdm-view
+ views:
+ - project-view
+ project-name: iotdm
mvn-settings: 'jsonrpc-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: jsonrpc
- description: 'List of jsonrpc jobs'
- regex: '^jsonrpc-.*'
- <<: *releng_view_common
+- project:
+ name: jsonrpc-view
+ views:
+ - project-view
+ project-name: jsonrpc
mvn-settings: 'l2switch-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
-- view:
- name: l2switch
- description: 'List of l2switch jobs'
- regex: '^l2switch-.*'
- <<: *releng_view_common
+- project:
+ name: l2switch-view
+ views:
+ - project-view
+ project-name: l2switch
- all:
scope: 'all'
- tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20180723-235543.682
+ tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20181029-223449.514
# Features to install
install-features: 'odl-lacp-ui'
mvn-settings: 'lacp-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: lacp
- description: 'List of lacp jobs'
- regex: '^lacp-.*'
- <<: *releng_view_common
+- project:
+ name: lacp-view
+ views:
+ - project-view
+ project-name: lacp
project-name: lf-infra-lftools
project: releng/lftools
project-pattern: releng/lftools
- build-node: centos7-builder-2c-8g
+ build-node: ubuntu1604-docker-2c-2g
rtd-build-url: https://readthedocs.org/api/v2/webhook/lf-releng-tools/32933/
rtd-token: 47a135ceba9053c6f88394a7171ebf5602a9fc95
stream: any
git-url: https://gerrit.linuxfoundation.org/infra/$GERRIT_PROJECT
gerrit-server-name: lf-releng
-- view:
- name: lf-infra
- description: 'List of lf-infra jobs'
- regex: '^lf-infra-.*'
- <<: *releng_view_common
+- project:
+ name: lf-infra-view
+ views:
+ - project-view
+ project-name: lf-infra
git-url: https://gerrit.linuxfoundation.org/infra/$GERRIT_PROJECT
gerrit-server-name: lf-releng
-- view:
- name: lfn
- description: 'List of LF Networking jobs'
- regex: '^lfn-.*'
- <<: *releng_view_common
+- project:
+ name: lfn-view
+ views:
+ - project-view
+ project-name: lfn-process
mvn-goals: 'clean deploy findbugs:findbugs javadoc:aggregate -DrepoBuild'
mvn-opts: '-Xmx2048m -XX:MaxPermSize=512m -Dmaven.compile.fork=true'
-- view:
- name: lispflowmapping
- description: 'List of lispflowmapping jobs'
- regex: '^lispflowmapping-.*'
- <<: *releng_view_common
+- project:
+ name: lispflowmapping-view
+ views:
+ - project-view
+ project-name: lispflowmapping
- genius:
csit-list: >
- genius-csit-1node-gate-all-{stream}
+ genius-csit-1node-gate-only-{stream}
mvn-settings: 'mdsal-settings'
mvn-opts: '-Xmx2048m'
- sign-artifacts: true
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[mdsal] [odlparent] [yangtools]'
mvn-settings: 'mdsal-settings'
mvn-goals: '-Dmaven.compile.fork=true clean deploy -Dintegrationtests'
mvn-opts: '-Xmx2048m'
- sign-artifacts: true
build-node: centos7-builder-8c-8g
build-timeout: 90
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream}'
mvn-goals: '-Dmaven.compile.fork=true clean deploy -Dintegrationtests'
mvn-opts: '-Xmx2048m'
-- view:
- name: mdsal
- description: 'List of mdsal jobs'
- regex: '^mdsal-.*'
- <<: *releng_view_common
+- project:
+ name: mdsal-view
+ views:
+ - project-view
+ project-name: mdsal
mvn-settings: 'natapp-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: natapp
- description: 'List of natapp jobs'
- regex: '^natapp-.*'
- <<: *releng_view_common
+- project:
+ name: natapp-view
+ views:
+ - project-view
+ project-name: natapp
mvn-settings: 'nemo-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: nemo
- description: 'List of nemo jobs'
- regex: '^nemo-.*'
- <<: *releng_view_common
+- project:
+ name: nemo-view
+ views:
+ - project-view
+ project-name: nemo
+++ /dev/null
----
-- project:
- name: netconf-csit-cluster-stress
- jobs:
- - inttest-csit-3node
-
- # The project name
- project: 'netconf'
-
- # The functionality under test
- functionality: 'cluster-stress'
-
- # Project branches
- stream:
- - neon:
- branch: 'master'
- - fluorine:
- branch: 'stable/fluorine'
- - oxygen:
- branch: 'stable/oxygen'
-
- install:
- - all:
- scope: 'all'
-
- # Features to install
- install-features: >
- odl-restconf,
- odl-jolokia,
- odl-netconf-clustered-topology
-
- # Robot custom options
- # TODO: Make sure every suite has this as default, then remove this value from here.
- robot-options: '-v USE_NETCONF_CONNECTOR:False'
branch: 'stable/oxygen'
install:
- - all:
- scope: 'all'
+ - only:
+ scope: 'only'
# Features to install
install-features: >
branch: 'stable/oxygen'
install:
- - all:
- scope: 'all'
+ - only:
+ scope: 'only'
# Features to install
install-features: >
- genius:
csit-list: >
- genius-csit-1node-gate-all-{stream}
+ genius-csit-1node-gate-only-{stream}
mvn-goals: 'clean deploy -Pintegrationtests'
mvn-opts: '-Xmx2048m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
-- view:
- name: netconf
- description: 'List of netconf jobs'
- regex: '^netconf-.*'
- <<: *releng_view_common
+- project:
+ name: netconf-view
+ views:
+ - project-view
+ project-name: netconf
mvn-settings: 'netide-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: netide
- description: 'List of netide jobs'
- regex: '^netide-.*'
- <<: *releng_view_common
+- project:
+ name: netide-view
+ views:
+ - project-view
+ project-name: netide
- project:
name: netvirt-csit-hwvtep-openstack-integration-neon
jobs:
- - inttest-csit-hwvtep-openstack
+ - inttest-csit-hwvtep-openstack-custom
project: 'netvirt'
stream: 'neon'
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 - 20180723-235543.774
+ tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20181029-223513.438
os-cmb-cnt: 0
os-ctl-cnt: 1
os-cmp-cnt: 2
enable-haproxy: 'no'
install-features: 'odl-netvirt-openstack,decanter-collector-jmx,decanter-appender-elasticsearch'
- 3node:
- openstack_system2_count: 2
+ openstack_system2_count: 3
odl_system_count: 3
enable-haproxy: 'yes'
install-features: 'odl-jolokia,odl-netvirt-openstack,decanter-collector-jmx,decanter-appender-elasticsearch'
openstack-branch: 'stable/queens'
odl-ml2-branch: 'stable/queens'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
- openstack_system_image: '{openstack_system_image_queens}'
- openstack_system2_image: '{openstack_system_image_queens}'
+ openstack_system_image: '{openstack_queens_system_image}'
+ openstack_system2_image: '{openstack_queens_system_image}'
- project:
name: netvirt-csit-hwvtep-openstack-integration-fluorine
jobs:
- - inttest-csit-hwvtep-openstack
+ - inttest-csit-hwvtep-openstack-custom
project: 'netvirt'
stream: 'fluorine'
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 - 20180723-235543.774
+ tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20181029-223513.438
os-cmb-cnt: 0
os-ctl-cnt: 1
os-cmp-cnt: 2
enable-haproxy: 'no'
install-features: 'odl-netvirt-openstack,decanter-collector-jmx,decanter-appender-elasticsearch'
- 3node:
- openstack_system2_count: 2
+ openstack_system2_count: 3
odl_system_count: 3
enable-haproxy: 'yes'
install-features: 'odl-jolokia,odl-netvirt-openstack,decanter-collector-jmx,decanter-appender-elasticsearch'
openstack-branch: 'stable/queens'
odl-ml2-branch: 'stable/queens'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
- openstack_system_image: '{openstack_system_image_queens}'
- openstack_system2_image: '{openstack_system_image_queens}'
+ openstack_system_image: '{openstack_queens_system_image}'
+ openstack_system2_image: '{openstack_queens_system_image}'
- project:
name: netvirt-csit-hwvtep-openstack-integration-oxygen
jobs:
- - inttest-csit-hwvtep-openstack
+ - inttest-csit-hwvtep-openstack-custom
project: 'netvirt'
stream: 'oxygen'
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 - 20180723-235543.774
+ tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-26 - 20181029-223513.438
os-cmb-cnt: 0
os-ctl-cnt: 1
os-cmp-cnt: 2
enable-haproxy: 'no'
install-features: 'odl-netvirt-openstack,decanter-collector-jmx,decanter-appender-elasticsearch'
- 3node:
- openstack_system2_count: 2
+ openstack_system2_count: 3
odl_system_count: 3
enable-haproxy: 'yes'
install-features: 'odl-jolokia,odl-netvirt-openstack,decanter-collector-jmx,decanter-appender-elasticsearch'
openstack-branch: 'stable/queens'
odl-ml2-branch: 'stable/queens'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
- openstack_system_image: '{openstack_system_image_queens}'
- openstack_system2_image: '{openstack_system_image_queens}'
+ openstack_system_image: '{openstack_queens_system_image}'
+ openstack_system2_image: '{openstack_queens_system_image}'
- project:
name: netvirt-csit-apex-integration-oxygen
jobs:
- - inttest-csit-apex
+ - inttest-csit-apex-custom
project: 'netvirt'
stream:
- project:
name: netvirt-csit-upgrade-openstack-integration
jobs:
- - inttest-csit-openstack
+ - inttest-csit-openstack-custom
project: 'netvirt'
openstack-branch: 'stable/queens'
odl-ml2-branch: 'stable/queens'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
- openstack_system_image: '{openstack_system_image_queens}'
- openstack_system2_image: '{openstack_system_image_queens}'
+ openstack_system_image: '{openstack_queens_system_image}'
+ openstack_system2_image: '{openstack_queens_system_image}'
- project:
name: netvirt-csit-openstack-integration-neon
jobs:
- - inttest-csit-openstack
+ - inttest-csit-openstack-custom
project: 'netvirt'
stream: 'neon'
odl_system_flavor: odl-highcpu-8
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
- gate-tdd-wip:
testplan: '{project}-{topology}-tdd-wip-openstack.txt'
schedule: ''
+ tools_system_count: 3
- tempest-stateful:
test-suites: 'openstack/tempest/tempest.robot'
testplan: '{project}-{topology}-openstack-tempest.txt'
openstack-branch: 'stable/queens'
odl-ml2-branch: 'stable/queens'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
- openstack_system_image: '{openstack_system_image_queens}'
- openstack_system2_image: '{openstack_system_image_queens}'
+ openstack_system_image: '{openstack_queens_system_image}'
+ openstack_system2_image: '{openstack_queens_system_image}'
- project:
name: netvirt-csit-openstack-integration-fluorine
jobs:
- - inttest-csit-openstack
+ - inttest-csit-openstack-custom
project: 'netvirt'
stream: 'fluorine'
odl_system_flavor: odl-highcpu-8
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
- gate-tdd-wip:
testplan: '{project}-{topology}-tdd-wip-openstack.txt'
schedule: ''
+ tools_system_count: 3
- tempest-stateful:
test-suites: 'openstack/tempest/tempest.robot'
testplan: '{project}-{topology}-openstack-tempest.txt'
openstack-branch: 'stable/queens'
odl-ml2-branch: 'stable/queens'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
- openstack_system_image: '{openstack_system_image_queens}'
- openstack_system2_image: '{openstack_system_image_queens}'
+ openstack_system_image: '{openstack_queens_system_image}'
+ openstack_system2_image: '{openstack_queens_system_image}'
- project:
name: netvirt-csit-openstack-integration-oxygen
jobs:
- - inttest-csit-openstack
+ - inttest-csit-openstack-custom
project: 'netvirt'
stream: 'oxygen'
odl_system_flavor: odl-highcpu-8
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
- gate-tdd-wip:
testplan: '{project}-{topology}-tdd-wip-openstack.txt'
schedule: ''
+ tools_system_count: 3
- tempest-stateful:
test-suites: 'openstack/tempest/tempest.robot'
testplan: '{project}-{topology}-openstack-tempest.txt'
openstack-branch: 'stable/queens'
odl-ml2-branch: 'stable/queens'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
- openstack_system_image: '{openstack_system_image_queens}'
- openstack_system2_image: '{openstack_system_image_queens}'
+ openstack_system_image: '{openstack_queens_system_image}'
+ openstack_system2_image: '{openstack_queens_system_image}'
- project:
name: netvirt-csit-sfc-openstack-integration
jobs:
- - inttest-csit-openstack
+ - inttest-csit-openstack-custom
project: 'netvirt'
security-group-mode: 'stateful'
openstack-branch: 'stable/queens'
odl-ml2-branch: 'stable/queens'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
- openstack_system_image: '{openstack_system_image_queens}'
- openstack_system2_image: '{openstack_system_image_queens}'
+ openstack_system_image: '{openstack_queens_system_image}'
+ openstack_system2_image: '{openstack_queens_system_image}'
stream:
- neon:
ovs-install: 'v2.6.1-nsh'
os-cmp-cnt: 1
openstack_system2_count: 1
- openstack_system_image: '{openstack_system_image_pike}'
- openstack_system2_image: '{openstack_system_image_pike}'
+ openstack_system_image: '{openstack_pike_system_image}'
+ openstack_system2_image: '{openstack_pike_system_image}'
- project:
name: netvirt-csit-1cmb-0ctl-0cmp-openstack-integration
jobs:
- - inttest-csit-openstack
+ - inttest-csit-openstack-custom
project: 'netvirt'
testplan: '{project}-{topology}-openstack.txt'
openstack-branch: 'stable/queens'
odl-ml2-branch: 'stable/queens'
odl-ml2-port-binding: 'pseudo-agentdb-binding'
- openstack_system_image: '{openstack_system_image_queens}'
- openstack_system2_image: '{openstack_system_image_queens}'
+ openstack_system_image: '{openstack_queens_system_image}'
+ openstack_system2_image: '{openstack_queens_system_image}'
--- /dev/null
+---
+- project:
+ name: netvirt-thirdparty-quagga-dependencies
+ project: 'netvirt'
+ project-name: 'netvirt'
+ jobs:
+ - 'netvirt-thirdparty-quagga-{platform}'
+
+ quagga-version: '5'
+ mvn-opts: ''
+ mvn-params: ''
+ mvn-version: mvn35
+
+ # common parameters required for 'lf-infra-deploy-maven-file' builder
+ repo-id: 'thirdparty'
+ upload-files-dir: '$WORKSPACE/upload_files'
+ group-id: 'quagga$QUAGGA_VERSION'
+
+ # Used by the release job
+ staging-profile-id: a67da0ffbb1ba
+
+ platform:
+ - centos7:
+ build-node: centos7-builder-2c-8g
+ - ubuntu1604:
+ build-node: ubuntu1604-mininet-ovs-25-1c-4g
+
+- job-template:
+ name: 'netvirt-thirdparty-quagga-{platform}'
+ project-type: freestyle
+ node: '{build-node}'
+ concurrent: true
+
+ properties:
+ - opendaylight-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
+
+ parameters:
+ - opendaylight-infra-parameters:
+ os-cloud: '{os-cloud}'
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+ - lf-infra-maven-parameters:
+ mvn-opts: '{mvn-opts}'
+ mvn-params: '{mvn-params}'
+ mvn-version: '{mvn-version}'
+ staging-profile-id: '{staging-profile-id}'
+ - string:
+ name: QUAGGA_VERSION
+ default: '{quagga-version}'
+ description: 'quagga version'
+
+ scm:
+ - git-netvirt-quagga
+
+ wrappers:
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ builders:
+ - lf-infra-pre-build
+ - netvirt-build-quagga
+ - lf-infra-deploy-maven-file:
+ global-settings-file: 'global-settings'
+ settings-file: 'netvirt-settings'
+ mvn-version: '{mvn-version}'
+ repo-id: '{repo-id}'
+ group-id: '{group-id}'
+ upload-files-dir: '{upload-files-dir}'
+ maven-repo-url: '$NEXUS_URL/content/repositories/thirdparty'
+
+ publishers:
+ - email-notification:
+ email-recipients: '{email-recipients}'
+ email-prefix: '[netvirt]'
+ - lf-infra-publish
+
+- builder:
+ name: 'netvirt-build-quagga'
+ builders:
+ - shell: !include-raw-escape: quagga-build.sh
+
+- scm:
+ name: 'git-netvirt-quagga'
+ scm:
+ - git:
+ url: https://github.com/6WIND/zrpcd.git
+ basedir: 'zrpcd'
+ branches:
+ - 'issue_32_bis'
+ wipe-workspace: true
- gerrit-tox-verify
- odl-maven-jobs
+ csit-gate-list: 'netvirt-csit-1node-0cmb-1ctl-2cmp-apex-queens-gate-snat-conntrack-{stream}'
+ block_on_csit: false
+
stream:
- neon:
branch: 'master'
name: netvirt-sonar
jobs:
- gerrit-maven-sonar
+
project: 'netvirt'
project-name: 'netvirt'
branch: 'master'
mvn-settings: 'netvirt-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: netvirt
- description: 'List of netvirt jobs'
- regex: '^netvirt-.*'
- <<: *releng_view_common
-
-- view:
- name: netvirt-csit
- description: 'List of netvirt-csit jobs'
- regex: 'netvirt-csit(?!(.*gate)|(.*hwvtep)).*'
- <<: *integration_view_csit
+- project:
+ name: netvirt-csit-view
+ views:
+ - csit-view
+ view-name: netvirt-csit
+ view-description: 'List of netvirt-csit jobs'
+ view-regex: 'netvirt-csit(?!(.*gate)|(.*hwvtep)).*'
+
+- project:
+ name: netvirt-view
+ views:
+ - project-view
+ project-name: netvirt
--- /dev/null
+#!/bin/bash
+# SPDX-License-Identifier: EPL-1.0
+##############################################################################
+# Copyright (c) 2018 The Linux Foundation and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the term s of the Eclipse Public License
+# v1.0 accompanies testing this distribution with Netvirt jobs, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+##############################################################################
+echo "---> quagga-build.sh"
+
+set -e -x
+
+# The script builds 6wind/quagga source and binary packages from zrpcd
+# repository for testing router functionalities with Netvirt jobs, .
+
+pushd "$(pwd)/zrpcd"
+
+chmod a+x "$(pwd)/pkgsrc/dev_compile_script.sh"
+cd "$(pwd)/pkgsrc" && sudo "./dev_compile_script.sh" -p -d -b -v "$QUAGGA_VERSION"
+
+# Move packages into a that will be uploaded to Nexus
+UPLOAD_FILES_PATH="$WORKSPACE/upload_files"
+mkdir -p "$UPLOAD_FILES_PATH"
+
+OS=$(facter operatingsystem)
+
+case "$OS" in
+ Ubuntu)
+ mv "$WORKSPACE/zrpcd/pkgsrc/"*.deb "$UPLOAD_FILES_PATH" || true
+ ;;
+ CentOS|RedHat)
+ mv "$WORKSPACE/zrpcd/pkgsrc/"*.rpm "$UPLOAD_FILES_PATH" || true
+ ;;
+ *)
+ # nothing to do
+ ;;
+esac
+
+popd
+
+# todo: remove below lines once the scripts in zrpcd repos build the
+# source packages.
+# Ref: https://lists.opendaylight.org/pipermail/integration-dev/2018-July/012330.html
+tar cvzf "$WORKSPACE/upload_files/zrpcd.$(date +%F).tar.gz" "$(pwd)/zrpcd"
- genius:
csit-list: >
- genius-csit-1node-gate-all-{stream}
+ genius-csit-1node-gate-only-{stream}
mvn-settings: 'neutron-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: neutron
- description: 'List of neutron jobs'
- regex: '^neutron-.*'
- <<: *releng_view_common
+- project:
+ name: neutron-view
+ views:
+ - project-view
+ project-name: neutron
mvn-settings: 'next-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: next
- description: 'List of next jobs'
- regex: '^next-.*'
- <<: *releng_view_common
+- project:
+ name: next-view
+ views:
+ - project-view
+ project-name: next
mvn-settings: 'nic-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: nic
- description: 'List of nic jobs'
- regex: '^nic-.*'
- <<: *releng_view_common
+- project:
+ name: nic-view
+ views:
+ - project-view
+ project-name: nic
name: ocpplugin-sonar
jobs:
- gerrit-maven-sonar
+
project: 'ocpplugin'
project-name: 'ocpplugin'
branch: 'master'
mvn-settings: 'ocpplugin-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: ocpplugin
- description: 'List of ocpplugin jobs'
- regex: '^ocpplugin-.*'
- <<: *releng_view_common
+- project:
+ name: ocpplugin-view
+ views:
+ - project-view
+ project-name: ocpplugin
+++ /dev/null
-#!/bin/bash -l
-# 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
-##############################################################################
-# Checks the image "protected" value and set "True" marker
-#
-# The script is involked by 'builder-verify-image-protection', searches
-# the jjb source code for the images presently used and verifies protection
-# setting. If the image protect setting is not "True", sets the
-# image protect setting to "True" to prevent the image from getting purged
-# by the cleanup old images job.
-echo "---> Check image protection"
-
-declare -a yaml_images
-readarray -t yaml_images <<< "$(grep -r _system_image: --include \*.yaml \
- | awk -F": " -e '{print $3}' | sed "s:'::;s:'$::;/^$/d" | sort -u)"
-declare -a cfg_images
-readarray -t cfg_images <<< "$(grep -r IMAGE_NAME --include \*.cfg \
- | awk -F'=' -e '{print $2}' | sort -u)"
-combined=("${yaml_images[@]}" "${cfg_images[@]}")
-declare -a images
-readarray -t images <<< "$(printf '%s\n' "${combined[@]}" | sort -u)"
-
-for image in "${images[@]}"; do
- os_image_protected=$(openstack --os-cloud "$OS_CLOUD" image show "$image" -f value -c protected)
- echo "Protected setting for $image: $os_image_protected"
- if [[ $os_image_protected != True ]]; then
- echo "Image: $image NOT set as protected, changing the protected value."
- openstack --os-cloud "$OS_CLOUD" image set --protected "$image"
- fi
-done
+++ /dev/null
-#!/bin/bash -l
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2017 - 2018 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
-##############################################################################
-# Removes openstack images older than 30 days in the cloud
-echo "---> Cleanup old images"
-
-lftools openstack --os-cloud vex image cleanup --days=30
+++ /dev/null
-#!/bin/bash -l
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2017 - 2018 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
-##############################################################################
-echo "---> Cleanup orphaned servers"
-
-minion_in_jenkins() {
- # Usage: check_stack_in_jenkins STACK_NAME JENKINS_URL [JENKINS_URL...]
- # Returns: 0 If stack is in Jenkins and 1 if stack is not in Jenkins.
-
- MINION="${1}"
-
- minions=()
- for jenkins in "${@:2}"; do
- JENKINS_URL="$jenkins/computer/api/json?tree=computer[displayName]"
- resp=$(curl -s -w "\\n\\n%{http_code}" --globoff -H "Content-Type:application/json" "$JENKINS_URL")
- json_data=$(echo "$resp" | head -n1)
- #status=$(echo "$resp" | awk 'END {print $NF}')
-
- # We purposely want to wordsplit here to combine the arrays
- # shellcheck disable=SC2206,SC2207
- minions=(${minions[@]} $(echo "$json_data" | \
- jq -r '.computer[].displayName' | grep -v master)
- )
- done
-
- if [[ "${minions[*]}" =~ $MINION ]]; then
- return 0
- fi
-
- return 1
-}
-
-##########################
-## FETCH ACTIVE MINIONS ##
-##########################
-# Fetch server list before fetching active minions to minimize race condition
-# where we might be trying to delete servers while jobs are trying to start
-
-# We purposely need word splitting here to create the OS_SERVERS array.
-# shellcheck disable=SC2207
-mapfile -t OS_SERVERS < <(openstack server list -f value -c "Name" | grep -E 'prd|snd')
-
-#############################
-## DELETE ORPHANED SERVERS ##
-#############################
-
-# Search for servers that are not in use by either releng or sandbox silos and
-# delete them.
-for server in "${OS_SERVERS[@]}"; do
- # JENKINS_URLS is provided by the Jenkins Job declaration and intentially
- # needs to be globbed.
- # shellcheck disable=SC2153,SC2086
- if minion_in_jenkins "$server" $JENKINS_URLS; then
- # No need to delete server if it is still attached to Jenkins
- continue
- else
- echo "Deleting $server"
- lftools openstack --os-cloud vex \
- server remove --minutes 15 "$server"
- fi
-done
+++ /dev/null
-#!/bin/bash -l
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2017 - 2018 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
-##############################################################################
-echo "---> Cleanup stale nodes"
-
-# Todo: As a safe check we could obtain the list of active jobs from Jenkins and
-# compute the checksum from $JOB_NAME to check if any active nodes exist and
-# skip deleting those nodes. This step may not be required since there is already
-# 24H timeout in place for all jobs therefore all jobs are expected to complete
-# within the timeout.
-
-lftools openstack --os-cloud vex server list --days=1
-lftools openstack --os-cloud vex server cleanup --days=1
+++ /dev/null
-#!/bin/bash -l
-# 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
-##############################################################################
-# Cleanup stale stacks in the cloud
-# Requires the variable JENKINS_URLS declared in the job as a space separated
-# list of Jenkins instances to check for active builds.
-echo "---> Cleanup stale stacks"
-
-stack_in_jenkins() {
- # Usage: check_stack_in_jenkins STACK_NAME JENKINS_URL [JENKINS_URL...]
- # Returns: 0 If stack is in Jenkins and 1 if stack is not in Jenkins.
-
- STACK_NAME="${1}"
-
- builds=()
- for jenkins in "${@:2}"; do
- JENKINS_URL="$jenkins/computer/api/json?tree=computer[executors[currentExecutable[url]],oneOffExecutors[currentExecutable[url]]]&xpath=//url&wrapper=builds"
- resp=$(curl -s -w "\\n\\n%{http_code}" --globoff -H "Content-Type:application/json" "$JENKINS_URL")
- json_data=$(echo "$resp" | head -n1)
- #status=$(echo "$resp" | awk 'END {print $NF}')
-
- if [[ "${jenkins}" == *"jenkins."*".org" ]]; then
- silo="production"
- else
- silo=$(echo "$jenkins" | sed 's/\/*$//' | awk -F'/' '{print $NF}')
- fi
- export silo
- # We purposely want to wordsplit here to combine the arrays
- # shellcheck disable=SC2206,SC2207
- builds=(${builds[@]} $(echo "$json_data" | \
- jq -r '.computer[].executors[].currentExecutable.url' \
- | grep -v null | awk -F'/' '{print ENVIRON["silo"] "-" $6 "-" $7}')
- )
- done
-
- if [[ "${builds[*]}" =~ $STACK_NAME ]]; then
- return 0
- fi
-
- return 1
-}
-
-#########################
-## FETCH ACTIVE BUILDS ##
-#########################
-# Fetch stack list before fetching active builds to minimize race condition
-# where we might be try to delete stacks while jobs are trying to start
-
-# We purposely need word splitting here to create the OS_STACKS array.
-# shellcheck disable=SC2207
-OS_STACKS=($(openstack stack list \
- -f value -c "Stack Name" -c "Stack Status" \
- --property "stack_status=CREATE_COMPLETE" \
- --property "stack_status=DELETE_FAILED" \
- --property "stack_status=CREATE_FAILED" \
- | awk '{print $1}'))
-
-echo "---> Active stacks"
-for stack in "${OS_STACKS[@]}"; do
- echo "$stack"
-done
-
-##########################
-## DELETE UNUSED STACKS ##
-##########################
-echo "---> Delete orphaned stacks"
-
-# Search for stacks that are not in use by either releng or sandbox silos and
-# delete them.
-for STACK_NAME in "${OS_STACKS[@]}"; do
- echo "Checking if orphaned $STACK_NAME"
-
- # JENKINS_URLS is provided by the Jenkins Job declaration and intentially
- # needs to be globbed.
- # shellcheck disable=SC2153,SC2086
- if stack_in_jenkins "$STACK_NAME" $JENKINS_URLS; then
- # No need to delete stacks if there exists an active build for them
- continue
- else
- status=$(openstack stack show -f value -c "stack_status" "$STACK_NAME")
- case "$status" in
- DELETE_IN_PROGRESS)
- echo "skipping delete, $STACK_NAME is already DELETE in progress."
- continue
- ;;
- DELETE_FAILED)
- # Abandon is not supported in Vexxhost so let's keep trying to
- # delete for now...
- # echo "Stack delete failed, trying to stack abandon now."
- # openstack stack abandon "$STACK_NAME"
- echo "Deleting orphaned stack: $STACK_NAME"
- openstack stack delete --yes "$STACK_NAME"
-
- echo "------------------------------------"
- echo "Stack details"
- echo "------------------------------------"
- openstack stack show "$STACK_NAME" -f yaml
- echo "------------------------------------"
- continue
- ;;
- CREATE_COMPLETE|CREATE_FAILED)
- echo "Deleting orphaned stack: $STACK_NAME"
- openstack stack delete --yes "$STACK_NAME"
- continue
- ;;
- *)
- continue
- ;;
- esac
- fi
-done
+++ /dev/null
-#!/bin/bash -l
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2018 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
-##############################################################################
-# Scans OpenStack for orphaned volumes
-
-mapfile -t os_volumes < <(openstack volume list -f value -c ID --status Available)
-
-echo "---> Orphaned volumes"
-if [ ${#os_volumes[@]} -eq 0 ]; then
- echo "No orphaned volumes found."
-else
- for volume in "${os_volumes[@]}"; do
- echo "Removing volume $volume"
- lftools openstack --os-cloud vex volume remove --minutes 15 "$volume"
- done
-fi
+++ /dev/null
-#!/bin/bash
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2017, 2018 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
-##############################################################################
-# Installs the openstack cli to /tmp/v/openstack
-echo "---> Install openstack cli into /tmp/v/openstack"
-
-virtualenv "/tmp/v/openstack"
-# shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091
-source "/tmp/v/openstack/bin/activate"
-pip install --upgrade "pip<10.0.0" setuptools
-pip install --upgrade lftools[openstack] python-openstackclient python-heatclient
-pip freeze
- genius:
csit-list: >
- genius-csit-1node-gate-all-{stream}
+ genius-csit-1node-gate-only-{stream}
mvn-settings: odlparent-settings
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
mvn-version: mvn35
- sign-artifacts: true
dependencies: ''
email-upstream: '[odlparent]'
mvn-settings: odlparent-settings
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
- sign-artifacts: true
dependencies: ''
email-upstream: '[odlparent]'
mvn-settings: odlparent-settings
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
- sign-artifacts: true
dependencies: ''
email-upstream: '[odlparent]'
mvn-settings: 'odlparent-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: odlparent
- description: 'List of odlparent jobs'
- regex: '^odlparent-.*'
- <<: *releng_view_common
+- project:
+ name: odlparent-view
+ views:
+ - project-view
+ project-name: odlparent
- project:
name: odltools-csit
jobs:
- - inttest-csit-1node
+ - inttest-csit-1node-custom
- inttest-csit-verify-1node
project: odltools
build-node: centos7-builder-2c-2g
build-timeout: 60
-- view:
- name: odltools
- description: 'List of odltools jobs'
- regex: '^odltools-.*'
- <<: *releng_view_common
+- project:
+ name: odltools-view
+ views:
+ - project-view
+ project-name: odltools
mvn-settings: 'of-config-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: of-config
- description: 'List of of-config jobs'
- regex: '^of-config-.*'
- <<: *releng_view_common
+- project:
+ name: of-config-view
+ views:
+ - project-view
+ project-name: of-config
echo "----------------------------------"
echo " Promoted ODL Autorelease artifact as release candidate!"
-- view:
- name: openci
- description: 'List of openci jobs'
- regex: '^openci-.*'
- <<: *releng_view_common
+- project:
+ name: openci-odl-view
+ views:
+ - project-view
+ project-name: openci-odl
# Job images
tools_system_count: 2
- tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+ tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
# Features to install
install-features: 'odl-openflowplugin-flow-services-rest'
scope: 'only'
# Job images
- tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+ tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
# Features to install
install-features: 'odl-openflowplugin-flow-services-rest,odl-openflowplugin-drop-test'
# Robot custom options
- robot-options: '-v duration_in_secs:60 -v throughput_threshold:20000 -v latency_threshold:5000'
+ robot-options: '-v duration_in_secs:60 -v throughput_threshold:20000 -v latency_threshold:2000'
# Plot Info
01-plot-title: 'Throughput Mode'
scope: 'only'
# Job images
- tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+ tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
# Features to install
install-features: 'odl-openflowplugin-flow-services-rest,odl-openflowplugin-app-bulk-o-matic'
scope: 'only'
# Job images
- tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+ tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
# Features to install
install-features: >
decanter-appender-elasticsearch
# Robot custom options
- robot-options: '-v ODL_OF_PLUGIN:lithium -v switch_count:32 -v flow_count_per_switch:2500'
+ robot-options: '-v ODL_OF_PLUGIN:lithium -v switch_count:32 -v flow_count_per_switch:2250'
# Plot Info
01-plot-title: 'Flow Add rate'
scope: 'only'
# Job images
- tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+ tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
# Features to install
install-features: >
scope: 'all'
# Job images
- tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+ tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
# Features to install
install-features: >
scope: 'only'
# Job images
- tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+ tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
# Features to install
install-features: >
scope: 'only'
# Job images
- tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+ tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
# Features to install
install-features: >
scope: 'only'
# Job images
- tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+ tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
# Features to install
install-features: 'odl-openflowplugin-flow-services-rest'
scope: 'only'
# Job images
- tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+ tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
# Features to install
install-features: >
scope: 'only'
# Job images
- tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+ tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
# Features to install
install-features: >
scope: 'only'
# Job images
- tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+ tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
# Features to install
install-features: >
scope: 'only'
# Job images
- tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20180723-235605.507'
+ tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-28 - 20181001-220228.326'
# Features to install
install-features: >
- genius:
csit-list: >
- genius-csit-1node-gate-all-{stream}
+ genius-csit-1node-gate-only-{stream}
name: openflowplugin-sonar
jobs:
- gerrit-maven-sonar
+
project: 'openflowplugin'
project-name: 'openflowplugin'
branch: 'master'
mvn-goals: 'clean deploy javadoc:aggregate'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: openflowplugin
- description: 'List of openflowplugin jobs'
- regex: '^openflowplugin-.*'
- <<: *releng_view_common
+- project:
+ name: openflowplugin-view
+ views:
+ - project-view
+ project-name: 'openflowplugin'
-- view:
- name: openflowplugin-oxygen
- description: 'List of openflowplugin oxygen jobs'
- regex: 'openflowplugin-.*-oxygen'
- <<: *releng_view_common
+- project:
+ name: openflowplugin-oxygen-view
+ views:
+ - common-view
+ view-name: 'openflowplugin-oxygen'
+ view-regex: '^openflowplugin-.*-oxygen'
GROUP_ID={group-id}
UPLOAD_FILES_PATH={upload-files-dir}
- shell: !include-raw-escape:
- - ../global-jjb/shell/lftools-install.sh
- ../global-jjb/shell/common-variables.sh
- scripts/deploy-opflex.sh
properties-content: |
STAGING_PROFILE_ID={staging-profile-id}
- shell: !include-raw-escape:
- - ../global-jjb/shell/lftools-install.sh
- ../global-jjb/shell/maven-stage.sh
- scm:
- project:
name: opflex-release
jobs:
+ - '{project-name}-rtd-jobs':
+ build-node: centos7-builder-2c-2g
+ project-pattern: opflex
+ rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-opflex/52373/
+ rtd-token: bf99281866a176904cf12861789deaf04d4b0c45
- 'opflex-release-{stream}'
stream:
build-timeout: '{build-timeout}'
builders:
+ - lf-infra-pre-build
- opflex-build:
mvn33: '{mvn-version}'
stream: '{stream}'
email-prefix: '[opflex]'
- lf-infra-publish
-- view:
- name: opflex
- description: 'List of opflex jobs'
- regex: '^opflex-.*'
- <<: *releng_view_common
+- project:
+ name: opflex-view
+ views:
+ - project-view
+ project-name: opflex
-#!/bin/bash
+#!/bin/bash -l
# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2017 The Linux Foundation and others.
mvn-settings: 'ovil-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: ovil
- description: 'List of ovil jobs'
- regex: '^ovil-.*'
- <<: *releng_view_common
+- project:
+ name: ovil-view
+ views:
+ - project-view
+ project-name: ovil
maven-version: 'mvn33'
stream: '{stream}'
OVS_VERSION: '2.5.0'
- - jacoco-nojava-workaround
+ - lf-jacoco-nojava-workaround
publishers:
- email-notification:
feature:
- genius:
csit-list: >
- genius-csit-1node-gate-all-{stream}
+ genius-csit-1node-gate-only-{stream}
- netvirt:
csit-list: >
netvirt-csit-1node-{os-std-topo}-openstack-{os-branch}-gate-stateful-{stream}
global-settings: 'global-settings'
global-settings-type: cfp
- shell: !include-raw-escape: cleanup-docker.sh
- - jacoco-nojava-workaround
+ - lf-jacoco-nojava-workaround
publishers:
- email-notification:
# Used by the release job
staging-profile-id: a68b188166958
-- view:
- name: ovsdb
- description: 'List of ovsdb jobs'
- regex: '^ovsdb-.*'
- <<: *releng_view_common
+- project:
+ name: ovsdb-view
+ views:
+ - project-view
+ project-name: ovsdb
mvn-settings: 'p4plugin-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: p4plugin
- description: 'List of p4plugin jobs'
- regex: '^p4plugin-.*'
- <<: *releng_view_common
+- project:
+ name: p4plugin-view
+ views:
+ - project-view
+ project-name: p4plugin
- shell: !include-raw: test-ansible-rpm-upgrade.sh
triggers:
- - timed: '@daily'
+ - timed: '@weekly'
- gerrit-trigger-patch-submitted:
gerrit-server-name: '{gerrit-server-name}'
project: '{project}'
builders:
- shell: !include-raw: setup-ansible-deb.sh
- - shell: !include-raw: test-ansible-deb.sh
- - shell: !include-raw: test-ansible-odl-user.sh
- - shell: !include-raw: test-odl-logs.sh
+ - shell: !include-raw: test-ansible-deb-default-config.sh
+ - shell: !include-raw: test-ansible-deb-custom-config.sh
triggers:
- - timed: '@daily'
+ - timed: '@weekly'
- gerrit-trigger-patch-submitted:
gerrit-server-name: '{gerrit-server-name}'
project: '{project}'
publishers:
- lf-infra-publish
+
+- project:
+ name: ansible-view
+ views:
+ - project-view
+ project-name: ansible
build-timeout: '{build-timeout}'
builders:
+ - lf-infra-pre-build
- shell: !include-raw-escape: build-rpm.sh
- install-test-uninstall-rpm
- lf-infra-deploy-maven-file:
- shell: !include-raw-escape: build-rpm.sh
- install-test-uninstall-rpm
+ # Test Fluorine SR1 release tarball
+ - inject:
+ # yamllint disable-line rule:line-length
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.9.1/karaf-0.9.1.tar.gz'
+ - shell: !include-raw-escape: build-rpm.sh
+ - install-test-uninstall-rpm
+
# Test Neon pre-release autorelease tarball
# NB: This will need to be updated as old builds expire
- inject:
# yamllint disable-line rule:line-length
- properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2393/org/opendaylight/integration/karaf/0.10.0/karaf-0.10.0.tar.gz'
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2473/org/opendaylight/integration/karaf/0.10.0/karaf-0.10.0.tar.gz'
- shell: !include-raw-escape: build-rpm.sh
- install-test-uninstall-rpm
# NB: This will need to be updated as old builds expire
- inject:
# yamllint disable-line rule:line-length
- properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.10.0-SNAPSHOT/karaf-0.10.0-20181011.124523-10.zip'
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.10.0-SNAPSHOT/karaf-0.10.0-20181119.131156-18.zip'
- shell: !include-raw-escape: build-rpm.sh
- install-test-uninstall-rpm
- install-test-uninstall-rpm
triggers:
+ - timed: '@weekly'
- gerrit-trigger-patch-submitted:
gerrit-server-name: '{gerrit-server-name}'
project: '{project}'
# NB: This will need to be updated as old builds expire
- inject:
# yamllint disable-line rule:line-length
- properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2395/org/opendaylight/integration/karaf/0.8.4/karaf-0.8.4.tar.gz'
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2472/org/opendaylight/integration/karaf/0.8.4/karaf-0.8.4.tar.gz'
- shell: !include-raw-escape: build-rpm.sh
- install-test-uninstall-rpm
- shell: !include-raw-escape: build-rpm.sh
- install-test-uninstall-rpm
+ # Test Fluorine SR1 release tarball
+ - inject:
+ # yamllint disable-line rule:line-length
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.9.1/karaf-0.9.1.tar.gz'
+ - shell: !include-raw-escape: build-rpm.sh
+ - install-test-uninstall-rpm
+
# Test Fluorine pre-release autorelease tarball
# NB: This will need to be updated as old builds expire
- inject:
# yamllint disable-line rule:line-length
- properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2394/org/opendaylight/integration/karaf/0.9.1/karaf-0.9.1.tar.gz'
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2474/org/opendaylight/integration/karaf/0.9.1/karaf-0.9.1.tar.gz'
- shell: !include-raw-escape: build-rpm.sh
- install-test-uninstall-rpm
# NB: This will need to be updated as old builds expire
- inject:
# yamllint disable-line rule:line-length
- properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.9.1-SNAPSHOT/karaf-0.9.1-20181015.150828-5.zip'
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.9.1-SNAPSHOT/karaf-0.9.1-20181112.140627-11.zip'
- shell: !include-raw-escape: build-rpm.sh
- install-test-uninstall-rpm
# NB: This will need to be updated as old builds expire
- inject:
# yamllint disable-line rule:line-length
- properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2393/org/opendaylight/integration/karaf/0.10.0/karaf-0.10.0.tar.gz'
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2473/org/opendaylight/integration/karaf/0.10.0/karaf-0.10.0.tar.gz'
- shell: !include-raw-escape: build-rpm.sh
- install-test-uninstall-rpm
# NB: This will need to be updated as old builds expire
- inject:
# yamllint disable-line rule:line-length
- properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.10.0-SNAPSHOT/karaf-0.10.0-20181011.124523-10.zip'
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.10.0-SNAPSHOT/karaf-0.10.0-20181119.131156-18.zip'
- shell: !include-raw-escape: build-rpm.sh
- install-test-uninstall-rpm
- install-test-uninstall-rpm
triggers:
- - timed: '@daily'
+ - timed: '@weekly'
- gerrit:
server-name: '{gerrit-server-name}'
trigger-on:
- shell: !include-raw: stop-odl.sh
- shell: !include-raw: uninstall-rpm.sh
+ triggers:
+ - timed: '@monthly'
+
publishers:
# TODO: Remove the archive publisher
# small data should be stored on logs.opendaylight.org
- installrepcfg-upgrade-start-test-stop-rpm
triggers:
+ - timed: '@weekly'
- gerrit-trigger-patch-submitted:
gerrit-server-name: '{gerrit-server-name}'
project: '{project}'
- shell: !include-raw: stop-odl.sh
- shell: !include-raw-escape: uninstall-deb.sh
+ triggers:
+ - timed: '@monthly'
+
publishers:
- lf-infra-publish
upload-files-dir: '{upload-files-dir}'
maven-repo-url: '{maven-repo-url}'
+ triggers:
+ - timed: '@monthly'
+
publishers:
- lf-infra-publish
-- view:
- name: packaging
- description: 'List of packaging, ansible and puppet jobs'
- regex: '^packaging.*|ansible.*|puppet.*'
- <<: *releng_view_common
+- project:
+ name: packaging-view
+ views:
+ - project-view
+ project-name: packaging
- shell: !include-raw: test-puppet.sh
triggers:
- - timed: '@weekly'
+ - timed: '@monthly'
- gerrit-trigger-patch-submitted:
gerrit-server-name: '{gerrit-server-name}'
project: '{project}'
- shell: !include-raw: test-puppet.sh
triggers:
- - timed: '@daily'
+ - timed: '@weekly'
- gerrit:
server-name: '{gerrit-server-name}'
trigger-on:
publishers:
- lf-infra-publish
+
+- project:
+ name: puppet-view
+ views:
+ - project-view
+ project-name: puppet
--- /dev/null
+#!/bin/bash
+
+# Uninstall any previous installation
+sudo apt-get remove opendaylight && sudo apt-get purge opendaylight
+
+# Delete the ODL directory to ensure a clean working enviroment
+sudo rm -rf /opt/opendaylight
+
+# Install OpenDaylight via repo using example Ansible playbook
+sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/examples/deb_repo_api.yml --extra-vars "@$WORKSPACE/ansible/examples/log_vars.json"
+
+# Create Ansible custom module directories
+sudo mkdir -p /usr/share/ansible/plugins/modules
+
+# Copy the custom module to the directory above
+sudo cp $WORKSPACE/ansible/library/odl_usermod.py /usr/share/ansible/plugins/modules/
+
+# Execute the odl-user-test playbook
+sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/tests/test-odl-users.yaml -v
+
+# Test the custom log configurations
+sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/tests/test-odl-logs.yaml -e test_log_level=DEBUG -e test_log_mechanism=console -v
--- /dev/null
+#!/bin/bash
+
+# Uninstall any previous installation
+sudo apt-get remove opendaylight && sudo apt-get purge opendaylight
+
+# Delete the ODL directory to ensure a clean working enviroment
+sudo rm -rf /opt/opendaylight
+
+# Install OpenDaylight via repo using example Ansible playbook
+sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/examples/deb_repo_api.yml
+
+# Create Ansible custom module directories
+sudo mkdir -p /usr/share/ansible/plugins/modules
+
+# Copy the custom module to the directory above
+sudo cp $WORKSPACE/ansible/library/odl_usermod.py /usr/share/ansible/plugins/modules/
+
+# Execute the odl-user-test playbook
+sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/tests/test-odl-users.yaml -v
+
+# Test the custom log configurations
+sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/tests/test-odl-logs.yaml -e test_log_level=INFO -e test_log_mechanism=file -v
+++ /dev/null
-#!/bin/bash
-
-# Install OpenDaylight via repo using example Ansible playbook
-sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/examples/deb_repo_api.yml --extra-vars "@$WORKSPACE/ansible/examples/log_vars.json"
sudo rm -rf /opt/opendaylight
# Install OpenDaylight with custom config via repo using example Ansible playbook
-sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/examples/rpm_8_devel_odl_api.yml --extra-vars "@$WORKSPACE/ansible/examples/log_vars.json"
+sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/examples/rpm_10_devel_odl_api.yml --extra-vars "@$WORKSPACE/ansible/examples/log_vars.json"
# Create Ansible custom module directories
sudo mkdir -p /usr/share/ansible/plugins/modules
sudo rm -rf /opt/opendaylight
# Install OpenDaylight with custom config via repo using example Ansible playbook
-sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/examples/rpm_8_devel_odl_api.yml
+sudo ansible-playbook -i "localhost," -c local $WORKSPACE/ansible/examples/rpm_10_devel_odl_api.yml
# Create Ansible custom module directories
sudo mkdir -p /usr/share/ansible/plugins/modules
mvn-settings: 'packetcable-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: packetcable
- description: 'List of packetcable jobs'
- regex: '^packetcable-.*'
- <<: *releng_view_common
+- project:
+ name: packetcable-view
+ views:
+ - project-view
+ project-name: packetcable
- gerrit-jjb-verify
- builder-check-poms
- builder-copy-sandbox-logs
- - builder-openstack-cron
- gerrit-tox-verify
# Automation for docs and jobs
- 'builder-update-image-list'
build-node: centos7-builder-2c-2g
archive-artifacts: '**/*.log'
build-timeout: 30
- jjb-version: 2.2.1
+ jjb-version: 2.8.0
+
+- project:
+ name: builder-openstack
+ jobs:
+ - gerrit-openstack-cron
+
+ project: 'releng/builder'
+ project-name: builder
+ build-node: centos7-builder-2c-2g
+
jenkins-urls: >
- https://jenkins.opendaylight.org/releng
- https://jenkins.opendaylight.org/sandbox
+ https://jenkins.opendaylight.org/releng
+ https://jenkins.opendaylight.org/sandbox
+ openstack-cloud: vex
- job-template:
name: builder-check-poms
- lf-infra-publish
-- job-template:
- name: builder-openstack-cron
- project-type: freestyle
- node: '{build-node}'
- concurrent: true
-
- properties:
- - lf-infra-properties:
- build-days-to-keep: 7
-
- parameters:
- - lf-infra-parameters:
- project: '{project}'
- stream: '{stream}'
- branch: '{branch}'
- lftools-version: '{lftools-version}'
- - string:
- name: OS_CLOUD
- default: '{os-cloud}'
- description: |
- The name of a cloud configuration in clouds.yaml. OS_CLOUD is a
- variable name that is significant to openstack client as a
- environment variable. Please refer to the documentation for
- further details.
- https://docs.openstack.org/developer/python-openstackclient/
- - string:
- name: ARCHIVE_ARTIFACTS
- default: '{archive-artifacts}'
- description: Artifacts to archive to the logs server.
- - string:
- name: JENKINS_URLS
- default: '{jenkins-urls}'
- description: 'Space separated list of Jenkins URLs to check for active builds'
-
- scm:
- - git-scm:
- branch: '{branch}'
-
- wrappers:
- - lf-infra-wrappers:
- build-timeout: '{build-timeout}'
- jenkins-ssh-credential: '{jenkins-ssh-credential}'
- # Listed after to override openstack-infra-wrappers clouds.yaml definition
- - config-file-provider:
- files:
- - file-id: clouds-yaml
- target: '$HOME/.config/openstack/clouds.yaml'
- - file-id: npmrc
- target: '$HOME/.npmrc'
- - file-id: pipconf
- target: '$HOME/.config/pip/pip.conf'
-
- triggers:
- - timed: '0,30 * * * *'
-
- builders:
- - lf-infra-pre-build
- - shell: |
- #!/bin/bash -l
- pip install --user --upgrade lftools[openstack]~=0.17.1
- # Servers
- - odl-openstack-cleanup-stale-stacks
- - odl-openstack-cleanup-stale-nodes
- - odl-openstack-cleanup-orphaned-nodes
- # Volumes
- - odl-openstack-cleanup-stale-volumes
- # Images
- - odl-openstack-check-image-protection
- - odl-openstack-cleanup-old-images
-
- publishers:
- - lf-infra-publish
-
- job-template:
name: 'builder-update-image-list'
project-type: freestyle
further details.
https://docs.openstack.org/developer/python-openstackclient/
-- parameter:
- name: build-tag
- parameters:
- - string:
- name: BUILD_TAG
- default: ''
- description: 'Tag in Git to checkout'
-
-- parameter:
- name: controller-version-parameter
- parameters:
- - string:
- name: ODL_VERSION
- default: '{odl_version}'
- description: 'Controller version (for use with openstacks networking_odl project)'
-
- parameter:
name: patches-to-build-parameter
parameters:
default: 'master'
description: 'distribution repo branch to build with'
-- parameter:
- name: p2zip-parameter
- parameters:
- - string:
- name: P2ZIP_URL
- default: ''
- description: 'Nexus staging profile id'
-
-- parameter:
- name: stage-id-parameter
- parameters:
- - string:
- name: STAGING_PROFILE_ID
- default: '{stage-id}'
- description: 'Nexus staging profile id'
-
- parameter:
name: maven-exec
parameters:
skip-tag: true
choosing-strategy: '{choosing-strategy}'
-- wrapper:
- name: build-timeout
- wrappers:
- - timeout:
- type: absolute
- timeout: 360
- fail: true
-
# This is a single macro to use for all jobs who vote on every (relevant) patch set.
# Only 'recheck' trigger word is supported, it always triggers the full set of relevant jobs,
# in order to prevent Jenkins from starting only a subset and still voting Verified+1.
send-to:
- recipients
-
-- builder:
- # Installs the openstack cli into a virtualenv at /tmp/v/openstack
- name: odl-openstack-install
- builders:
- - shell: !include-raw: odl-openstack-install.sh
-
-- builder:
- name: odl-openstack-check-image-protection
- builders:
- - shell: !include-raw: odl-openstack-check-image-protection.sh
-
-- builder:
- name: odl-openstack-cleanup-old-images
- builders:
- - shell: !include-raw: odl-openstack-cleanup-old-images.sh
-
-- builder:
- name: odl-openstack-cleanup-orphaned-nodes
- builders:
- - shell: !include-raw: odl-openstack-cleanup-orphaned-nodes.sh
-
-- builder:
- name: odl-openstack-cleanup-stale-nodes
- builders:
- - shell: !include-raw: odl-openstack-cleanup-stale-nodes.sh
-
-- builder:
- name: odl-openstack-cleanup-stale-stacks
- builders:
- - shell: !include-raw: odl-openstack-cleanup-stale-stacks.sh
-
-- builder:
- name: odl-openstack-cleanup-stale-volumes
- builders:
- - shell: !include-raw: odl-openstack-cleanup-stale-volumes.sh
-
-- builder:
- # Deploys a maven site to Nexus using lftools nexus-zip command
- name: opendaylight-infra-deploy-maven-site
- builders:
- - lf-provide-maven-settings:
- global-settings-file: global-settings
- settings-file: '{settings-file}'
- - lf-infra-create-netrc:
- server-id: opendaylight-site
- - shell: !include-raw-escape:
- - global-jjb/shell/lftools-install.sh
- - opendaylight-infra-deploy-maven-site.sh
- - lf-provide-maven-settings-cleanup
-
- builder:
name: opendaylight-infra-stack
# opendaylight-infra-stack.sh has a required variable {stack-template} that
builders:
- shell: 'if [ -d /tmp/r ]; then rm -rf /tmp/r; fi'
-- builder:
- name: jacoco-nojava-workaround
- builders:
- - shell: 'mkdir -p $WORKSPACE/target/classes $WORKSPACE/jacoco/classes'
-
-- builder:
- name: check-clm
- builders:
- - sonatype-clm:
- application-name: '{application-name}'
-
-- builder:
- name: releng-check-unicode
- builders:
- - shell: |
- $WORKSPACE/scripts/check-unicode.sh jjb/
-
-- builder:
- name: provide-maven-settings
- builders:
- - config-file-provider:
- files:
- - file-id: '{global-settings-file}'
- variable: 'GLOBAL_SETTINGS_FILE'
- - file-id: '{settings-file}'
- variable: 'SETTINGS_FILE'
-
-- builder:
- name: releng-fetch-p2zip-if-necessary
- builders:
- - shell: |
- # Cleanup any existing zips and metadata before we download the new update site
- rm -f *.zip *.xml
- - conditional-step:
- condition-kind: strings-match
- condition-string1: '$P2ZIP_URL'
- condition-string2: ''
- condition-basedir: workspace
- steps:
- # TODO: Figure out latest snapshot version number to pull rather than hardcoding 1.1.1-SNAPSHOT
- - maven-target:
- maven-version: '{maven-version}'
- goals: >
- org.apache.maven.plugins:maven-dependency-plugin:get
- org.apache.maven.plugins:maven-dependency-plugin:copy
- -V -B
- -Dartifact=org.opendaylight.yangide:org.opendaylight.yangide.update-site:1.1.1-SNAPSHOT:zip
- -DoutputDirectory=$WORKSPACE
- settings: '{settings}'
- global-settings: '{global-settings}'
-
-- builder:
- name: releng-generate-p2pom
- builders:
- - shell: !include-raw: generate-p2pom.sh
-
-- builder:
- name: releng-update-p2composite-metadata
- builders:
- - shell: !include-raw: update-p2composite-metadata.sh
- - conditional-step:
- condition-kind: file-exists
- condition-filename: deploy-composite-repo.xml
- condition-basedir: workspace
- steps:
- - maven-target:
- maven-version: '{maven-version}'
- pom: 'deploy-composite-repo.xml'
- goals: 'clean deploy -V -B -Dmaven.repo.local=/tmp/r'
- settings: '{settings}'
- global-settings: '{global-settings}'
-
- publisher:
name: releng-openstack-stack-delete
publishers:
openstack stack delete --yes "$STACK_NAME"
mark-unstable-if-failed: false
-- builder:
- name: releng-stage-release
- builders:
- - shell: !include-raw: stage-release.sh
-
- wrapper:
# This wrapper is required for all jobs as it configures the wrappers
# needed by OpenDaylight infra.
name: odl-maven-jobs
jobs:
- - gerrit-maven-clm
+ - gerrit-maven-clm:
+ nexus-iq-namespace: odl-
+ nexus-iq-stage: release
# TODO: Figure out what's wrong with the gerrit-maven-merge job.
# - gerrit-maven-merge:
build-timeout: 180
mvn-goals: clean install -V -Dmaven.compile.fork=true -Dintegrationtests -Dvtn.build.jobs=2
- - gerrit-maven-stage
+ - gerrit-maven-stage:
+ sign-artifacts: true
+ mvn-central: true
+ ossrh-profile-id: 7edbe315063867
- gerrit-maven-verify
- gerrit-maven-verify-dependencies:
build-timeout: 180
result: 'success'
builders:
- - jacoco-nojava-workaround
- - provide-maven-settings:
+ - lf-jacoco-nojava-workaround
+ - lf-provide-maven-settings:
global-settings-file: 'global-settings'
settings-file: '{mvn-settings}'
- maven-target:
forbidden-files: ''
prebuilders:
- - jacoco-nojava-workaround
- - provide-maven-settings:
+ - lf-jacoco-nojava-workaround
+ - lf-provide-maven-settings:
global-settings-file: 'global-settings'
settings-file: '{mvn-settings}'
- lf-maven-install:
+++ /dev/null
----
-- job-template:
- name: '{project-name}-release-java'
-
- # Job template for producing a release candidate by creating a staging repo
- # in Nexus.
-
- project-type: freestyle
- node: '{build-node}'
- jdk: '{java-version}'
-
- properties:
- - opendaylight-infra-properties:
- build-days-to-keep: 30
-
- parameters:
- - opendaylight-infra-parameters:
- os-cloud: '{os-cloud}'
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - build-tag
- - stage-id-parameter:
- stage-id: '{stage-id}'
-
- scm:
- - git:
- credentials-id: 'opendaylight-jenkins-ssh'
- url: '$GIT_BASE'
- branches:
- - '$BUILD_TAG'
- skip-tag: true
- shallow-clone: true
- wipe-workspace: true
-
- wrappers:
- - opendaylight-infra-wrappers:
- build-timeout: '{build-timeout}'
-
- builders:
- - wipe-org-opendaylight-repo
- - jacoco-nojava-workaround
- - provide-maven-settings:
- global-settings-file: 'global-settings'
- settings-file: 'autorelease-settings'
- - maven-target:
- maven-version: 'mvn35'
- pom: 'pom.xml'
- goals: >
- clean deploy -V -B
- -Dmaven.repo.local=/tmp/r
- -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
- -Djenkins
- -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage
- java-opts:
- - '-Xmx1024m -XX:MaxPermSize=256m'
- settings: 'autorelease-settings'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- - releng-stage-release
-
- publishers:
- - email-notification:
- email-recipients: '{email-recipients}'
- email-prefix: '[releng]'
- - lf-infra-publish
-
-
-- job-template:
- name: '{project-name}-publish-p2repo'
-
- # Job template for publishing a p2 repo given a URL to a zipped p2repo.
-
- project-type: freestyle
- node: '{build-node}'
- jdk: '{java-version}'
-
- parameters:
- - opendaylight-infra-parameters:
- os-cloud: '{os-cloud}'
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
- - p2zip-parameter
-
- wrappers:
- - opendaylight-infra-wrappers:
- build-timeout: '{build-timeout}'
-
- builders:
- - wipe-org-opendaylight-repo
- - jacoco-nojava-workaround
- - releng-fetch-p2zip-if-necessary:
- maven-version: 'mvn35'
- settings: '{mvn-settings}'
- global-settings: 'global-settings'
- - releng-generate-p2pom
- - maven-target:
- maven-version: 'mvn35'
- pom: 'pom.xml'
- goals: 'clean deploy -V -B -Dmaven.repo.local=/tmp/r'
- settings: '{mvn-settings}'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- - releng-update-p2composite-metadata:
- maven-version: 'mvn35'
- settings: '{mvn-settings}'
- global-settings: 'global-settings'
-
- publishers:
- - email-notification:
- email-recipients: '{email-recipients}'
- email-prefix: '[releng]'
- - lf-infra-publish
- robot-list
recurse: false
-- view:
+- project:
name: '00-Empty View'
- description: >
+ views:
+ - common-view
+ view-name: '00-Empty View'
+ view-description: >
Empty job view. This is used as the default landing view to keep the
Jenkins UI responding better while a) under high load and b) when there
- are a lot of jobs defined in the system'
- view-type: list
- filter-executors: false
- filter-queue: false
- recurse: false
- regex: ''
+ are a lot of jobs defined in the system
+ view-regex: ''
- view:
name: 01-Recent
check-start-time: true
<<: *releng_view_common
-- view:
+- project:
name: All-Sonar
- regex: '.*-sonar$'
- description: 'List of Sonar jobs'
- <<: *releng_view_common
+ views:
+ - common-view
+ view-name: All-Sonar
+ view-regex: '.*-sonar$'
+ view-description: 'List of Sonar jobs'
- view:
name: CLM
- policy-violations
recurse: false
-- view:
+- project:
name: CSIT-1node
- description: 'List of CSIT 1node jobs'
- regex: '^.*-csit-1node.*'
- <<: *integration_view_csit
+ views:
+ - csit-view
+ view-name: CSIT-1node
+ view-description: 'List of CSIT 1node jobs'
+ view-regex: '^.*-csit-1node.*'
-- view:
+- project:
name: CSIT-3node
- description: 'List of CSIT 3node jobs'
- regex: '^.*-csit-3node.*'
- <<: *integration_view_csit
+ views:
+ - csit-view
+ view-name: CSIT-3node
+ view-description: 'List of CSIT 3node jobs'
+ view-regex: '^.*-csit-3node.*'
-- view:
+- project:
name: CSIT
- description: 'List of CSIT jobs'
- regex: '^.*-csit-.*'
- <<: *integration_view_csit
+ views:
+ - csit-view
+ view-name: CSIT
+ view-description: 'List of CSIT jobs'
+ view-regex: '^.*-csit-.*'
-- view:
+- project:
name: CSIT-Verify
- description: 'List of CSIT Verify jobs'
- regex: '^.*-csit-verify.*'
- <<: *integration_view_csit
+ views:
+ - csit-view
+ view-name: CSIT-Verify
+ view-description: 'List of CSIT Verify jobs'
+ view-regex: '^.*-csit-verify.*'
-- view:
+- project:
name: Distribution-Check
- description: 'List of Distribution Check jobs'
- regex: '.*-distribution.*-check-.*'
- <<: *releng_view_common
+ views:
+ - common-view
+ view-name: Distribution-Check
+ view-description: 'List of Distribution Check jobs'
+ view-regex: '.*-distribution.*-check-.*'
-- view:
+- project:
name: Distribution-Jobs
- description: >
+ views:
+ - common-view
+ view-name: Distribution-Jobs
+ view-description: >
List of Distribution jobs (test, check, merge, deploy, offline, verify)
- regex: '^.*-distribution-(?!(test|check|merge|deploy|offline|verify)).*'
- <<: *releng_view_common
+ view-regex: '^.*-distribution-(?!(test|check|merge|deploy|offline|verify)).*'
-- view:
+- project:
name: Gate
- description: 'List of Gate jobs'
- regex: '.*-gate-.*'
- <<: *releng_view_common
+ views:
+ - common-view
+ view-name: Gate
+ view-description: 'List of Gate jobs'
+ view-regex: '.*-gate-.*'
-- view:
+- project:
name: Integration
- description: 'List of Integration jobs'
- regex: '.*-integration-.*'
- <<: *releng_view_common
+ views:
+ - common-view
+ view-name: Integration
+ view-description: 'List of Integration jobs'
+ view-regex: '.*-integration-.*'
-- view:
+- project:
name: Merge-Jobs
- description: 'List of Merge jobs'
- regex: '.*-merge-.*'
- <<: *releng_view_common
+ views:
+ - common-view
+ view-name: Merge-Jobs
+ view-description: 'List of Merge jobs'
+ view-regex: '.*-merge-.*'
-- view:
+- project:
name: Patch-Test
- description: 'List of Patch-Test jobs, for prioritizing jobs via the Job Priorities plugin'
- regex: '.*-patch-test-.*'
- <<: *releng_view_common
+ views:
+ - common-view
+ view-name: Patch-Test
+ view-description: 'List of Patch-Test jobs, for prioritizing jobs via the Job Priorities plugin'
+ view-regex: '.*-patch-test-.*'
-- view:
+- project:
name: Periodic
- description: 'List of Periodic jobs'
- regex: '[a-zA-Z0-9]+-periodic-[a-zA-Z0-9]+'
- <<: *releng_view_common
-
-- view:
+ project: Periodic
+ project-name: Periodic
+ view-name: Periodic
+ views:
+ - common-view
+ view-description: 'List of Periodic jobs'
+ view-regex: '[a-zA-Z0-9]+-periodic-[a-zA-Z0-9]+'
+
+- project:
name: Release
- description: 'List of Release jobs'
- regex: '.*-release-.*'
- <<: *releng_view_common
+ views:
+ - common-view
+ view-name: Release
+ view-description: 'List of Release jobs'
+ view-regex: '.*-release-.*'
-- view:
+- project:
name: Sanity
- description: 'List of Sanity jobs'
- regex: '.*-sanity-.*'
- <<: *releng_view_common
+ views:
+ - common-view
+ view-name: Sanity
+ view-description: 'List of Sanity jobs'
+ view-regex: '.*-sanity-.*'
-- view:
+- project:
name: Thirdparty
- description: 'List of ODL Nexus Thirdparty dependencies jobs'
- regex: '.*-thirdparty-.*'
- <<: *releng_view_common
-
-- view:
- name: Validate
- description: 'List of Validate jobs'
- regex: '.*-validate-autorelease-.*'
- <<: *releng_view_common
-
-- view:
+ views:
+ - common-view
+ view-name: Thirdparty
+ view-description: 'List of ODL Nexus Thirdparty dependencies jobs'
+ view-regex: '.*-thirdparty-.*'
+
+- project:
+ name: Validate-AR
+ views:
+ - common-view
+ view-name: Validate
+ view-description: 'List of Validate jobs'
+ view-regex: '.*-validate-autorelease-.*'
+
+- project:
name: Verify
- description: 'List of Verify jobs, exluding CSIT jobs'
- regex: '^(?!.*-csit).*-verify-.*'
- <<: *releng_view_common
+ views:
+ - common-view
+ view-name: Verify
+ view-description: 'List of Verify jobs, exluding CSIT jobs'
+ view-regex: '^(?!.*-csit).*-verify-.*'
-- view:
+- project:
name: builder
- description: 'List of builder jobs'
- regex: '^builder-.*'
- <<: *releng_view_common
+ views:
+ - project-view
+ project-name: builder
name: sdninterfaceapp-sonar
jobs:
- gerrit-maven-sonar
+
project: 'sdninterfaceapp'
project-name: 'sdninterfaceapp'
branch: 'master'
mvn-settings: 'sdninterfaceapp-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: sdninterfaceapp
- description: 'List of sdninterfaceapp jobs'
- regex: '^sdninterfaceapp-.*'
- <<: *releng_view_common
+- project:
+ name: sdninterfaceapp-view
+ views:
+ - project-view
+ project-name: sdninterfaceapp
- genius:
csit-list: >
- genius-csit-1node-gate-all-{stream}
+ genius-csit-1node-gate-only-{stream}
name: serviceutils-sonar
jobs:
- gerrit-maven-sonar
+
project: 'serviceutils'
project-name: 'serviceutils'
branch: 'master'
mvn-settings: 'serviceutils-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: serviceutils
- description: 'List of serviceutils jobs'
- regex: '^serviceutils-.*'
- <<: *releng_view_common
+- project:
+ name: serviceutils-view
+ views:
+ - project-view
+ project-name: serviceutils
mvn-settings: 'sfc-settings'
mvn-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
-- view:
- name: sfc
- description: 'List of sfc jobs'
- regex: '^sfc-.*'
- <<: *releng_view_common
+- project:
+ name: sfc-view
+ views:
+ - project-view
+ project-name: sfc
mvn-settings: 'snbi-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: snbi
- description: 'List of snbi jobs'
- regex: '^snbi-.*'
- <<: *releng_view_common
+- project:
+ name: snbi-view
+ views:
+ - project-view
+ project-name: snbi
mvn-settings: 'snmp-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: snmp
- description: 'List of snmp jobs'
- regex: '^snmp-.*'
- <<: *releng_view_common
+- project:
+ name: snmp-view
+ views:
+ - project-view
+ project-name: snmp
name: snmp4sdn-sonar
jobs:
- gerrit-maven-sonar
+
project: 'snmp4sdn'
project-name: 'snmp4sdn'
branch: 'master'
mvn-settings: 'snmp4sdn-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: snmp4sdn
- description: 'List of snmp4sdn jobs'
- regex: '^snmp4sdn-.*'
- <<: *releng_view_common
+- project:
+ name: snmp4sdn-view
+ views:
+ - project-view
+ project-name: snmp4sdn
+++ /dev/null
-#!/bin/bash
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2016 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
-##############################################################################
-
-# Assuming that mvn deploy created the hide/from/pom/files/stage directory.
-cd hide/from/pom/files || exit 1
-mkdir -p m2repo/org/opendaylight/
-
-rsync -avz --exclude 'maven-metadata*' \
- --exclude '_remote.repositories' \
- --exclude 'resolver-status.properties' \
- "stage/org/opendaylight/$PROJECT" m2repo/org/opendaylight/
-
-mvn org.sonatype.plugins:nexus-staging-maven-plugin:1.6.2:deploy-staged-repository \
- -DrepositoryDirectory="$(pwd)/m2repo" \
- -DnexusUrl=https://nexus.opendaylight.org/ \
- -DstagingProfileId="$STAGING_PROFILE_ID" \
- -DserverId="opendaylight-staging" \
- -s "$SETTINGS_FILE" \
- -gs "$GLOBAL_SETTINGS_FILE" | tee "$WORKSPACE/deploy-staged-repository.log"
project: 'sxp'
project-name: 'sxp'
branch: 'master'
+
mvn-settings: 'sxp-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+
dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[sxp] [odlparent] [controller] [yangtools]'
project: 'sxp'
project-name: 'sxp'
branch: 'stable/oxygen'
+
mvn-settings: 'sxp-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
+
dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
email-upstream: '[sxp] [odlparent] [controller] [yangtools]'
mvn-settings: 'sxp-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: sxp
- description: 'List of sxp jobs'
- regex: '^sxp-.*'
- <<: *releng_view_common
+- project:
+ name: sxp-view
+ views:
+ - project-view
+ project-name: sxp
mvn-settings: 'systemmetrics-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: systemmetrics
- description: 'List of systemmetrics jobs'
- regex: '^systemmetrics-.*'
- <<: *releng_view_common
+- project:
+ name: systemmetrics-view
+ views:
+ - project-view
+ project-name: systemmetrics
mvn-goals: 'clean install'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: telemetry
- description: 'List of telemetry jobs'
- regex: '^telemetry-.*'
- <<: *releng_view_common
+- project:
+ name: telemetry-view
+ views:
+ - project-view
+ project-name: telemetry
project-name: 'transportpce'
stream: neon
branch: 'master'
+ build-node: centos7-builder-8c-8g
+ build-timeout: 90
mvn-settings: 'transportpce-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
project-name: 'transportpce'
stream: fluorine
branch: 'stable/fluorine'
+ build-node: centos7-builder-8c-8g
+ build-timeout: 90
mvn-settings: 'transportpce-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
project-name: 'transportpce'
stream: oxygen
branch: 'stable/oxygen'
+ build-node: centos7-builder-8c-8g
+ build-timeout: 90
mvn-settings: 'transportpce-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
dependencies: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
mvn-settings: 'transportpce-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: transportpce
- description: 'List of transportpce jobs'
- regex: '^transportpce-.*'
- <<: *releng_view_common
+- project:
+ name: transportpce-view
+ views:
+ - project-view
+ project-name: transportpce
mvn-settings: 'tsdr-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: tsdr
- description: 'List of tsdr jobs'
- regex: '^tsdr-.*'
- <<: *releng_view_common
+- project:
+ name: tsdr-view
+ views:
+ - project-view
+ project-name: tsdr
name: ttp-sonar
jobs:
- gerrit-maven-sonar
+
project: 'ttp'
project-name: 'ttp'
branch: 'master'
mvn-settings: 'ttp-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: ttp
- description: 'List of ttp jobs'
- regex: '^ttp-.*'
- <<: *releng_view_common
+- project:
+ name: ttp-view
+ views:
+ - project-view
+ project-name: ttp
name: unimgr-sonar
jobs:
- gerrit-maven-sonar
+
project: 'unimgr'
project-name: 'unimgr'
branch: 'master'
mvn-settings: 'unimgr-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: unimgr
- description: 'List of unimgr jobs'
- regex: '^unimgr-.*'
- <<: *releng_view_common
+- project:
+ name: unimgr-view
+ views:
+ - project-view
+ project-name: unimgr
+++ /dev/null
-#!/bin/bash
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2016 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
-##############################################################################
-
-# If we detect a snapshot build then there is no need to run this script.
-# YangIDE has indicated that the only want the latest snapshot released to
-# the snapshot directory.
-if echo "$P2ZIP_URL" | grep opendaylight.snapshot; then
- exit 0
-fi
-if [[ "$P2ZIP_URL" == "" ]]; then
- exit 0
-fi
-
-EPOCH_DATE=$(date +%s%3N)
-MVN_METADATA=$(echo "$P2ZIP_URL" | sed 's,/*[^/]\+/*$,,' | sed 's,/*[^/]\+/*$,,')/maven-metadata.xml
-P2_COMPOSITE_ARTIFACTS=compositeArtifacts.xml
-P2_COMPOSITE_CONTENT=compositeContent.xml
-
-wget "$MVN_METADATA" -O maven-metadata.xml
-
-VERSIONS=$(xmlstarlet sel -t -m "/metadata/versioning/versions" -v "version" maven-metadata.xml)
-NUM_VERSIONS=$(echo "$VERSIONS" | wc -w)
-
-
-##
-## Create compositeArtifacts.xml and compositeContent.xml files
-##
-
-cat > $P2_COMPOSITE_ARTIFACTS <<EOF
-<?xml version='1.0' encoding='UTF-8'?>
-<?compositeArtifactRepository version='1.0.0'?>
-<repository name='OpenDaylight $PROJECT'
- type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1.0.0'>
- <properties size='1'>
- <property name='p2.timestamp' value='$EPOCH_DATE'/>
- </properties>
- <children size='$NUM_VERSIONS'>
-EOF
-
-cat > $P2_COMPOSITE_CONTENT <<EOF
-<?xml version='1.0' encoding='UTF-8'?>
-<?compositeMetadataRepository version='1.0.0'?>
-<repository name='OpenDaylight $PROJECT'
- type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'>
- <properties size='1'>
- <property name='p2.timestamp' value='$EPOCH_DATE'/>
- </properties>
- <children size='$NUM_VERSIONS'>
-EOF
-
-##
-## Loop versions
-##
-
-for ver in $VERSIONS
-do
- echo " <child location='$ver'/>" >> $P2_COMPOSITE_ARTIFACTS
- echo " <child location='$ver'/>" >> $P2_COMPOSITE_CONTENT
-done
-
-##
-## Close files
-##
-
-cat >> $P2_COMPOSITE_ARTIFACTS <<EOF
- </children>
-</repository>
-EOF
-
-cat >> $P2_COMPOSITE_CONTENT <<EOF
- </children>
-</repository>
-EOF
-
-##
-## Create poms for uploading
-##
-
-zip composite-repo.zip $P2_COMPOSITE_ARTIFACTS $P2_COMPOSITE_CONTENT
-
-cat > deploy-composite-repo.xml <<EOF
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.opendaylight.$PROJECT</groupId>
- <artifactId>p2repo</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>2.8.2</version>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.sonatype.plugins</groupId>
- <artifactId>maven-upload-plugin</artifactId>
- <version>0.0.1</version>
- <executions>
- <execution>
- <id>publish-site</id>
- <phase>deploy</phase>
- <goals>
- <goal>upload-file</goal>
- </goals>
- <configuration>
- <serverId>opendaylight-p2</serverId>
- <repositoryUrl>https://nexus.opendaylight.org/service/local/repositories/p2repos/content-compressed</repositoryUrl>
- <file>composite-repo.zip</file>
- <repositoryPath>org.opendaylight.$PROJECT/release</repositoryPath>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
-EOF
name: usc-sonar
jobs:
- gerrit-maven-sonar
+
project: 'usc'
project-name: 'usc'
branch: 'master'
mvn-settings: 'usc-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: usc
- description: 'List of usc jobs'
- regex: '^usc-.*'
- <<: *releng_view_common
+- project:
+ name: usc-view
+ views:
+ - project-view
+ project-name: usc
mvn-settings: 'usecplugin-settings'
mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m'
-- view:
- name: usecplugin
- description: 'List of usecplugin jobs'
- regex: '^usecplugin-.*'
- <<: *releng_view_common
+- project:
+ name: usecplugin-view
+ views:
+ - project-view
+ project-name: usecplugin
- genius:
csit-list: >
- genius-csit-1node-gate-all-{stream}
+ genius-csit-1node-gate-only-{stream}
mvn-settings: 'yangtools-settings'
mvn-opts: '-Xmx1024m'
- sign-artifacts: true
dependencies: ''
email-upstream: '[yangtools]'
mvn-settings: 'yangtools-settings'
mvn-opts: '-Xmx1024m'
- sign-artifacts: true
dependencies: ''
email-upstream: '[yangtools]'
mvn-settings: 'yangtools-settings'
mvn-opts: '-Xmx1024m'
- sign-artifacts: true
dependencies: ''
email-upstream: '[yangtools]'
mvn-settings: 'yangtools-settings'
mvn-opts: '-Xmx1024m'
-- view:
- name: yangtools
- description: 'List of yangtools jobs'
- regex: '^yangtools-.*'
- <<: *releng_view_common
+- project:
+ name: yangtools-view
+ views:
+ - project-view
+ project-name: yangtools
-Subproject commit 27c20e0fdac63bf692054a2dc8b623505ffb6f76
+Subproject commit 6d52ef66fa727d6b8c528a99591e997ebfe80c2b
"variables": {
"base_image": null,
"distro": null,
- "cloud_auth_url": null,
- "cloud_user": null,
- "cloud_pass": null,
"cloud_network": null,
- "cloud_tenant": null,
"cloud_user_data": null,
"ssh_user": null,
"ssh_proxy_host": ""
"builders": [
{
"type": "openstack",
- "identity_endpoint": "{{user `cloud_auth_url`}}",
- "domain_name": "Default",
- "tenant_name": "{{user `cloud_tenant`}}",
- "username": "{{user `cloud_user`}}",
- "password": "{{user `cloud_pass`}}",
"region": "ca-ymq-1",
"availability_zone": "ca-ymq-2",
"ssh_username": "{{user `ssh_user`}}",
"variables": {
"base_image": null,
"distro": null,
- "cloud_auth_url": null,
- "cloud_user": null,
- "cloud_pass": null,
"cloud_network": null,
- "cloud_tenant": null,
"cloud_user_data": null,
"ssh_user": null,
"ssh_proxy_host": ""
"builders": [
{
"type": "openstack",
- "identity_endpoint": "{{user `cloud_auth_url`}}",
- "domain_name": "Default",
- "tenant_name": "{{user `cloud_tenant`}}",
- "username": "{{user `cloud_user`}}",
- "password": "{{user `cloud_pass`}}",
"region": "ca-ymq-1",
"availability_zone": "ca-ymq-2",
"ssh_username": "{{user `ssh_user`}}",
"variables": {
"base_image": null,
"distro": null,
- "cloud_auth_url": null,
- "cloud_user": null,
- "cloud_pass": null,
"cloud_network": null,
- "cloud_tenant": null,
"cloud_user_data": null,
"ssh_user": null,
"ssh_proxy_host": ""
"builders": [
{
"type": "openstack",
- "identity_endpoint": "{{user `cloud_auth_url`}}",
- "domain_name": "Default",
- "tenant_name": "{{user `cloud_tenant`}}",
- "username": "{{user `cloud_user`}}",
- "password": "{{user `cloud_pass`}}",
"region": "ca-ymq-1",
"availability_zone": "ca-ymq-2",
"ssh_username": "{{user `ssh_user`}}",
"variables": {
"base_image": null,
"distro": null,
- "cloud_auth_url": null,
- "cloud_user": null,
- "cloud_pass": null,
"cloud_network": null,
- "cloud_tenant": null,
"cloud_user_data": null,
"ssh_user": null,
"ssh_proxy_host": ""
"builders": [
{
"type": "openstack",
- "identity_endpoint": "{{user `cloud_auth_url`}}",
- "domain_name": "Default",
- "tenant_name": "{{user `cloud_tenant`}}",
- "username": "{{user `cloud_user`}}",
- "password": "{{user `cloud_pass`}}",
"region": "ca-ymq-1",
"availability_zone": "ca-ymq-2",
"ssh_username": "{{user `ssh_user`}}",
"ansible_roles_path": "roles/coe",
"base_image": null,
"distro": null,
- "cloud_auth_url": null,
- "cloud_user": null,
- "cloud_pass": null,
"cloud_network": null,
- "cloud_tenant": null,
"cloud_user_data": null,
"ssh_user": null,
"ssh_proxy_host": ""
"instance_name": "{{user `distro`}}-kubernetes-{{uuid}}",
"source_image_name": "{{user `base_image`}}",
"type": "openstack",
- "identity_endpoint": "{{user `cloud_auth_url`}}",
- "username": "{{user `cloud_user`}}",
- "password": "{{user `cloud_pass`}}",
- "tenant_name": "{{user `cloud_tenant`}}",
- "domain_name": "Default",
"region": "ca-ymq-1",
"availability_zone": "ca-ymq-2",
"networks": [
"variables": {
"base_image": null,
"distro": null,
- "cloud_auth_url": null,
- "cloud_user": null,
- "cloud_pass": null,
"cloud_network": null,
- "cloud_tenant": null,
"cloud_user_data": null,
"ssh_user": null,
"ssh_proxy_host": ""
"builders": [
{
"type": "openstack",
- "identity_endpoint": "{{user `cloud_auth_url`}}",
- "domain_name": "Default",
- "tenant_name": "{{user `cloud_tenant`}}",
- "username": "{{user `cloud_user`}}",
- "password": "{{user `cloud_pass`}}",
"region": "ca-ymq-1",
"availability_zone": "ca-ymq-2",
"ssh_username": "{{user `ssh_user`}}",
"variables": {
"base_image": null,
"distro": null,
- "cloud_auth_url": null,
- "cloud_user": null,
- "cloud_pass": null,
"cloud_network": null,
- "cloud_tenant": null,
"cloud_user_data": null,
"ssh_user": null,
"ssh_proxy_host": ""
"builders": [
{
"type": "openstack",
- "identity_endpoint": "{{user `cloud_auth_url`}}",
- "domain_name": "Default",
- "tenant_name": "{{user `cloud_tenant`}}",
- "username": "{{user `cloud_user`}}",
- "password": "{{user `cloud_pass`}}",
"region": "ca-ymq-1",
"availability_zone": "ca-ymq-2",
"ssh_username": "{{user `ssh_user`}}",
"ansible_roles_path": ".galaxy",
"base_image": null,
"distro": null,
- "cloud_auth_url": null,
- "cloud_user": null,
- "cloud_pass": null,
"cloud_network": null,
- "cloud_tenant": null,
"cloud_user_data": null,
"ssh_user": null,
"ssh_proxy_host": ""
"instance_name": "{{user `distro`}}-mininet-ovs-28-{{uuid}}",
"source_image_name": "{{user `base_image`}}",
"type": "openstack",
- "identity_endpoint": "{{user `cloud_auth_url`}}",
- "username": "{{user `cloud_user`}}",
- "password": "{{user `cloud_pass`}}",
- "tenant_name": "{{user `cloud_tenant`}}",
- "domain_name": "Default",
"region": "ca-ymq-1",
"availability_zone": "ca-ymq-2",
"networks": [
"ansible_roles_path": ".galaxy",
"base_image": null,
"distro": null,
- "cloud_auth_url": null,
- "cloud_user": null,
- "cloud_pass": null,
"cloud_network": null,
- "cloud_tenant": null,
"cloud_user_data": null,
"ssh_user": null,
"ssh_proxy_host": ""
"instance_name": "{{user `distro`}}-robot-{{uuid}}",
"source_image_name": "{{user `base_image`}}",
"type": "openstack",
- "identity_endpoint": "{{user `cloud_auth_url`}}",
- "username": "{{user `cloud_user`}}",
- "password": "{{user `cloud_pass`}}",
- "tenant_name": "{{user `cloud_tenant`}}",
- "domain_name": "Default",
"region": "ca-ymq-1",
"availability_zone": "ca-ymq-2",
"networks": [
+++ /dev/null
-{
- "public_auth_url": "https://auth.vexxhost.net/v3/",
- "public_tenant": "TENNANTID",
- "public_user": "USERID",
- "public_pass": "USERPASS",
- "public_network": "b5fcd86e-efac-4997-b8bc-dbe0d35bc229",
- "ssh_proxy_host": ""
-}
+++ /dev/null
-#!/bin/bash
-# SPDX-License-Identifier: EPL-1.0
-##############################################################################
-# Copyright (c) 2015 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
-#
-# Contributors:
-# Thanh Ha (The Linux Foundation) - Initial implementation
-##############################################################################
-
-directory=${1:-"."}
-
-echo "Scanning $directory"
-if LC_ALL=C grep -r '[^[:print:][:space:]]' "$directory"; then
- echo "Found files containing non-ascii characters."
- exit 1
-fi
-
-echo "All files are ASCII only"
[testenv:jenkins-jobs]
deps =
- jenkins-job-builder=={env:JJB_VERSION:2.2.1}
+ jenkins-job-builder=={env:JJB_VERSION:2.7.0}
commands =
jenkins-jobs {posargs:--help}