- project:
name: aaa-csit-authn
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: aaa-csit-keystone
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: aaa-csit-tls
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'aaa'
- project:
name: aaa-patch-test
jobs:
- - '{project}-patch-test-{feature}-{stream}'
+ - inttest-patch-test
# The project name
project: 'aaa'
- project:
name: alto-csit-setup
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'alto'
- project:
name: bgpcep-csit-gate-bgp-ingest-mixed
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'bgpcep'
- project:
name: bgpcep-csit-bgp-ingest-mixed
jobs:
- - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+ - inttest-csit-1node-periodic
# FIXME: Rename job to drop -periodic- and unify job definition with -gate- functionality.
# The project name
- project:
name: bgpcep-csit-bgp-ingest
jobs:
- - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+ - inttest-csit-1node-periodic
# FIXME: Dicument differences from -mixed- and unify into single (matrix) definition.
# The project name
- project:
name: bgpcep-csit-gate-throughpcep
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'bgpcep'
- project:
name: bgpcep-csit-throughpcep
jobs:
- - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+ - inttest-csit-1node-periodic
# FIXME: Rename job to drop -periodic- and unify job definition with -gate- functionality.
# The project name
- project:
name: bgpcep-csit-userfeatures
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: bgpcep-patch-test
jobs:
- - '{project}-patch-test-{feature}-{stream}'
+ - inttest-patch-test
# The project name
project: 'bgpcep'
- project:
name: bier-csit-basic
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: capwap-csit-ac
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: centinel-csit-basic
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: controller-csit-akka1
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'controller'
- project:
name: mdsal-csit-dom-notification-broker-no-loss-longevity
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'controller'
- project:
name: mdsal-csit-periodic-dsbenchmark
jobs:
- - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+ - inttest-csit-1node-periodic
# The project name
project: 'controller'
- project:
name: controller-csit-rest-cars-perf
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'controller'
- project:
name: daexim-csit-basic
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'daexim'
- project:
name: didm-csit-discovery
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: dluxapps-csit-yangman
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
name: genius-csit-genius
jobs:
- '{project}-csit-3node-{functionality}-{install}-{stream}'
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
- inttest-csit-verify-3node
- project:
name: genius-patch-test
jobs:
- - '{project}-patch-test-{feature}-{stream}'
+ - inttest-patch-test
# The project name
project: 'genius'
- project:
name: groupbasedpolicy-csit-3node
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'groupbasedpolicy'
- project:
name: groupbasedpolicy-csit-6node
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
- project:
name: groupbasedpolicy-csit-sxp
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'groupbasedpolicy'
- project:
name: infrautils-patch-test
jobs:
- - '{project}-patch-test-{feature}-{stream}'
+ - inttest-patch-test
project: 'infrautils'
- project:
name: distribution-csit-userfeatures
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'distribution'
for i in `seq 1 ${NUM_OPENSTACK_CONTROL_NODES}`; do
CONTROLIP=OPENSTACK_CONTROL_NODE_${i}_IP
- echo "Configure the stack of the control node ${i} of ${NUM_OPENSTACK_CONTROL_NODES}: ${CONTROLIP}"
+ echo "Configure the stack of the control node ${i} of ${NUM_OPENSTACK_CONTROL_NODES}: ${!CONTROLIP}"
scp ${WORKSPACE}/disable_firewall.sh ${!CONTROLIP}:/tmp
${SSH} ${!CONTROLIP} "sudo bash /tmp/disable_firewall.sh"
create_etc_hosts ${!CONTROLIP}
SITE_INDEX=$((((i - 1) / NUM_COMPUTES_PER_SITE) + 1)) # We need the site index to infer the control node IP for this compute
COMPUTEIP=OPENSTACK_COMPUTE_NODE_${i}_IP
CONTROLIP=OPENSTACK_CONTROL_NODE_${SITE_INDEX}_IP
- echo "Configure the stack of the compute node ${i} of ${NUM_OPENSTACK_COMPUTE_NODES}: ${COMPUTEIP}"
+ echo "Configure the stack of the compute node ${i} of ${NUM_OPENSTACK_COMPUTE_NODES}: ${!COMPUTEIP}"
scp ${WORKSPACE}/disable_firewall.sh "${!COMPUTEIP}:/tmp"
${SSH} "${!COMPUTEIP}" "sudo bash /tmp/disable_firewall.sh"
create_etc_hosts ${!COMPUTEIP} ${!CONTROLIP}
- lf-infra-publish
- job-template:
- name: '{project}-csit-1node-{functionality}-{install}-{stream}'
+ name: '{prefix}{project}-csit-1node-{functionality}-{install}-{stream}'
+ id: inttest-csit-1node
# Keep synchronized with *-csit4-*-carbon please.
disabled: false
- lf-infra-publish
- job-template:
- name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+ name: '{prefix}{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+ id: inttest-csit-1node-periodic
disabled: false
project-type: freestyle
# triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
- job-template:
- name: '{project}-patch-test-{feature}-{stream}'
+ name: '{prefix}{project}-patch-test-{feature}-{stream}'
+ id: inttest-patch-test
project-type: freestyle
node: centos7-builder-2c-8g
- project:
name: iotdm-csit-basic
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: jsonrpc-csit-basic
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'jsonrpc'
- project:
name: l2switch-csit-host-scalability-daily
jobs:
- - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+ - inttest-csit-1node-periodic
# The project name
project: 'l2switch'
- project:
name: l2switch-csit-scalability
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'l2switch'
- project:
name: l2switch-csit-switch
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: l2switch-patch-test
jobs:
- - '{project}-patch-test-{feature}-{stream}'
+ - inttest-patch-test
# The project name
project: 'l2switch'
- project:
name: lacp-csit-lacp
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
project-name: lf-infra-docs
project: releng/docs
project-pattern: releng/docs
- build-node: centos7-builder-2c-8g
+ build-node: centos7-builder-2c-1g
rtd-project: lf-releng-docs
stream: any
branch: '*'
- project:
name: lf-infra-docs-conf
jobs:
+ - '{project-name}-rtd-jobs'
- gerrit-tox-verify
project-name: lf-infra-docs-conf
project: releng/docs-conf
project-pattern: releng/docs-conf
- build-node: centos7-builder-2c-8g
+ build-node: centos7-builder-2c-1g
+ rtd-project: lfdocs-conf
stream: any
branch: '*'
name: lispflowmapping-csit-msmr
jobs:
- '{project}-csit-3node-{functionality}-{install}-{stream}'
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: lispflowmapping-csit-performance
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'lispflowmapping'
- project:
name: mdsal-csit-bindingv1
jobs:
- - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+ - inttest-csit-1node-periodic
# The project name
project: 'mdsal'
- project:
name: messaging4transport-csit-basic
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: natapp-csit-basic
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: nemo-csit-engine
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: netconf-csit-callhome
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'netconf'
- project:
name: netconf-patch-test
jobs:
- - '{project}-patch-test-{feature}-{stream}'
+ - inttest-patch-test
# The project name
project: 'netconf'
- project:
name: netconf-csit-scale
jobs:
- - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+ - inttest-csit-1node-periodic
# The project name
project: 'netconf'
- project:
name: netconf-csit-userfeatures
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
name: netide-csit-basic
jobs:
- inttest-csit-verify-1node
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'netide'
- project:
name: netvirt-patch-test
jobs:
- - '{project}-patch-test-{feature}-{stream}'
+ - inttest-patch-test
# The project name
project: 'netvirt'
- project:
name: nic-csit-basic
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: ocpplugin-csit-basic
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: ocpplugin-csit-scalability
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
name: of-config-csit-basic
jobs:
- inttest-csit-verify-1node
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'of-config'
- project:
name: openflowplugin-csit-cbench
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'openflowplugin'
- project:
name: openflowplugin-csit-flow-services
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'openflowplugin'
- project:
name: openflowplugin-csit-longevity
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'openflowplugin'
- project:
name: openflowplugin-csit-perf-bulkomatic
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'openflowplugin'
- project:
name: openflowplugin-csit-perf-stats-collection
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'openflowplugin'
- project:
name: openflowplugin-csit-sanity
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: openflowplugin-csit-scale-link
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'openflowplugin'
- project:
name: openflowplugin-csit-scale-switch
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'openflowplugin'
- project:
name: openflowplugin-csit-scale
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'openflowplugin'
- project:
name: openflowplugin-patch-test
jobs:
- - '{project}-patch-test-{feature}-{stream}'
+ - inttest-patch-test
# The project name
project: 'openflowplugin'
- project:
name: ovsdb-csit-southbound
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
project: 'ovsdb'
- project:
name: ovsdb-patch-test
jobs:
- - '{project}-patch-test-{feature}-{stream}'
+ - inttest-patch-test
# The project name
project: 'ovsdb'
- project:
name: p4plugin-csit-basic
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'p4plugin'
# If URL is to zip, check if there's a tar.gz available to avoid repackaging.
if [[ $DOWNLOAD_URL = *.zip ]]; then
# shellcheck disable=SC2154
- candidate_tarball_url="${{DOWNLOAD_URL//zip/tar.gz}}"
+ candidate_tarball_url="${DOWNLOAD_URL//zip/tar.gz}"
# shellcheck disable=SC2154
url_status=$(curl --silent --head --location --output /dev/null --write-out \
- '%{{http_code}}' "$candidate_tarball_url")
+ '%{http_code}' "$candidate_tarball_url")
if [[ $url_status = 2* ]]; then
DOWNLOAD_URL="$candidate_tarball_url"
fi
sudo yum install -y "$URL"
elif [[ $URL == *.repo ]]; then
# shellcheck disable=SC2154
- repo_file="${{URL##*/}}"
+ repo_file="${URL##*/}"
sudo curl --silent -o /etc/yum.repos.d/"$repo_file" "$URL"
sudo yum install -y opendaylight
else
--- /dev/null
+# Integration/Packaging macros
+---
+- builder:
+ name: install-test-uninstall-rpm
+ builders:
+ - inject:
+ properties-content: 'URL=/home/$USER/rpmbuild/RPMS/noarch/*.rpm'
+ # Use *-escape to make double brace expansion work. JJB strangeness.
+ - shell: !include-raw: test-rpm-deps.sh
+ - shell: !include-raw-escape: install-rpm.sh
+ - shell: !include-raw: start-odl.sh
+ # Install deps needed interactive Karaf shell tests
+ - shell: |
+ # Install expect to interact with Karaf shell
+ # Install nmap to check status of ODL's SSH port
+ sudo yum install -y expect nmap
+ - shell: !include-raw: test-karaf.expect
+ - shell: !include-raw: stop-odl.sh
+ - shell: !include-raw: uninstall-rpm.sh
+ - shell: |
+ # Remove old host key so future installs don't fail to SSH
+ rm /home/jenkins/.ssh/known_hosts
build-timeout: '{build-timeout}'
builders:
- - shell: !include-raw: build-rpm.sh
- - shell: !include-raw: test-rpm-deps.sh
- - inject:
- properties-content: 'URL=/home/$USER/rpmbuild/RPMS/noarch/*.rpm'
- - shell: !include-raw: install-rpm.sh
- - shell: !include-raw: start-odl.sh
- - shell: |
- # Install expect to interact with Karaf shell
- sudo yum install -y expect
- # Install nmap to check status of ODL's SSH port
- sudo yum install -y nmap
- - shell: !include-raw: test-karaf.expect
- - shell: !include-raw: stop-odl.sh
- - shell: !include-raw: uninstall-rpm.sh
+ - shell: !include-raw-escape: build-rpm.sh
+ - install-test-uninstall-rpm
- lf-infra-deploy-maven-file:
global-settings-file: 'global-settings'
settings-file: 'packaging-settings'
- inject:
properties-content: 'STREAM={stream}'
- shell: !include-raw: build-rpm-snap.sh
- - shell: !include-raw: test-rpm-deps.sh
+ - install-test-uninstall-rpm
- lf-infra-deploy-maven-file:
global-settings-file: 'global-settings'
settings-file: 'packaging-settings'
- inject:
# yamllint disable-line rule:line-length
properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.7.0/karaf-0.7.0.tar.gz'
- - shell: !include-raw: build-rpm.sh
+ - shell: !include-raw-escape: build-rpm.sh
# Test Oxygen pre-release autorelease tarball
- inject:
# yamllint disable-line rule:line-length
properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2052/org/opendaylight/integration/karaf/0.8.0/karaf-0.8.0.tar.gz'
- - shell: !include-raw: build-rpm.sh
+ - shell: !include-raw-escape: build-rpm.sh
# Test Oxygen multipatch zip (no parallel tarball available)
- 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.8.0-SNAPSHOT/karaf-0.8.0-20171128.175421-68.zip'
- - shell: !include-raw: build-rpm.sh
+ - shell: !include-raw-escape: build-rpm.sh
# Test latest Oxygen snapshot
- inject:
build-timeout: '{build-timeout}'
builders:
- # TODO: Install/test each RPM. Will require builder script changes.
# Test Carbon SR2 tarball
- inject:
# yamllint disable-line rule:line-length
properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.2-Carbon/distribution-karaf-0.6.2-Carbon.tar.gz'
- - shell: !include-raw: build-rpm.sh
+ - shell: !include-raw-escape: build-rpm.sh
+ - install-test-uninstall-rpm
# Test Carbon multipatch zip (no parallel tarball available)
# 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/distribution-karaf/0.6.3-SNAPSHOT/distribution-karaf-0.6.3-20180115.181738-1.zip'
- - shell: !include-raw: build-rpm.sh
+ - shell: !include-raw-escape: build-rpm.sh
+ - install-test-uninstall-rpm
# Test latest Carbon snapshot
- inject:
properties-content: 'STREAM=carbon'
- shell: !include-raw: build-rpm-snap.sh
+ - install-test-uninstall-rpm
# Test Nitrogen 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.7.0/karaf-0.7.0.tar.gz'
- - shell: !include-raw: build-rpm.sh
+ - shell: !include-raw-escape: build-rpm.sh
+ - install-test-uninstall-rpm
# Test Nitrogen SR1 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.7.1/karaf-0.7.1.tar.gz'
- - shell: !include-raw: build-rpm.sh
+ - shell: !include-raw-escape: build-rpm.sh
+ - install-test-uninstall-rpm
# Test Nitrogen multipatch zip (no parallel tarball available)
# 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.7.2-SNAPSHOT/karaf-0.7.2-20180115.183312-2.zip'
- - shell: !include-raw: build-rpm.sh
+ - shell: !include-raw-escape: build-rpm.sh
+ - install-test-uninstall-rpm
# Test latest Nitrogen snapshot
- inject:
properties-content: 'STREAM=nitrogen'
- shell: !include-raw: build-rpm-snap.sh
+ - install-test-uninstall-rpm
# Test Oxygen 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-2052/org/opendaylight/integration/karaf/0.8.0/karaf-0.8.0.tar.gz'
- - shell: !include-raw: build-rpm.sh
+ - shell: !include-raw-escape: build-rpm.sh
+ - install-test-uninstall-rpm
# Test Oxygen multipatch zip (no parallel tarball available)
+ # FIXME: Something is wrong with current Oxygen multipatch builds
# 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.8.0-SNAPSHOT/karaf-0.8.0-20180111.030942-90.zip'
- - shell: !include-raw: build-rpm.sh
+ # - 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.8.0-SNAPSHOT/karaf-0.8.0-20180111.030942-90.zip'
+ # - shell: !include-raw: build-rpm.sh
+ # - install-test-uninstall-rpm
# Test latest Oxygen snapshot
- inject:
properties-content: 'STREAM=oxygen'
- shell: !include-raw: build-rpm-snap.sh
+ - install-test-uninstall-rpm
triggers:
- timed: '@daily'
build-timeout: '{build-timeout}'
builders:
- - shell: !include-raw: install-rpm.sh
+ - shell: !include-raw-escape: install-rpm.sh
- shell: !include-raw: start-odl.sh
- shell: |
# Install expect to interact with Karaf shell
- sudo yum install -y expect
# Install nmap to check status of ODL's SSH port
- sudo yum install -y nmap
+ sudo yum install -y expect nmap
- shell: !include-raw: test-karaf.expect
- shell: !include-raw: stop-odl.sh
- shell: !include-raw: uninstall-rpm.sh
build-timeout: '{build-timeout}'
builders:
- - shell: !include-raw: install-rpm.sh
+ - shell: !include-raw-escape: install-rpm.sh
- shell: !include-raw: start-odl.sh
- shell: |
# Install expect to interact with Karaf shell
# shellcheck disable=SC2034
mapfile -t actual_deps < <( rpm -qp /home/$USER/rpmbuild/RPMS/noarch/*.rpm --requires )
# shellcheck disable=SC2154 disable=SC2145
-printf 'Dependency found: %s\n' "${{actual_deps[@]}}"
+printf 'Dependency found: %s\n' "${actual_deps[@]}"
# shellcheck disable=SC2154,SC2145,SC2034,SC2207
-diff_deps=(`echo "${{expected_deps[@]}}" "${{actual_deps[@]}}" | tr ' ' '\n' | sort | uniq -u`)
+diff_deps=(`echo "${expected_deps[@]}" "${actual_deps[@]}" | tr ' ' '\n' | sort | uniq -u`)
# shellcheck disable=SC2154 disable=SC2145 disable=SC2068 disable=SC2170 disable=SC1083
-if [ ${{#diff_deps[*]}} -eq 0 ]; then
+if [ ${#diff_deps[*]} -eq 0 ]; then
echo "RPM requirements are as expected"
else
echo "RPM requirements don't match the expected requirements"
# shellcheck disable=SC2154 disable=SC2145
- printf 'Dependency mismatch: %s\n' ${{diff_deps[@]}}
+ printf 'Dependency mismatch: %s\n' ${diff_deps[@]}
exit 1
fi
- project:
name: packetcable-csit-pcmm
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: sdninterfaceapp-csit-basic
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: sfc-patch-test
jobs:
- - '{project}-patch-test-{feature}-{stream}'
+ - inttest-patch-test
# The project name
project: 'sfc'
- project:
name: sxp-csit-basic
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'sxp'
- project:
name: sxp-csit-filtering
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'sxp'
- project:
name: sxp-csit-performance
jobs:
- - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+ - inttest-csit-1node-periodic
# The project name
project: 'sxp'
- project:
name: sxp-csit-topology
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
# The project name
project: 'sxp'
- project:
name: topoprocessing-csit-topology-operations
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: tsdr-csit-cassandra
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: tsdr-csit-elasticsearch
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: tsdr-csit-hbase
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: tsdr-csit-hsqldb
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: unimgr-csit-basic
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: unimgr-csit-legato
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: usc-csit-channel
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: usc-csit-tcp
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: usecplugin-csit-basic
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: vtn-csit-vtn-coordinator
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: vtn-csit-manager
jobs:
- - '{project}-csit-1node-{functionality}-{install}-{stream}'
+ - inttest-csit-1node
- inttest-csit-verify-1node
# The project name
- project:
name: vtn-patch-test
jobs:
- - '{project}-patch-test-{feature}-{stream}'
+ - inttest-patch-test
# The project name
project: 'vtn'
- project:
name: yangtools-csit-system
jobs:
- - '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
+ - inttest-csit-1node-periodic
# The project name
project: 'yangtools'