--- /dev/null
+---
+- project:
+ name: ansible
+ project-name: ansible
+
+ jobs:
+ - '{project-name}-verify-tox-{stream}'
+ - '{project-name}-test-rpm-{stream}'
+ - '{project-name}-test-deb-{stream}'
+
+ project: 'integration/packaging/ansible-opendaylight'
+
+ stream:
+ - master:
+ branch: 'master'
+
+- job-template:
+ name: '{project-name}-test-rpm-{stream}'
+
+ node: centos7-java-builder-2c-4g
+
+ project-type: freestyle
+
+ properties:
+ - opendaylight-infra-properties:
+ build-days-to-keep: 7
+
+ parameters:
+ - opendaylight-infra-parameters:
+ os-cloud: '{os-cloud}'
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+
+ scm:
+ - integration-gerrit-scm:
+ basedir: '{project-name}'
+ refspec: '$GERRIT_REFSPEC'
+ branch: '{branch}'
+
+ wrappers:
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ builders:
+ - shell: !include-raw: include-raw-test-ansible-rpm.sh
+
+ triggers:
+ - timed: '@daily'
+ - gerrit-trigger-patch-submitted:
+ server: '{server-name}'
+ project: '{project}'
+ branch: '{branch}'
+ files: '**'
+
+- job-template:
+ name: '{project-name}-test-deb-{stream}'
+
+ node: ubuntu1604-mininet-ovs-25-2c-4g
+
+ project-type: freestyle
+
+ properties:
+ - opendaylight-infra-properties:
+ build-days-to-keep: 7
+
+ parameters:
+ - opendaylight-infra-parameters:
+ os-cloud: '{os-cloud}'
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+
+ scm:
+ - integration-gerrit-scm:
+ basedir: '{project-name}'
+ refspec: '$GERRIT_REFSPEC'
+ branch: '{branch}'
+
+ wrappers:
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ builders:
+ - shell: !include-raw: include-raw-test-ansible-deb.sh
+
+ triggers:
+ - timed: '@daily'
+ - gerrit-trigger-patch-submitted:
+ server: '{server-name}'
+ project: '{project}'
+ branch: '{branch}'
+ files: '**'
- 'packaging-build-deb-{stream}'
- 'packaging-test-rpm-{stream}'
- 'packaging-test-deb-{stream}'
- - 'packaging-test-ansible-rpm-{stream}'
- - 'packaging-test-ansible-deb-{stream}'
project: 'integration/packaging'
- archive-artifacts:
artifacts: '**'
-- job-template:
- name: 'packaging-test-ansible-rpm-{stream}'
-
- node: centos7-java-builder-2c-4g
-
- project-type: freestyle
-
- properties:
- - opendaylight-infra-properties:
- build-days-to-keep: 7
-
- parameters:
- - opendaylight-infra-parameters:
- os-cloud: '{os-cloud}'
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
-
- scm:
- - integration-gerrit-scm:
- basedir: 'packaging'
- refspec: '$GERRIT_REFSPEC'
- branch: 'master'
-
- wrappers:
- - opendaylight-infra-wrappers:
- build-timeout: '{build-timeout}'
-
- builders:
- - shell: !include-raw: include-raw-test-ansible-rpm.sh
-
- triggers:
- - timed: '@daily'
-
-
- job-template:
name: 'packaging-build-deb-{stream}'
publishers:
- archive-artifacts:
artifacts: 'packaging/deb/opendaylight/*.deb'
-
-
-- job-template:
- name: 'packaging-test-ansible-deb-{stream}'
-
- node: ubuntu1604-mininet-ovs-25-2c-4g
-
- project-type: freestyle
-
- properties:
- - opendaylight-infra-properties:
- build-days-to-keep: 7
-
- parameters:
- - opendaylight-infra-parameters:
- os-cloud: '{os-cloud}'
- project: '{project}'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts}'
-
- scm:
- - integration-gerrit-scm:
- basedir: 'packaging'
- refspec: '$GERRIT_REFSPEC'
- branch: 'master'
-
- wrappers:
- - opendaylight-infra-wrappers:
- build-timeout: '{build-timeout}'
-
- builders:
- - shell: !include-raw: include-raw-test-ansible-deb.sh
-
- triggers:
- - timed: '@daily'
- string:
name: PATCHES_TO_BUILD
default: ''
- description: 'csv list of patches in project:changeset format to build distribution with'
+ # yamllint disable-line rule:line-length
+ description: 'Patches to add to distro in CSV project:changeset format (genius:32/53632/9,netvirt:59/50259/47)'
- parameter:
name: run-test-parameter
yum install -y haveged
systemctl enable haveged.service
+ # Install git-review
+ yum install -y git-review
}
ubuntu_systems() {
# Install python dependencies, useful generally
yum install -y python-{devel,virtualenv,setuptools,pip}
-# Use pip to install newer version of git-review
-pip install git-review --upgrade
-
# Needed by autorelease scripts
yum install -y xmlstarlet