Remove zuul v2 and jjb content

It's migrated, it can be removed now.

Depends-On: I6a89752d74ed7424267c3af3937ad01fb4bb8f86
Change-Id: Id67d0149b645bd23e460cef65719541f76f0967b
This commit is contained in:
Monty Taylor 2017-09-25 09:56:08 -05:00 committed by Andreas Jaeger
parent 8175837bf5
commit 355f7090a6
167 changed files with 1 additions and 59071 deletions

View File

@ -1,32 +0,0 @@
- job-template:
name: '{pipeline}-tempest-almanach-dsvm{suffix}'
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin almanach git://git.openstack.org/openstack/almanach
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_TEMPEST_REGEX="^almanach\."
export PROJECTS="openstack/almanach $PROJECTS"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,184 +0,0 @@
- job-template:
name: 'gate-{name}-ansible-lint'
node: ubuntu-trusty
builders:
- zuul-git-prep
- install-distro-packages
- ansible-prep
- ansible-lint-prep
- revoke-sudo
- ansible-syntax
- ansible-lint
publishers:
- console-log
- job-group:
# TODO(pabelanger): Remove in favor of ansible-role-jobs
name: 'ansible-lint-jobs'
jobs:
- 'gate-{name}-ansible-lint'
- job-template:
name: '{pipeline}-{name}-dsvm-ansible-func-{ostype}{suffix}'
node: '{ostype}'
wrappers:
- build-timeout:
timeout: 100
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep
- devstack-checkout
- shell: |
# Allow Jenkins user to ssh into localhost
ssh-keygen -f ~/.ssh/id_rsa -N ""
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
ssh-keyscan localhost >> ~/.ssh/known_hosts
ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export PROJECTS="$ZUUL_PROJECT $PROJECTS"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function post_test_hook {{
$BASE/new/{name}/tests/hooks/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-{name}-ansible-{scenario}-{ostype}{suffix}'
node: '{ostype}'
wrappers:
- build-timeout:
timeout: 90
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
# The test executes against a repo which understand how to translate
# ZUUL_CHANGES into the correct setup. The only thing we need to
# bootstrap here is the Ansible repo itself.
- zuul-git-prep-upper-constraints-cross:
project: openstack/{name}
- shell: |
# NOTE(mhayden): The CentOS CI image has many repositories enabled by
# default that can cause package conflicts. We must disable all of
# them here and only enable base, updates, and epel.
# We also do not want to run this on Fedora.
if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then
sudo yum-config-manager --disable \* >/dev/null
sudo yum-config-manager --enable base >/dev/null
sudo yum-config-manager --enable epel >/dev/null
sudo yum-config-manager --enable updates >/dev/null
fi
- install-distro-packages
- shell: |
# NOTE(mhayden): EPEL is no longer required after installing distro
# packages with bindep. Individual roles may re-enable EPEL if they
# need it for their package installation tasks.
# We also do not want to run this on Fedora.
if [[ -x /usr/bin/yum-config-manager ]] && [[ -e /etc/centos-release ]]; then
sudo yum-config-manager --disable epel >/dev/null
fi
- shell: |
# Allow Jenkins user to ssh into localhost
ssh-keygen -f ~/.ssh/id_rsa -N ""
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
ssh-keyscan localhost >> ~/.ssh/known_hosts
ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts
- shell: |
# Many of the Ansible roles have a tox environment
# called 'functional', so we implement a mapping
# of the scenario 'func' to 'functional' so reduce
# the need for code churn in those repositories
# immediately.
if [ "{scenario}" == "func" ]; then
/usr/local/jenkins/slave_scripts/run-tox.sh functional
else
/usr/local/jenkins/slave_scripts/run-tox.sh {scenario}
fi
publishers:
# Although these are not devstack jobs, we want to capture logs
# similar in nature to devstack (Ansible logs, system logs, etc.)
- devstack-logs
- console-log
- job-group:
name: 'ansible-role-jobs'
jobs:
- 'gate-{name}-docs-{node}':
node: ubuntu-xenial
- 'gate-{name}-linters-{node}':
node: ubuntu-xenial
# For some oses we need both voting and non-voting jobs.
- '{pipeline}-{name}-ansible-{scenario}-{ostype}{suffix}':
ostype:
- centos-7
- fedora-26
- ubuntu-xenial
- opensuse-423
pipeline: gate
scenario: func
suffix:
- '-nv'
- ''
# Other oses only have voting jobs.
- '{pipeline}-{name}-ansible-{scenario}-{ostype}{suffix}':
ostype:
- ubuntu-trusty
pipeline: gate
scenario: func
suffix: ''
- '{name}-announce-release'
- job-group:
name: 'ansible-role-dsvm-jobs'
jobs:
- 'gate-{name}-docs-{node}':
node: ubuntu-xenial
- 'gate-{name}-linters-{node}':
node: ubuntu-xenial
- '{pipeline}-{name}-dsvm-ansible-func-{ostype}{suffix}':
branch-override: default
ostype:
- centos-7
- ubuntu-trusty
pipeline: gate
suffix: ''
- '{name}-announce-release'
- job:
name: propose-openstack-ansible-update-osa-test-scripts
node: proposal
builders:
- proposal-slave-cleanup
- revoke-sudo
- link-logs
- net-info
- zuul-git-prep
- shell: /usr/local/jenkins/slave_scripts/propose_update.sh openstack-ansible-tests
publishers:
- console-log

View File

@ -1,80 +0,0 @@
- job-template:
name: '{pipeline}-aodh-dsvm-functional-{backend}-{node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 100
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin aodh git://git.openstack.org/openstack/aodh
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export PROJECTS="openstack/aodh $PROJECTS"
function gate_hook {{
cd /opt/stack/new/aodh/devstack/gate
./gate_hook.sh {backend}
}}
export -f gate_hook
function post_test_hook {{
cd /opt/stack/new/aodh/aodh/tests/functional/hooks
./post_test_hook.sh {backend}
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: 'gate-aodh-dsvm-tempest-plugin-{backend}{network}-{node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin aodh git://git.openstack.org/openstack/aodh
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_REGEX="^aodh\."
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export PROJECTS="openstack/aodh $PROJECTS"
export AODH_BACKEND={backend}
if [ "{backend}" = "postgresql" ] ; then
export DEVSTACK_GATE_POSTGRES=1
fi
if [ "x{network}" = "x-neutron" ] ; then
export DEVSTACK_GATE_NEUTRON=1
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,277 +0,0 @@
- job:
name: openstack-api-ref
node: ubuntu-xenial
builders:
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'publishdocs-api'
publishers:
- upload-doc-build-results
- afs:
site: afs-developer-docs
source: 'publish-docs/api-ref/**'
target: '/'
remove-prefix: 'publish-docs/api-ref/'
- test-results
- console-log
- job:
name: openstack-api-ref-publish-lang
node: ubuntu-xenial
builders:
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'publishlang-api'
publishers:
- upload-doc-build-results
- afs:
site: afs-developer-docs
source: 'publish-docs/api-ref/**'
target: '/'
remove-prefix: 'publish-docs/api-ref/'
- test-results
- console-log
- job-template:
name: gate-{name}-api-guide
description: Build and draft the API Guide from source.
node: ubuntu-xenial
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'api-guide'
publishers:
- upload-api-guide-draft
- test-results
- console-log
- job-template:
name: '{name}-api-guide'
description: Build and publish the API Guide from source.
node: ubuntu-xenial
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'api-guide'
- add-docs-root-marker:
docsrootdir: api-guide/build/html
publishers:
- afs:
site: afs-developer-docs
source: 'api-guide/build/html/**'
target: 'api-guide/{service}'
remove-prefix: 'api-guide/build/html/'
- test-results
- console-log
# Be aware that the variable "service" needs to be set when this job
# group is used.
# The "service" variable comes from the service catalog, which is
# based on the openstack/service-types-authority project as a
# canonical reference for names. When your project has spaces in the
# service entry, use dashes for the spaces, such as "object-storage"
# (the service is not swift).
- job-group:
name: api-guide-jobs
jobs:
- gate-{name}-api-guide
- '{name}-api-guide'
- job-template:
name: gate-{name}-api-ref
description: Build and draft the API Reference from source.
node: ubuntu-xenial
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'api-ref'
publishers:
- upload-api-ref-draft
- test-results
- console-log
- job-template:
name: gate-placement-api-ref
description: Build and draft the placement API Reference from source.
node: ubuntu-xenial
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'placement-api-ref'
publishers:
- upload-placement-api-ref-draft
- test-results
- console-log
- job-template:
name: gate-{name}-api-ref-src
description: Build and draft the API Reference from source using os-api-ref from source.
node: ubuntu-xenial
builders:
- zuul-git-prep-upper-constraints-api-ref:
project: openstack/{name}
- install-distro-packages
- revoke-sudo
- shell: "/usr/local/jenkins/slave_scripts/run-tox-api-ref.sh"
publishers:
- upload-api-ref-draft
- test-results
- console-log
- job-template:
name: '{name}-api-ref'
description: Build and publish the API Reference from source.
node: ubuntu-xenial
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'api-ref'
- add-docs-root-marker:
docsrootdir: api-ref/build/html
publishers:
- afs:
site: afs-developer-docs
source: 'api-ref/build/html/**'
target: 'api-ref/{service}'
remove-prefix: 'api-ref/build/html/'
- test-results
- console-log
# Because placement is hosted within nova, which has its own api-ref,
# we need a separate job for placement, to handle the separate
# directories.
# TODO(cdent): When placement gets its own repo, remove the special
# jobs, this one and 'gate-placement-api-ref'.
- job:
name: 'placement-api-ref'
description: Build and publish the Placement API Reference from source.
node: ubuntu-xenial
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'placement-api-ref'
- add-docs-root-marker:
docsrootdir: placement-api-ref/build/html
publishers:
- afs:
site: afs-developer-docs
source: 'placement-api-ref/build/html/**'
target: 'api-ref/placement'
remove-prefix: 'placement-api-ref/build/html/'
- test-results
- console-log
# Be aware that the variable "service" needs to be
# set when this job group is used.
# The "service" variable comes from the service catalog, which is
# based on the openstack/service-types-authority project as a
# canonical reference for names. When your project has spaces in the
# service entry, use dashes for the spaces, such as "object-storage"
# (the service is not swift).
- job-group:
name: api-ref-jobs
jobs:
- gate-{name}-api-ref
- '{name}-api-ref'
- job:
name: python-openstacksdk-docs
description: Build and publish the Python SDK docs from source.
node: ubuntu-xenial
builders:
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- docs
publishers:
- afs:
site: afs-developer-docs
source: 'doc/build/html/**'
target: 'sdks/python/openstacksdk'
remove-prefix: 'doc/build/html/'
- test-results
- console-log
- job:
name: murano-firstapp-docs
description: Build and publish the Murano Firstapp docs from source.
node: ubuntu-xenial
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'murano-firstapp'
- add-docs-root-marker:
docsrootdir: doc/build/murano-firstapp/html
publishers:
- afs:
site: afs-developer-docs
source: 'doc/build/murano-firstapp/html/**'
target: 'murano-firstapp'
remove-prefix: 'doc/build/murano-firstapp/html/'
- test-results
- console-log
- job:
name: gate-murano-firstapp-docs
description: Build and publish draft of the Murano Firstapp docs.
node: ubuntu-xenial
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'murano-firstapp'
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'docs-draft/$LOG_PATH'
source: 'doc/build/murano-firstapp/html/**'
keep-hierarchy: true
copy-after-failure: true
- test-results
- console-log

View File

@ -1,59 +0,0 @@
- job:
name: gate-app-catalog-ui-dsvm-integration
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- firefox-install
- xvfb-install
- local_conf:
conf: |
[[local|localrc]]
enable_plugin app-catalog-ui https://git.openstack.org/openstack/app-catalog-ui
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_HORIZON=1
# Enable App Catalog Horizon plugin
export PROJECTS="openstack/app-catalog-ui $PROJECTS"
function pre_test_hook {
$BASE/new/app-catalog-ui/tools/gate/integration/pre_test_hook.sh
}
export -f pre_test_hook
function post_test_hook {
$BASE/new/app-catalog-ui/tools/gate/integration/post_test_hook.sh
}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- publish-screenshots
- console-log
- publisher:
name: publish-screenshots
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH/screenshots'
source: 'integration_tests_screenshots/**'
copy-after-failure: true

View File

@ -1,96 +0,0 @@
- job-template:
name: 'gate-ara-integration-{python_version}-{ansible_version}-{ostype}{suffix}'
node: '{ostype}'
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- zuul-git-prep
- install-distro-packages
- shell: |
#!/bin/bash -xe
./run_tests.sh --python {python_version} --ansible {ansible_version}
wrappers:
- build-timeout:
timeout: 20
- timestamps
publishers:
- devstack-logs
- console-log
- builder:
name: openstack-ansible-tests-checkout
builders:
- shell: |
#!/bin/bash -xe
CLONEMAP=`mktemp`
REQS_DIR=`mktemp -d`
function cleanup {
rm -f $CLONEMAP
rm -rf $REQS_DIR
}
trap cleanup EXIT
cat > $CLONEMAP << EOF
clonemap:
- name: openstack/openstack-ansible-tests
dest: .
- name: openstack/requirements
dest: $REQS_DIR
EOF
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP \
--cache-dir /opt/git git://git.openstack.org \
openstack/openstack-ansible-tests \
openstack/requirements
cp $REQS_DIR/upper-constraints.txt ./
# This is a re-implementation of the OSA func jobs, ex:
# https://github.com/openstack-infra/project-config/blob/45d26f75d150febc121b91ebd5aa0435ecba7315/jenkins/jobs/ansible-role-jobs.yaml#L66
# In the original job, it would be expected that ARA would have a "functional"
# tox env that would then retrieve openstack-ansible-tests and run from there.
# In this job, we zuul-clone openstack-ansible-tests directly and run the
# functional tox env from it.
# openstack-ansible-tests will install ARA by itself - if running from the ARA
# gate ($ZUUL_PROJECT == 'openstack/ara'), it retrieves ARA from zuul-cloner,
# otherwise, PyPi.
- job-template:
name: 'gate-ara-integration-openstack-ansible-func-{ostype}{suffix}'
node: '{ostype}'
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- openstack-ansible-tests-checkout
- shell: |
# NOTE(mhayden): The CentOS CI image has many repositories enabled by
# default that can cause package conflicts. We must disable all of
# them here and only enable base, updates, and epel.
if [[ -e /usr/bin/yum ]] && [[ -x /usr/bin/yum-config-manager ]]; then
sudo yum-config-manager --disable \*
sudo yum-config-manager --enable base
sudo yum-config-manager --enable epel
sudo yum-config-manager --enable updates
fi
- install-distro-packages
- shell: |
# NOTE(mhayden): EPEL is no longer required after installing distro
# packages with bindep. Individual roles may re-enable EPEL if they
# need it for their package installation tasks.
if [[ -e /usr/bin/yum ]] && [[ -x /usr/bin/yum-config-manager ]]; then
sudo yum-config-manager --disable epel
fi
- shell: |
# Allow Jenkins user to ssh into localhost
ssh-keygen -f ~/.ssh/id_rsa -N ""
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
ssh-keyscan localhost >> ~/.ssh/known_hosts
ssh-keyscan 127.0.0.1 >> ~/.ssh/known_hosts
- shell: |
/usr/local/jenkins/slave_scripts/run-tox.sh functional
publishers:
# Although these are not devstack jobs, we want to capture logs
# similar in nature to devstack (Ansible logs, system logs, etc.)
- devstack-logs
- console-log

View File

@ -1,110 +0,0 @@
- builder:
name: astara-dsvm
builders:
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST={run-tempest}
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_HORIZON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/astara $PROJECTS"
export PROJECTS="openstack/astara-neutron $PROJECTS"
export PROJECTS="openstack/astara-appliance $PROJECTS"
export PROJECTS="openstack/astara-horizon $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin astara https://git.openstack.org/openstack/astara"
export BUILD_APPLIANCE={build-astara-appliance}
if [ "$BUILD_APPLIANCE" == "1" ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"BUILD_ASTARA_APPLIANCE_IMAGE=True"
fi
if [ "$DEVSTACK_GATE_TEMPEST" == "0" ]; then
function post_test_hook {{
source $BASE/new/devstack/openrc admin admin
cd /opt/stack/new/astara
sudo -H -E -u stack ./tools/run_functional.sh
}}
export -f post_test_hook
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- job-template:
name: '{pipeline}-functional-dsvm-astara-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- astara-dsvm:
build-astara-appliance: 0
run-tempest: 0
branch-override: '{branch-override}'
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-functional-dsvm-astara-appliance-src-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- astara-dsvm:
build-astara-appliance: 1
run-tempest: 0
branch-override: '{branch-override}'
publishers:
- devstack-logs
- console-log
- job-template:
name: 'astara-appliance-buildimage-{node}'
node: '{node}'
builders:
- link-logs
- net-info
- zuul-git-prep
- install-distro-packages
- diskimage-builder-install
- shell: |
#!/bin/bash -xe
tox -e build_image
if [[ "$ZUUL_REFNAME" =~ "stable" ]]; then
branch="$(echo $ZUUL_REFNAME | cut -d/ -f2)"
branch_tag="_$branch"
else
branch_tag=""
fi
mv build/astara_appliance*.qcow2 $WORKSPACE/astara_appliance$branch_tag.qcow2
publishers:
- scp:
site: 'tarballs.openstack.org'
files:
- source: 'astara_appliance*.qcow2'
target: 'tarballs/astara-appliance/images'
keep-hierarchy: false
copy-after-failure: false
- console-log

View File

@ -1,23 +0,0 @@
- job-template:
name: gate-bandit-integration-{target-project}
node: ubuntu-xenial
builders:
- link-logs
- install-distro-packages
- shell: |
#!/bin/bash -eux
cd $WORKSPACE
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org \
openstack/bandit \
{target-org}/{target-project}
cd $WORKSPACE/openstack/bandit
tox -e integration {target-org} {target-project} \
$WORKSPACE/{target-org}/{target-project}
publishers:
- console-log

View File

@ -1,295 +0,0 @@
- job-template:
name: 'gate-barbican-{plugin}-devstack{special}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export ENABLED_SERVICES='{services}'
export PROJECTS="openstack/barbican $PROJECTS"
export PROJECTS="openstack/python-barbicanclient $PROJECTS"
export PROJECTS="openstack/barbican-tempest-plugin $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin barbican git://git.openstack.org/openstack/barbican"
if [ "{special}" == "-py35" ] ; then
export DEVSTACK_GATE_USE_PYTHON3=True
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-account"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-container"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-object"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-proxy"
else
export DEVSTACK_GATE_USE_PYTHON3=False
fi
function gate_hook {{
$BASE/new/barbican/devstack/gate_hook.sh
}}
export -f gate_hook
function post_test_hook {{
cd /opt/stack/new/barbican/functionaltests
./post_test_hook.sh '{plugin}'
}}
export -f post_test_hook
if [ "{special}" == "-postgres" ] ; then
export DEVSTACK_GATE_POSTGRES=1
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'gate-barbican-{plugin}-dsvm-functional{special}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin barbican git://git.openstack.org/openstack/barbican
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export OVERRIDE_ENABLED_SERVICES='{services}'
export PROJECTS="openstack/barbican $PROJECTS"
export PROJECTS="openstack/python-barbicanclient $PROJECTS"
export PROJECTS="openstack/barbican-tempest-plugin $PROJECTS"
if [ "{special}" == "-py35" ] ; then
export DEVSTACK_GATE_USE_PYTHON3=True
else
export DEVSTACK_GATE_USE_PYTHON3=False
fi
function gate_hook {{
$BASE/new/barbican/devstack/gate_hook.sh
}}
export -f gate_hook
function post_test_hook {{
cd /opt/stack/new/barbican/functionaltests
./post_test_hook.sh '{plugin}'
}}
export -f post_test_hook
if [ "{special}" == "-postgres" ] ; then
export DEVSTACK_GATE_POSTGRES=1
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'gate-python-barbicanclient-dsvm-{node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin barbican git://git.openstack.org/openstack/barbican
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export OVERRIDE_ENABLED_SERVICES=tempest,rabbit,mysql,key
export PROJECTS="openstack/barbican $PROJECTS"
export PROJECTS="openstack/python-barbicanclient $PROJECTS"
export PROJECTS="openstack/barbican-tempest-plugin $PROJECTS"
function gate_hook {{
$BASE/new/barbican/devstack/gate_hook.sh
}}
export -f gate_hook
function post_test_hook {{
cd /opt/stack/new/python-barbicanclient/functionaltests
./post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'gate-python-barbicanclient-devstack-{node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export ENABLED_SERVICES=barbican,tempest,keystone
export PROJECTS="openstack/barbican $PROJECTS"
export PROJECTS="openstack/python-barbicanclient $PROJECTS"
export PROJECTS="openstack/barbican-tempest-plugin $PROJECTS"
function gate_hook {{
$BASE/new/barbican/devstack/gate_hook.sh
}}
export -f gate_hook
function post_test_hook {{
cd /opt/stack/new/python-barbicanclient/functionaltests
./post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-barbican-{plugin}-dsvm-tempest{special}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_REGEX=barbican
export KEEP_LOCALRC=1
export PROJECTS="openstack/barbican $PROJECTS"
export PROJECTS="openstack/python-barbicanclient $PROJECTS"
export PROJECTS="openstack/barbican-tempest-plugin $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin barbican git://git.openstack.org/openstack/barbican"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"export TEMPEST_PLUGINS='/opt/stack/new/barbican-tempest-plugin'"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Add configuration values for enabling security features in local.conf
function pre_test_hook {{
if [ -f $BASE/new/barbican-tempest-plugin/tools/pre_test_hook.sh ] ; then
. $BASE/new/barbican-tempest-plugin/tools/pre_test_hook.sh
fi
}}
export -f pre_test_hook
if [ "{special}" == "-postgres" ] ; then
export DEVSTACK_GATE_POSTGRES=1
elif [ "{special}" == "-castellan-from-git" ] ; then
export DEVSTACK_PROJECT_FROM_GIT="castellan"
elif [ "{special}" == "-cursive" ] ; then
export DEVSTACK_PROJECT_FROM_GIT="cursive"
elif [ "{special}" == "-py35" ] ; then
export DEVSTACK_GATE_USE_PYTHON3=True
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-account"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-container"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-object"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-proxy"
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'gate-grenade-dsvm-barbican-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export PROJECTS="openstack/barbican $PROJECTS"
export PROJECTS="openstack-dev/grenade $PROJECTS"
export PROJECTS="openstack/python-barbicanclient $PROJECTS"
export PROJECTS="openstack/barbican-tempest-plugin $PROJECTS"
export GRENADE_PLUGINRC="enable_grenade_plugin barbican https://git.openstack.org/openstack/barbican"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"export TEMPEST_PLUGINS='/opt/stack/new/barbican-tempest-plugin'"
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_GRENADE=pullup
export DEVSTACK_GATE_TEMPEST_REGEX=barbican
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Add configuration values for enabling security features in local.conf
function pre_test_hook {{
if [ -f /opt/stack/old/barbican-tempest-plugin/tools/pre_test_hook.sh ] ; then
. /opt/stack/old/barbican-tempest-plugin/tools/pre_test_hook.sh
fi
}}
export -f pre_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,34 +0,0 @@
- job:
# run bashate changes over devstack & devstack-gate
name: 'gate-bashate-devstack'
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 60
builders:
- link-logs
- install-distro-packages
- shell: |
#!/bin/bash -eux
cd $WORKSPACE
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org \
openstack-dev/bashate \
openstack-dev/devstack \
openstack-infra/devstack-gate
export BASHATE_INSTALL_PATH=$WORKSPACE/openstack-dev/bashate
pushd openstack-dev/devstack
tox -e bashate
popd
pushd openstack-infra/devstack-gate
tox -e bashate
popd
publishers:
- console-log

View File

@ -1,16 +0,0 @@
- job-template:
name: 'gate-{name}-rake'
node: ubuntu-xenial
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- bundle-install
- exec-rake
publishers:
- coverage-log-ruby
- console-log

View File

@ -1,118 +0,0 @@
- job-template:
name: 'gate-bifrost-integration-tinyipa-{node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 60
builders:
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- install-distro-packages
- shell: |
#!/bin/bash -eux
cd $WORKSPACE
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org \
openstack/bifrost \
openstack/ironic \
openstack/python-ironicclient \
openstack-infra/shade \
openstack/ironic-inspector \
openstack/python-ironic-inspector-client \
openstack/requirements
export GIT_BASE=$(pwd)
export UPPER_CONSTRAINTS_FILE=$WORKSPACE/upper-constraints.txt
cd openstack/bifrost
scripts/test-bifrost.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'gate-bifrost-integration-dibipa-debian-{node}-nv'
node: '{node}'
wrappers:
- build-timeout:
timeout: 120
builders:
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- install-distro-packages
- shell: |
#!/bin/bash -eux
cd $WORKSPACE
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org \
openstack/bifrost \
openstack/diskimage-builder \
openstack/ironic \
openstack/python-ironicclient \
openstack-infra/shade \
openstack/ironic-inspector \
openstack/python-ironic-inspector-client \
openstack/requirements
export GIT_BASE=$(pwd)
export UPPER_CONSTRAINTS_FILE=$WORKSPACE/upper-constraints.txt
cd openstack/bifrost
scripts/test-bifrost-build-images.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'gate-bifrost-integration-dhcp-{node}-nv'
node: '{node}'
wrappers:
- build-timeout:
timeout: 120
builders:
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- install-distro-packages
- shell: |
#!/bin/bash -eux
cd $WORKSPACE
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org \
openstack/bifrost \
openstack/diskimage-builder \
openstack/ironic \
openstack/python-ironicclient \
openstack-infra/shade \
openstack/ironic-inspector \
openstack/python-ironic-inspector-client \
openstack/requirements
export GIT_BASE=$(pwd)
export UPPER_CONSTRAINTS_FILE=$WORKSPACE/upper-constraints.txt
cd openstack/bifrost
scripts/test-bifrost-inventory-dhcp.sh
publishers:
- devstack-logs
- console-log
- job-group:
name: bifrost-integration-jobs
node:
- centos-7
- opensuse-423
- ubuntu-xenial
jobs:
- gate-bifrost-integration-tinyipa-{node}
- gate-bifrost-integration-dibipa-debian-{node}-nv
- gate-bifrost-integration-dhcp-{node}-nv

View File

@ -1,49 +0,0 @@
- job:
name: gate-blazar-devstack-dsvm
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin blazar git://git.openstack.org/openstack/blazar
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export ENABLED_SERVICES=blazar,blazar-a,blazar-m,tempest
export PROJECTS="openstack/blazar $PROJECTS"
export PROJECTS="openstack/blazar-nova $PROJECTS"
export PROJECTS="openstack/python-blazarclient $PROJECTS"
# Construct a regex to limiting scope of tempest
r="^(?:tempest\.cli\.simple_read_only\.test_.*reservation.*)"
r="$r|^(?:tempest\.scenario\.test_.*reservation.*)"
export DEVSTACK_GATE_TEMPEST_REGEX="$r"
function pre_test_hook {
# Install blazar tempest integration
BLAZAR_TEMPEST_DIR=/opt/stack/new/blazar/contrib/tempest
# Copying Tempest test suites
# This will be removed once blazar tempest starts to use TempestPlugin
if [ -e $BLAZAR_TEMPEST_DIR ] ; then
TEMPEST_DIR=${TEMPEST_DIR:-/opt/stack/new/tempest}
cp -R $BLAZAR_TEMPEST_DIR/tempest/* $TEMPEST_DIR/tempest
fi
}
export -f pre_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,41 +0,0 @@
- job:
name: gate-castellan-dsvm-functional
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin barbican git://git.openstack.org/openstack/barbican
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export ENABLED_SERVICES=tempest,keystone
export PROJECTS="openstack/barbican $PROJECTS"
export PROJECTS="openstack/barbican-tempest-plugin $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT="python-barbicanclient,castellan"
function gate_hook {
$BASE/new/castellan/castellan/tests/contrib/gate_hook.sh
}
export -f gate_hook
function post_test_hook {
$BASE/new/castellan/castellan/tests/contrib/post_test_hook.sh
}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,285 +0,0 @@
- job-template:
name: 'gate-ceilometer-dsvm-tempest-plugin-{backend}{special}{network}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_REGEX="^ceilometer\."
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_CEILOMETER_BACKEND={backend}
export DEVSTACK_LOCAL_CONFIG="enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
if [ "{backend}" = "postgresql" ] ; then
export DEVSTACK_GATE_POSTGRES=1
fi
if [ "{special}" == "-identity-v3-only" ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"ENABLE_IDENTITY_V2=False"
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-ceilometer-dsvm-functional-{backend}{special}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_CEILOMETER_BACKEND={backend}
export DEVSTACK_LOCAL_CONFIG="enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
if [ "{backend}" = "postgresql" ] ; then
export DEVSTACK_GATE_POSTGRES=1
fi
if [ "{special}" == "-identity-v3-only" ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"ENABLE_IDENTITY_V2=False"
fi
function post_test_hook {{
# Configure and run functional tests
$BASE/new/ceilometer/ceilometer/tests/functional/hooks/post_test_hook.sh "{backend}"
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-ceilometerclient-dsvm-functional{special}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export BRANCH_OVERRIDE={branch-override}
export DEVSTACK_PROJECT_FROM_GIT=python-ceilometerclient
export DEVSTACK_LOCAL_CONFIG="enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer"
export PROJECTS="openstack/aodh $PROJECTS"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin aodh git://git.openstack.org/openstack/aodh"
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
if [ "{special}" == "-identity-v3-only" ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"ENABLE_IDENTITY_V2=False"
fi
function post_test_hook {{
# Configure and run functional tests
$BASE/new/python-ceilometerclient/ceilometerclient/tests/functional/hooks/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: 'gate-telemetry-dsvm-integration-{name}-{node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_HEAT=1
export DEVSTACK_GATE_NEUTRON=1
if [ "$ZUUL_BRANCH" == "stable/newton" ] ; then
export DEVSTACK_GATE_TEMPEST=0
else
export DEVSTACK_GATE_TEMPEST=1
fi
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export PROJECTS="openstack/ceilometer openstack/aodh"
# NOTE(sileht): This job runs on Aodh and Ceilometer.
# Gnocchi uses an independent release cycle. So we map here
# which Gnocchi version can be used with other OpenStack
# components and the reverse.
case "$ZUUL_BRANCH" in
"stable/newton")
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin gnocchi git://git.openstack.org/openstack/gnocchi"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin panko git://git.openstack.org/openstack/panko"
export OVERRIDE_GNOCCHI_PROJECT_BRANCH="stable/3.0"
export PROJECTS="openstack/panko $PROJECTS openstack/gnocchi"
;;
"stable/ocata")
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin gnocchi git://git.openstack.org/openstack/gnocchi"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin panko git://git.openstack.org/openstack/panko"
export OVERRIDE_GNOCCHI_PROJECT_BRANCH="stable/3.1"
export PROJECTS="openstack/panko $PROJECTS openstack/gnocchi"
;;
*)
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin panko git://git.openstack.org/openstack/panko"
export PROJECTS="openstack/panko $PROJECTS"
;;
esac
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin aodh git://git.openstack.org/openstack/aodh"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin heat git://git.openstack.org/openstack/heat"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"CEILOMETER_BACKEND=gnocchi"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"GNOCCHI_ARCHIVE_POLICY=high"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"CEILOMETER_PIPELINE_INTERVAL=15"
export DEVSTACK_PROJECT_FROM_GIT={name}
function post_test_hook {{
cd /opt/stack/new/ceilometer/ceilometer/tests/integration/hooks/
./post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: 'gate-oslo.messaging-telemetry-dsvm-integration-{plugin}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_HEAT=1
export DEVSTACK_GATE_NEUTRON=1
if [ "$ZUUL_BRANCH" == "stable/newton" ] ; then
export DEVSTACK_GATE_TEMPEST=0
else
export DEVSTACK_GATE_TEMPEST=1
fi
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export PROJECTS="openstack/ceilometer $PROJECTS"
export PROJECTS="openstack/aodh $PROJECTS"
export PROJECTS="openstack/devstack-plugin-{plugin} $PROJECTS"
case "$ZUUL_BRANCH" in
"stable/newton")
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin gnocchi git://git.openstack.org/openstack/gnocchi"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin panko git://git.openstack.org/openstack/panko"
export OVERRIDE_GNOCCHI_PROJECT_BRANCH="stable/3.0"
export PROJECTS="openstack/panko $PROJECTS openstack/gnocchi"
;;
"stable/ocata")
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin gnocchi git://git.openstack.org/openstack/gnocchi"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin panko git://git.openstack.org/openstack/panko"
export OVERRIDE_GNOCCHI_PROJECT_BRANCH="stable/3.1"
export PROJECTS="openstack/panko $PROJECTS openstack/gnocchi"
;;
*)
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin panko git://git.openstack.org/openstack/panko"
export PROJECTS="openstack/panko $PROJECTS"
;;
esac
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin aodh git://git.openstack.org/openstack/aodh"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin heat git://git.openstack.org/openstack/heat"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"CEILOMETER_BACKEND=gnocchi"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"GNOCCHI_ARCHIVE_POLICY=high"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"CEILOMETER_PIPELINE_INTERVAL=5"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"GNOCCHI_STORAGE_BACKEND=file"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin devstack-plugin-{plugin} git://git.openstack.org/openstack/devstack-plugin-{plugin}"
export DEVSTACK_PROJECT_FROM_GIT="oslo.messaging"
if [ "{plugin}" == "amqp1" ]; then
# Use the 'hybrid' message bus configuration:
# RabbitMQ for Notifications, qdrouterd for RPC
export DEVSTACK_LOCAL_CONFIG+=$'\n'"AMQP1_SERVICE=qpid-hybrid"
fi
function post_test_hook {{
cd /opt/stack/new/ceilometer/ceilometer/tests/integration/hooks/
./post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,36 +0,0 @@
- job-template:
name: '{pipeline}-tempest-dsvm-cells-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_CELLS=1
# NOTE(mriedem): Explicitly tell devstack-gate that we need to run
# the cells v1 job with nova-network.
export DEVSTACK_GATE_NEUTRON=0
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/nova/devstack/tempest-dsvm-cells-rc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,23 +0,0 @@
- job-group:
name: charm-layer-jobs
node: ubuntu-xenial
jobs:
- 'gate-{name}-pep8-{node}'
- 'gate-{name}-tox-{envlist}-{node}':
envlist: build
- job-group:
name: python-charm-jobs
node: ubuntu-xenial
jobs:
- 'gate-{name}-pep8-{node}'
- 'gate-{name}-python27-{node}'
- 'gate-{name}-python35'
- 'gate-{name}-python35-nv'
- '{name}-branch-tarball'
- job-group:
name: python-charm-interface-jobs
node: ubuntu-xenial
jobs:
- 'gate-{name}-pep8-{node}'

View File

@ -1,79 +0,0 @@
# this job template requires a bootstrap.sh script (which installs chefdk and other dependencies)
# and a Rakefile with the tests that should be executed in the cookbook
- job-template:
name: 'gate-{name}-chef-rake'
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- print-template-name:
template-name: '{template-name}'
- zuul-git-prep
- install-distro-packages
- chef-bootstrap
- revoke-sudo
- chef-rake-test
publishers:
- console-log
# this job template requires a bootstrap.sh script (which installs chefdk and other dependencies)
# and a Rakefile with the integration tests that should be executed
# sudo privileges for jenkins are not revoked, since they are needed during the chef run executed for integration testing
- job-template:
name: gate-{name}-chef-rake-integration-{node}-nv
node: '{node}'
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- print-template-name:
template-name: '{template-name}'
- zuul-git-prep
- install-distro-packages
- chef-bootstrap
- chef-rake-integration
publishers:
- devstack-logs
- console-log
- job-template:
name: gate-{name}-chef-rake-integration-multinode-{node-release}-nv
node: '{node}'
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- print-template-name:
template-name: '{template-name}'
- zuul-git-prep
- install-distro-packages
- chef-bootstrap-multinode
- chef-rake-integration
publishers:
- devstack-logs
- console-log
- job-group:
name: chef-rake-jobs
jobs:
- gate-{name}-chef-rake
- gate-{name}-chef-rake-integration-{node}-nv:
node:
- centos-7
- ubuntu-xenial
- 'gate-{name}-chef-rake-integration-multinode-{node-release}-nv':
node-release: ubuntu-xenial
node: ubuntu-xenial-2-node

View File

@ -1,74 +0,0 @@
- job-template:
name: '{pipeline}-cinderclient-dsvm-functional{special}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export BRANCH_OVERRIDE={branch-override}
export DEVSTACK_PROJECT_FROM_GIT=python-cinderclient
export DEVSTACK_LOCAL_CONFIG="VOLUME_BACKING_FILE_SIZE=16G"
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
if [ "{special}" == "-identity-v3-only" ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"ENABLE_IDENTITY_V2=False"
fi
function post_test_hook {{
# Configure and run functional tests
$BASE/new/python-cinderclient/cinderclient/tests/functional/hooks/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-brick-cinderclient-ext-dsvm-functional-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 65
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export BRANCH_OVERRIDE={branch-override}
export DEVSTACK_PROJECT_FROM_GIT=python-brick-cinderclient-ext
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function post_test_hook {{
# Configure and run functional tests
$BASE/new/python-brick-cinderclient-ext/brick_cinderclient_ext/tests/functional/hooks/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,34 +0,0 @@
- job-template:
name: '{pipeline}-cloudkitty-dsvm-install-{node}{suffix}'
node: '{node}'
wrappers:
- timeout:
timeout: 120
- timestamps
builders:
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer
enable_plugin cloudkitty git://git.openstack.org/openstack/cloudkitty master
- shell: |
#!/bin/bash -xe
export PROJECTS="openstack/cloudkitty $PROJECTS"
export PROJECTS="openstack/python-cloudkittyclient $PROJECTS"
export PROJECTS="openstack/cloudkitty-dashboard $PROJECTS"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,57 +0,0 @@
- job-template:
name: '{pipeline}-dsvm-collectd-ceilometer-plugin-{install_type}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
publishers:
- devstack-logs
- console-log
builders:
- print-template-name:
template-name: '{template-name}'
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin aodh git://git.openstack.org/openstack/aodh
enable_plugin gnocchi http://github.com/gnocchixyz/gnocchi.git
enable_plugin collectd-ceilometer-plugin git://git.openstack.org/openstack/collectd-ceilometer-plugin
- shell: |
#!/bin/bash -xe
export BRANCH_OVERRIDE={branch-override}
export PYTHONUNBUFFERED=true
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# We need to add those projects into repository, they are not available by default
# and we are using all of them in our plugin
export PROJECTS="openstack/aodh $PROJECTS"
export PROJECTS="openstack/collectd-ceilometer-plugin $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
if [ -f $BASE/new/collectd-ceilometer-plugin/devstack/gate/pre_test_hook_{install_type}.sh ] ; then
. $BASE/new/collectd-ceilometer-plugin/devstack/gate/pre_test_hook_{install_type}.sh
fi
}}
export -f pre_test_hook
function post_test_hook {{
if [ -f $BASE/new/collectd-ceilometer-plugin/devstack/gate/post_test_hook_{install_type}.sh ] ; then
. $BASE/new/collectd-ceilometer-plugin/devstack/gate/post_test_hook_{install_type}.sh
fi
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/collectd-ceilometer-plugin/devstack/gate/devstackgaterc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh

View File

@ -1,199 +0,0 @@
- job-template:
name: '{pipeline}-congress-dsvm-api-{backend}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 100
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer
enable_plugin heat git://git.openstack.org/openstack/heat
enable_plugin congress git://git.openstack.org/openstack/congress
enable_plugin murano git://git.openstack.org/openstack/murano
enable_plugin aodh git://git.openstack.org/openstack/aodh
enable_plugin designate git://git.openstack.org/openstack/designate
enable_plugin neutron https://git.openstack.org/openstack/neutron
# To deploy congress as multi-process (api, pe, datasources)
CONGRESS_MULTIPROCESS_DEPLOYMENT=True
CONGRESS_EXPOSE_ENCRYPTION_KEY_FOR_TEST=True
- shell: |
#!/bin/bash -xe
ENABLED_SERVICES=s-proxy,s-object,s-container,s-account,
ENABLED_SERVICES+=h-eng,h-api,h-api-cfn,h-api-cw,
ENABLED_SERVICES+=q-qos
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_TEMPEST_REGEX="congress_tempest_tests"
export DEVSTACK_GATE_NEUTRON=1
export PROJECTS="openstack/congress $PROJECTS"
export PROJECTS="openstack/congress-dashboard $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT=python-congressclient
export PROJECTS="openstack/murano $PROJECTS"
export PROJECTS="openstack/aodh $PROJECTS"
export PROJECTS="openstack/murano-dashboard $PROJECTS"
export PROJECTS="openstack/python-muranoclient $PROJECTS"
export PROJECTS="openstack/python-aodhclient $PROJECTS"
export PROJECTS="openstack/designate $PROJECTS"
export PROJECTS="openstack/designate-tempest-plugin $PROJECTS"
export ENABLED_SERVICES
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
if [ "{backend}" = "postgresql" ] ; then
export DEVSTACK_GATE_POSTGRES=1
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-congress-dsvm-py35-api-{backend}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 100
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
# swift is not ready for python3 yet
disable_service s-account
disable_service s-container
disable_service s-object
disable_service s-proxy
# without Swift, c-bak cannot run (in the Gate at least)
disable_service c-bak
# disable all plug-ins for now except congress
# enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer
# enable_plugin heat git://git.openstack.org/openstack/heat
enable_plugin congress git://git.openstack.org/openstack/congress
# enable_plugin murano git://git.openstack.org/openstack/murano
# enable_plugin aodh git://git.openstack.org/openstack/aodh
# enable_plugin designate git://git.openstack.org/openstack/designate
# To deploy congress as multi-process (api, pe, datasources)
CONGRESS_MULTIPROCESS_DEPLOYMENT=True
CONGRESS_EXPOSE_ENCRYPTION_KEY_FOR_TEST=True
- shell: |
#!/bin/bash -xe
export DEVSTACK_GATE_USE_PYTHON3=True
# swift is not ready for python3 yet
# ENABLED_SERVICES=s-proxy,s-object,s-container,s-account,
# ENABLED_SERVICES+=h-eng,h-api,h-api-cfn,h-api-cw
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_TEMPEST_REGEX="congress_tempest_tests"
export DEVSTACK_GATE_NEUTRON=1
export PROJECTS="openstack/congress $PROJECTS"
export PROJECTS="openstack/congress-dashboard $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT=python-congressclient
export PROJECTS="openstack/murano $PROJECTS"
export PROJECTS="openstack/aodh $PROJECTS"
export PROJECTS="openstack/murano-dashboard $PROJECTS"
export PROJECTS="openstack/python-muranoclient $PROJECTS"
export PROJECTS="openstack/python-aodhclient $PROJECTS"
export PROJECTS="openstack/designate $PROJECTS"
export PROJECTS="openstack/designate-tempest-plugin $PROJECTS"
export ENABLED_SERVICES
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
if [ "{backend}" = "postgresql" ] ; then
export DEVSTACK_GATE_POSTGRES=1
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-congress-pe-replicated-{backend}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 100
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer
enable_plugin heat git://git.openstack.org/openstack/heat
enable_plugin congress git://git.openstack.org/openstack/congress
enable_plugin aodh git://git.openstack.org/openstack/aodh
enable_plugin designate git://git.openstack.org/openstack/designate
enable_plugin neutron https://git.openstack.org/openstack/neutron
CONGRESS_REPLICATED=True
CONGRESS_MULTIPROCESS_DEPLOYMENT=True
CONGRESS_EXPOSE_ENCRYPTION_KEY_FOR_TEST=True
- shell: |
#!/bin/bash -xe
ENABLED_SERVICES=s-proxy,s-object,s-container,s-account,
ENABLED_SERVICES+=h-eng,h-api,h-api-cfn,h-api-cw,
ENABLED_SERVICES+=q-qos
export ENABLED_SERVICES
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_TEMPEST_REGEX="congress_tempest_tests"
export DEVSTACK_GATE_NEUTRON=1
export PROJECTS="openstack/congress $PROJECTS"
export PROJECTS="openstack/congress-dashboard $PROJECTS"
export PROJECTS="openstack/python-aodhclient $PROJECTS"
export PROJECTS="openstack/aodh $PROJECTS"
export PROJECTS="openstack/designate $PROJECTS"
export PROJECTS="openstack/designate-tempest-plugin $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT=python-congressclient
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
if [ "{backend}" = "postgresql" ] ; then
export DEVSTACK_GATE_POSTGRES=1
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,49 +0,0 @@
- job-template:
name: 'gate-cue-integration-dsvm-{broker}-{node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 110
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin cue git://git.openstack.org/openstack/cue
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export PROJECTS="openstack/cue openstack/python-cueclient openstack/cue-dashboard $PROJECTS"
function gate_hook {{
cd /opt/stack/new/cue/tests
./gate_hook.sh {broker}
}}
export -f gate_hook
function pre_test_hook {{
cd /opt/stack/new/cue/tests
./pre_test_hook.sh {broker}
}}
export -f pre_test_hook
function post_test_hook {{
cd /opt/stack/new/cue/tests
./post_test_hook.sh {broker}
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,32 +0,0 @@
- job-template:
name: '{pipeline}-cyborg-devstack-nv'
node: 'ubuntu-xenial'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin cyborg git://git.openstack.org/openstack/cyborg
- shell: |
#!/bin/bash -xe
export PROJECTS="openstack/cyborg $PROJECTS"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,28 +0,0 @@
- defaults:
name: global
description: |
<p><b>This job is managed by puppet and will be overwritten.</b></p>
<p><b>Do not edit this job through the web</b></p>
<p>If you would like to make changes to this job, please see:
<a href="https://git.openstack.org/cgit/openstack-infra/project-config">
https://git.openstack.org/cgit/openstack-infra/project-config
</a>
In jenkins/jobs
</p>
project-type: freestyle
concurrent: true
wrappers:
- build-timeout:
timeout: 30
- timestamps
logrotate:
daysToKeep: 1
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1

View File

@ -1,221 +0,0 @@
# Job for Designate+Tempest
- job-template:
name: 'gate-tempest-dsvm-designate-{designate-driver}{special}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- print-node-uuid
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
services=rabbit,tempest,mysql,dstat,key
services+=,n-api,n-api-meta,n-cpu,n-cond,n-sch,n-crt
# placement service mandatory for nova from ocata
if [[ "stable/newton" != $ZUUL_BRANCH ]]; then
services+=,placement-api
fi
services+=,g-api,g-reg
services+=,c-sch,c-api,c-vol,c-bak
services+=,q-svc,q-dhcp,q-meta,q-agt,q-l3
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_TEMPEST_REGEX=designate
export DEVSTACK_LOCAL_CONFIG="enable_plugin designate git://git.openstack.org/openstack/designate"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"DESIGNATE_SERVICE_PORT_DNS=5322"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"DESIGNATE_BACKEND_DRIVER={designate-driver}"
export PROJECTS="openstack/designate $PROJECTS"
export PROJECTS="openstack/python-designateclient $PROJECTS"
export PROJECTS="openstack/designate-dashboard $PROJECTS"
export PROJECTS="openstack/designate-tempest-plugin $PROJECTS"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
if [ "{special}" == "-identity-v3-only" ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"ENABLE_IDENTITY_V2=False"
fi
if [ "{special}" == "-worker-model" ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_service designate-worker designate-producer"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service designate-pool-manager designate-zone-manager"
fi
export OVERRIDE_ENABLED_SERVICES=$services
if [ "{special}" == "-postgres" ] ; then
export DEVSTACK_GATE_POSTGRES=1
fi
if [ "{special}" == "-py35" ] ; then
export DEVSTACK_GATE_USE_PYTHON3=True
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
# Job for Designate+Tempest with an Agent based Backend
- job-template:
name: 'gate-tempest-dsvm-designate-agent-{designate-driver}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- print-node-uuid
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin designate git://git.openstack.org/openstack/designate
DESIGNATE_SERVICE_PORT_DNS=5322
DESIGNATE_BACKEND_DRIVER=agent
DESIGNATE_AGENT_BACKEND_DRIVER={designate-driver}
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_TEMPEST_REGEX=designate
export PROJECTS="openstack/designate $PROJECTS"
export PROJECTS="openstack/python-designateclient $PROJECTS"
export PROJECTS="openstack/designate-dashboard $PROJECTS"
export PROJECTS="openstack/designate-tempest-plugin $PROJECTS"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'gate-grenade-dsvm-designate-{designate-driver}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 180
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
DESIGNATE_SERVICE_PORT_DNS=5322
DESIGNATE_BACKEND_DRIVER={designate-driver}
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_GRENADE=pullup
export DEVSTACK_GATE_TEMPEST_REGEX=designate
export DEVSTACK_GATE_HORIZON=1
export PROJECTS="openstack/designate $PROJECTS"
export PROJECTS="openstack/python-designateclient $PROJECTS"
export PROJECTS="openstack/designate-dashboard $PROJECTS"
export PROJECTS="openstack/designate-tempest-plugin $PROJECTS"
export PROJECTS="openstack-dev/grenade $PROJECTS"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export GRENADE_PLUGINRC="enable_grenade_plugin designate https://git.openstack.org/openstack/designate"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'gate-designate-dsvm-{designate-driver}-{node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin designate git://git.openstack.org/openstack/designate
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export DEVSTACK_GATE_DESIGNATE_DRIVER="{designate-driver}"
export PROJECTS="openstack/designate $PROJECTS"
export PROJECTS="openstack/python-designateclient $PROJECTS"
export PROJECTS="openstack/designate-dashboard $PROJECTS"
export PROJECTS="openstack/designate-tempest-plugin $PROJECTS"
function gate_hook {{
cd /opt/stack/new/designate/devstack/gate
./gate_hook.sh
}}
export -f gate_hook
function post_test_hook {{
cd /opt/stack/new/designate/devstack/gate
./post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

File diff suppressed because it is too large Load Diff

View File

@ -1,50 +0,0 @@
- job-template:
name: '{pipeline}-devstack-plugin-container-dsvm{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin devstack-plugin-container git://git.openstack.org/openstack/devstack-plugin-container
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/devstack-plugin-container $PROJECTS"
# Keep localrc to be able to set some vars in post_test_hook
export KEEP_LOCALRC=1
function gate_hook {{
bash -xe $BASE/new/devstack-plugin-container/contrib/gate_hook.sh
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/devstack-plugin-container/contrib/post_test_hook.sh fullstack
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,43 +0,0 @@
# Devstack unit tests are run via a set of shell scripts with the
# run_tests.sh entry point
- job:
name: gate-devstack-unit-tests
node: ubuntu-xenial
builders:
- zuul-git-prep
- install-distro-packages
- shell: |
#!/bin/bash -xe
# This installs packages from "general" that might be
# required for unit tests
# Note that we have toset the safe IP addr range to avoid
# conflicts with cloud networks that result in job failures.
echo "IPV4_ADDRS_SAFE_TO_USE=10.1.0.0/20" >> localrc
./tools/install_prereqs.sh
- revoke-sudo
- shell: |
#!/bin/bash -xe
./run_tests.sh
publishers:
- console-log
- job:
name: propose-devstack-plugins-list
node: proposal
builders:
- proposal-slave-cleanup
- revoke-sudo
- link-logs
- zuul-git-branch-prep:
branch: master
- net-info
- shell: |
export ZUUL_REFNAME=master
/usr/local/jenkins/slave_scripts/propose_update.sh \
devstack-plugins-list
publishers:
- console-log

View File

@ -1,63 +0,0 @@
- job-template:
name: 'gate-dib-dsvm-functests-{python}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- shell: |
#!/bin/bash -eux
cd ~
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org \
openstack/diskimage-builder \
openstack/requirements
- shell: |
#!/bin/bash -xe
cd ~/openstack/diskimage-builder
/usr/local/jenkins/slave_scripts/install-distro-packages.sh
- shell: |
#!/bin/bash -eux
#
# We do things that might exceed the default 2GiB tmpfs, and
# use the larger mounted space.
cd ~
sudo mkdir /opt/dib_cache
sudo chown jenkins:jenkins /opt/dib_cache
export DIB_NO_TMPFS=1
export TMPDIR=/opt/dib_cache
virtualenv -p {python} env
export UPPER_CONSTRAINTS_FILE=$(pwd)/openstack/requirements/upper-constraints.txt
sed -i '/^diskimage-builder/d' $UPPER_CONSTRAINTS_FILE
./env/bin/pip install $(pwd)/openstack/diskimage-builder -c $UPPER_CONSTRAINTS_FILE
# TODO(pabelanger): Remove once we migrated to bindep
./openstack/diskimage-builder/tests/install_test_deps.sh
# This sets up some repo files pointing to the infra mirrors
# which are used during test runs
./openstack/diskimage-builder/contrib/setup-gate-mirrors.sh
# UPPER_CONSTRAINTS_FILE is causing side effects when doing image
# build, unset it
unset UPPER_CONSTRAINTS_FILE
# activate the virtualenv so that any tools run by dib run
# using the python inside it
set +u
source ./env/bin/activate
set -u
./openstack/diskimage-builder/tests/run_functests.sh {tests}
set +u
deactivate
set -u
publishers:
- devstack-logs
- console-log

View File

@ -1,21 +0,0 @@
- job:
name: 'gate-dox-buildimages-nv'
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 90
- timestamps
builders:
- zuul-git-prep
- install-distro-packages
- extra-test-setup
- revoke-sudo
- shell: |
#!/bin/bash -ex
./tools/tarball.sh
publishers:
- test-results
- console-log

View File

@ -1,223 +0,0 @@
- job-template:
name: '{pipeline}-tempest-dsvm-dragonflow-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin dragonflow git://git.openstack.org/openstack/dragonflow
Q_ENABLE_DRAGONFLOW_LOCAL_CONTROLLER=True
# Add bgp project to tempest gate job.
enable_plugin neutron-dynamic-routing git://git.openstack.org/openstack/neutron-dynamic-routing
DR_MODE=df-bgp
# Add networking-sfc
enable_plugin networking-sfc git://git.openstack.org/openstack/networking-sfc
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/dragonflow $PROJECTS"
export PROJECTS="openstack/neutron-dynamic-routing $PROJECTS"
export PROJECTS="openstack/networking-sfc $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/dragonflow/devstack/devstackgaterc
function gate_hook {{
bash -xe $BASE/new/dragonflow/dragonflow/tests/contrib/gate_hook.sh tempest
}}
export -f gate_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-dragonflow-dsvm-rally-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin dragonflow git://git.openstack.org/openstack/dragonflow
Q_ENABLE_DRAGONFLOW_LOCAL_CONTROLLER=True
enable_plugin rally git://git.openstack.org/openstack/rally
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export RALLY_SCENARIO=dragonflow
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/dragonflow $PROJECTS"
export PROJECTS="openstack/rally $PROJECTS"
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/dragonflow/devstack/devstackgaterc
function post_test_hook {{
$BASE/new/rally/tests/ci/rally-gate.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- rally-plot
- console-log
- job-template:
name: '{pipeline}-dragonflow-dsvm-fullstack-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 165
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin dragonflow git://git.openstack.org/openstack/dragonflow
Q_ENABLE_DRAGONFLOW_LOCAL_CONTROLLER=True
# Add bgp project to fullstack gate job.
enable_plugin neutron-dynamic-routing git://git.openstack.org/openstack/neutron-dynamic-routing
DR_MODE=df-bgp
# Add networking-sfc
enable_plugin networking-sfc git://git.openstack.org/openstack/networking-sfc
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/dragonflow $PROJECTS"
export PROJECTS="openstack/neutron-dynamic-routing $PROJECTS"
export PROJECTS="openstack/networking-sfc $PROJECTS"
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/dragonflow/devstack/devstackgaterc
function gate_hook {{
bash -xe $BASE/new/dragonflow/dragonflow/tests/contrib/gate_hook.sh fullstack
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/dragonflow/dragonflow/tests/contrib/post_test_hook.sh fullstack
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-dragonflow-dsvm-fullstack-zmq-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 165
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin dragonflow git://git.openstack.org/openstack/dragonflow
enable_plugin neutron-dynamic-routing git://git.openstack.org/openstack/neutron-dynamic-routing
enable_plugin networking-sfc git://git.openstack.org/openstack/networking-sfc
DR_MODE=df-bgp
Q_ENABLE_DRAGONFLOW_LOCAL_CONTROLLER=True
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/dragonflow $PROJECTS"
export PROJECTS="openstack/neutron-dynamic-routing $PROJECTS"
export PROJECTS="openstack/networking-sfc $PROJECTS"
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/dragonflow/devstack/devstackgaterc-zmq
function gate_hook {{
bash -xe $BASE/new/dragonflow/dragonflow/tests/contrib/gate_hook.sh fullstack
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/dragonflow/dragonflow/tests/contrib/post_test_hook.sh fullstack
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,129 +0,0 @@
- job-template:
name: '{pipeline}-functional-{network}-dsvm-ec2api-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin ec2-api git://git.openstack.org/openstack/ec2-api
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export TEMPEST_CONCURRENCY=2
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/ec2-api $PROJECTS"
if [ "{network}" = "neutron" ] ; then
export DEVSTACK_GATE_NEUTRON=1
else
export DEVSTACK_GATE_NEUTRON=0
fi
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_TEMPEST_REGEX="ec2api.tests.functional"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'ec2-api-functional-neutron-dsvm-full-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 190
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin ec2-api git://git.openstack.org/openstack/ec2-api
RUN_LONG_TESTS=1
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export PROJECTS="openstack/ec2-api $PROJECTS"
export PROJECTS="openstack/swift3 $PROJECTS"
export ENABLED_SERVICES+=,swift3
function post_test_hook {{
source $BASE/new/devstack/accrc/admin/admin
cd /opt/stack/new/ec2-api/
./ec2api/tests/contrib/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'ec2-api-rally-dsvm-fakevirt-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin ec2-api git://git.openstack.org/openstack/ec2-api
enable_plugin rally git://git.openstack.org/openstack/rally
- shell: |
#!/bin/bash -xe
export PROJECTS="openstack/ec2-api $PROJECTS"
export PROJECTS="openstack/rally $PROJECTS"
export DEVSTACK_GATE_VIRT_DRIVER=fake
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export RALLY_SCENARIO=ec2-api-fakevirt
export CEILOMETER_NOTIFICATION_TOPICS=notifications,profiler
function post_test_hook {{
# run needed preparation steps for third-party project
if [ -f $BASE/new/ec2-api/rally-scenarios/post_test_hook.sh ] ; then
$BASE/new/ec2-api/rally-scenarios/post_test_hook.sh
fi
$BASE/new/rally/tests/ci/rally-gate.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- rally-plot
- console-log

View File

@ -1,17 +0,0 @@
- job:
name: elastic-recheck-docs
node: ubuntu-xenial
builders:
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- docs
publishers:
- afs:
site: afs-docs
source: 'doc/build/html/**'
target: 'infra/elastic-recheck/'
remove-prefix: 'doc/build/html'
- console-log

View File

@ -1,58 +0,0 @@
- job-template:
name: 'gate-osbackup-{name}-dsvm-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
# enable freezer-agent and freezer-scheduler
enable_plugin freezer git://git.openstack.org/openstack/freezer
# enable freezer-api and python-freezerclient
enable_plugin freezer-api https://git.openstack.org/openstack/freezer-api
# enable freezer-web-ui and python-freezerclient
enable_plugin freezer-web-ui https://git.openstack.org/openstack/freezer-web-ui
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
# checkout freezer components
export PROJECTS="openstack/freezer-api $PROJECTS"
export PROJECTS="openstack/freezer-web-ui $PROJECTS"
export PROJECTS="openstack/freezer $PROJECTS"
export PROJECTS="openstack/python-freezerclient $PROJECTS"
export DEVSTACK_GATE_HORIZON=1
# tempest config
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
TEMPEST_REGEX="{name}_tempest_plugin"
export DEVSTACK_GATE_TEMPEST_REGEX=${{TEMPEST_REGEX/\-/\_ }}
# which repo is being tested
export DEVSTACK_PROJECT_FROM_GIT={name}
# This ensures that if we set override branch to something
# else, we still take repo being tested from the zuul branch
# name. So override branch can be 'stable/mitaka' but we can
# test master changes.
uc_project=`echo $DEVSTACK_PROJECT_FROM_GIT | tr [:lower:] [:upper:] | tr '-' '_' | sed 's/[^A-Z_]//'`
export "OVERRIDE_"$uc_project"_PROJECT_BRANCH"=$ZUUL_BRANCH
function gate_hook {{
source $BASE/new/{name}/devstack/gate_hook.sh
}}
export -f gate_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,27 +0,0 @@
- builder:
name: clone-fuel-ccp
builders:
- shell: |
#!/bin/bash -xe
cd "$WORKSPACE"
cat > clonemap.yaml << EOF
clonemap:
- name: openstack/fuel-ccp
dest: fuel-ccp
EOF
/usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \
git://git.openstack.org \
openstack/fuel-ccp
- job:
name: gate-fuel-ccp-validate
node: ubuntu-xenial
builders:
- revoke-sudo
- clone-fuel-ccp
- shell: |
#!/bin/bash -xe
cd "$WORKSPACE/fuel-ccp/tools/gate"
./run.sh
publishers:
- console-log

View File

@ -1,111 +0,0 @@
- job-template:
name: '{pipeline}-fuxi-dsvm-fullstack{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin fuxi git://git.openstack.org/openstack/fuxi
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/fuxi $PROJECTS"
export PROJECTS="openstack/devstack-plugin-container $PROJECTS"
# Keep localrc to be able to set some vars in post_test_hook
export KEEP_LOCALRC=1
function gate_hook {{
bash -xe $BASE/new/fuxi/fuxi/tests/contrib/gate_hook.sh fullstack
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/fuxi/fuxi/tests/contrib/post_test_hook.sh fullstack
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-fuxi-dsvm-py35-fullstack{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin fuxi git://git.openstack.org/openstack/fuxi
# swift is not ready for python3 yet
disable_service s-account
disable_service s-container
disable_service s-object
disable_service s-proxy
- shell: |
#!/bin/bash -xe
export DEVSTACK_GATE_USE_PYTHON3=True
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/fuxi $PROJECTS"
export PROJECTS="openstack/devstack-plugin-container $PROJECTS"
# Keep localrc to be able to set some vars in post_test_hook
export KEEP_LOCALRC=1
function gate_hook {{
bash -xe $BASE/new/fuxi/fuxi/tests/contrib/gate_hook.sh fullstack
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/fuxi/fuxi/tests/contrib/post_test_hook.sh fullstack
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,47 +0,0 @@
- job-template:
name: '{pipeline}-functional-{network}-dsvm-gceapi-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin gce-api git://git.openstack.org/openstack/gce-api
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/gce-api $PROJECTS"
if [ "{network}" = "neutron" ] ; then
export DEVSTACK_GATE_NEUTRON=1
else
export DEVSTACK_GATE_NEUTRON=0
fi
function post_test_hook {{
source $BASE/new/devstack/accrc/admin/admin
cd /opt/stack/new/gce-api/
./gceapi/tests/contrib/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,141 +0,0 @@
- builder:
name: gerrit-buck-checkout
builders:
- shell: |
#!/bin/bash -xe
CLONEMAP=`mktemp`
function cleanup {
rm -f $CLONEMAP
}
trap cleanup EXIT
cat > $CLONEMAP << EOF
clonemap:
- name: openstack-infra/gerrit
dest: gerrit
EOF
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP \
--cache-dir /opt/git \
git://git.openstack.org openstack-infra/gerrit
cd gerrit
# This is necessary to build the core plugins
git submodule init
git submodule update
# Slightly hacky, but this is a workaround for removal of ant and asciidoc
# from the bindep fallback list while avoiding gratuitously adding a
# bindep.txt file to our fork of the Gerrit repo.
- builder:
name: extra-gerrit-build-deps
builders:
- shell: |
#!/bin/bash -xe
sudo bash -c "echo 'ant' >> /usr/local/jenkins/common_data/bindep-fallback.txt"
sudo bash -c "echo 'ant-optional' >> /usr/local/jenkins/common_data/bindep-fallback.txt"
sudo bash -c "echo 'default-jdk' >> /usr/local/jenkins/common_data/bindep-fallback.txt"
sudo bash -c "echo 'asciidoc' >> /usr/local/jenkins/common_data/bindep-fallback.txt"
sudo bash -c "echo 'nodejs' >> /usr/local/jenkins/common_data/bindep-fallback.txt"
- job:
name: gate-gerrit-buck
node: ubuntu-trusty
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- extra-gerrit-build-deps
- install-distro-packages
- revoke-sudo
- install-buck
- gerrit-buck-checkout
- shell: |
#!/bin/bash -xe
export PATH=`pwd`/buck/bin:$PATH
cd gerrit
/usr/local/jenkins/slave_scripts/version-properties.sh
source version.properties
buck clean
buck test --all --exclude slow
buck build release
cp buck-out/gen/release/release.war buck-out/gen/gerrit-$PROJECT_VER.war
publishers:
- war:
warfile: 'gerrit/buck-out/gen/gerrit-*.war'
target: 'tarballs/ci/test'
- console-log
- job:
name: gerrit-package-buck
node: ubuntu-trusty
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- extra-gerrit-build-deps
- install-distro-packages
- revoke-sudo
- install-buck
- gerrit-buck-checkout
- shell: |
#!/bin/bash -xe
export PATH=`pwd`/buck/bin:$PATH
cd gerrit
/usr/local/jenkins/slave_scripts/version-properties.sh
source version.properties
buck clean
buck build release
cp buck-out/gen/release/release.war buck-out/gen/gerrit-$PROJECT_VER.war
publishers:
- war:
warfile: 'gerrit/buck-out/gen/gerrit-*.war'
target: 'tarballs/ci/gerrit'
- console-log
- job-template:
name: '{plugin-name}-gerrit-plugin-{plugin-branch}'
node: ubuntu-trusty
wrappers:
- build-timeout:
timeout: 30
- timestamps
builders:
- extra-gerrit-build-deps
- install-distro-packages
- revoke-sudo
- install-buck
- shell: |
#!/bin/bash -xe
export PATH=`pwd`/buck/bin:$PATH
rm -rf gerrit
git clone -b {gerrit-branch} {gerrit-project}
PLUGIN_PARENT_PROJECT={plugin-parent-project}
if [ -n "$PLUGIN_PARENT_PROJECT" ]; then
git clone -b {plugin-parent-branch} {plugin-parent-project} gerrit/plugins/{plugin-parent-name}
fi
git clone -b {plugin-branch} {plugin-project} gerrit/plugins/{plugin-name}
cd gerrit/plugins/{plugin-name}
/usr/local/jenkins/slave_scripts/version-properties.sh
source version.properties
cd $WORKSPACE/gerrit
buck clean
if [ -n "$PLUGIN_PARENT_PROJECT" ]; then
buck build plugins/{plugin-parent-name}:{plugin-parent-name}
fi
buck build plugins/{plugin-name}:{plugin-name}
cp ./buck-out/gen/plugins/{plugin-name}/{plugin-name}.jar ./buck-out/gen/plugins/{plugin-name}/{plugin-name}-$PROJECT_VER.jar
publishers:
- war:
warfile: 'gerrit/buck-out/gen/plugins/{plugin-name}/{plugin-name}-*.jar'
target: 'tarballs/ci/gerrit/plugins/{plugin-name}'
- console-log

View File

@ -1,20 +0,0 @@
- job-template:
name: '{pipeline}-gitdm'
node: ubuntu-xenial
builders:
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- link-logs
- net-info
- shell: |
#!/bin/bash -xe
export TEMPDIR=${{TEMPDIR:-$(mktemp -d $(pwd)/dmtmp-XXXXXX)}}
export GITBASE=${{TEMPDIR}}/git
export LP_STATS=n
bash ./do-it.sh
publishers:
- console-log

View File

@ -1,85 +0,0 @@
- job-template:
name: '{pipeline}-glanceclient-dsvm-functional{special}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export BRANCH_OVERRIDE={branch-override}
export DEVSTACK_PROJECT_FROM_GIT=python-glanceclient
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
if [ "{special}" == "-identity-v3-only" ] ; then
export DEVSTACK_LOCAL_CONFIG="ENABLE_IDENTITY_V2=False"
fi
# TODO(rosmaita): remove when glanceclient tests no longer
# use the Images v1 API
export DEVSTACK_LOCAL_CONFIG+=$'\n'"GLANCE_V1_ENABLED=True"
function post_test_hook {{
# Configure and run functional tests
$BASE/new/python-glanceclient/glanceclient/tests/functional/hooks/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-glance_store-dsvm-functional-{driver}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export ENABLED_SERVICES=g-api,n-api
export BRANCH_OVERRIDE={branch-override}
export DEVSTACK_PROJECT_FROM_GIT=glance_store
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
cd $BASE/new/glance_store/glance_store/tests/functional/hooks
./gate_hook.sh {driver}
}}
export -f gate_hook
function post_test_hook {{
cd $BASE/new/glance_store/glance_store/tests/functional/hooks
./post_test_hook.sh {driver}
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,43 +0,0 @@
- job-template:
name: '{pipeline}-glare-dsvm-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin glare git://git.openstack.org/openstack/glare
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export PROJECTS="openstack/python-glareclient $PROJECTS"
export PROJECTS="openstack/glare $PROJECTS"
export ENABLED_SERVICES=tempest
export GLARE_CUSTOM_MODULES=glare.tests.sample_artifact
export GLARE_ENABLED_TYPES=heat_templates,heat_environments,murano_packages,tosca_templates,images,sample_artifact
function pre_test_hook {{
source $BASE/new/glare/glare_tempest_plugin/contrib/pre_test_hook.sh
}}
export -f pre_test_hook
function gate_hook {{
source $BASE/new/glare/glare_tempest_plugin/contrib/gate_hook.sh
}}
export -f gate_hook
function post_test_hook {{
source $BASE/new/glare/glare_tempest_plugin/contrib/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,119 +0,0 @@
- job-template:
name: 'gate-{name}-golang-fmt-{node}'
node: '{node}'
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- zuul-git-prep
- install-distro-packages
- extra-test-setup
- revoke-sudo
- shell: |
#!/bin/bash -xe
make env fmt
publishers:
- console-log
- job-template:
name: 'gate-{name}-golang-unit-{node}'
node: '{node}'
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- zuul-git-prep
- install-distro-packages
- extra-test-setup
- revoke-sudo
- shell: |
#!/bin/bash -xe
make env test
publishers:
- console-log
- job-template:
name: 'gate-{name}-golang-dsvm-{suite}-{node}'
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 180
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin {name} git://git.openstack.org/openstack/{name}
# Run a minimum set of services
disable_service horizon
disable_service s-account
disable_service s-container
disable_service s-object
disable_service s-proxy
disable_service ceilometer-acentral
disable_service ceilometer-acompute
disable_service ceilometer-alarm-evaluator
disable_service ceilometer-alarm-notifier
disable_service ceilometer-anotification
disable_service ceilometer-api
disable_service ceilometer-collector
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
# Disable tempest and exercises
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export DEVSTACK_GATE_EXERCISES=0
export PROJECTS="openstack/{name} $PROJECTS"
# Keep localrc to be able to set some vars in post_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
if [[ -f "$BASE/new/{name}/contrib/pre_test_hook.sh" ]]; then
source $BASE/new/{name}/contrib/pre_test_hook.sh {suite}
fi
}}
export -f pre_test_hook
function gate_hook {{
if [[ -f "$BASE/new/{name}/contrib/gate_hook.sh" ]]; then
source $BASE/new/{name}/contrib/gate_hook.sh {suite}
else
$BASE/new/devstack-gate/devstack-vm-gate.sh
fi
}}
export -f gate_hook
function post_test_hook {{
if [[ -f "$BASE/new/{name}/contrib/post_test_hook.sh" ]]; then
source $BASE/new/{name}/contrib/post_test_hook.sh {suite}
fi
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-group:
name: golang-jobs
node: ubuntu-xenial
jobs:
- 'gate-{name}-golang-fmt-{node}'
- 'gate-{name}-golang-unit-{node}'

View File

@ -1,37 +0,0 @@
# Grenade does not support "python setup.py publish_sphinx", thus
# we cannot use the normal docs jobs.
- job:
name: grenade-publish-docs
node: ubuntu-xenial
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'docs'
- add-docs-root-marker:
docsrootdir: doc/build/html
publishers:
- afs:
site: afs-docs
source: 'doc/build/html/**'
target: 'developer/grenade'
remove-prefix: 'doc/build/html'
- console-log
- job:
name: gate-grenade-publish-docs
node: ubuntu-xenial
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'docs'
publishers:
- upload-sphinx-draft
- console-log

View File

@ -1,191 +0,0 @@
- job-template:
name: '{pipeline}-group-based-policy-dsvm-functional-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_UNSTACK=1
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export PROJECTS="openstack/group-based-policy $PROJECTS"
export PROJECTS="openstack/group-based-policy-automation $PROJECTS"
export PROJECTS="openstack/group-based-policy-ui $PROJECTS"
export PROJECTS="openstack/python-group-based-policy-client $PROJECTS"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/group-based-policy/gbpservice/tests/contrib/gate_hook.sh dsvm-functional
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/group-based-policy/gbpservice/tests/contrib/post_test_hook.sh dsvm-functional
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-group-based-policy-dsvm-nfp-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_UNSTACK=1
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export PROJECTS="openstack/group-based-policy $PROJECTS"
export PROJECTS="openstack/group-based-policy-automation $PROJECTS"
export PROJECTS="openstack/group-based-policy-ui $PROJECTS"
export PROJECTS="openstack/python-group-based-policy-client $PROJECTS"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/group-based-policy/gbpservice/tests/contrib/gate_nfp_hook.sh dsvm-nfp
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/group-based-policy/gbpservice/tests/contrib/post_test_nfp_hook.sh dsvm-nfp
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-group-based-policy-dsvm-aim-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_UNSTACK=1
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export PROJECTS="openstack/group-based-policy $PROJECTS"
export PROJECTS="openstack/group-based-policy-automation $PROJECTS"
export PROJECTS="openstack/group-based-policy-ui $PROJECTS"
export PROJECTS="openstack/python-group-based-policy-client $PROJECTS"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/group-based-policy/gbpservice/tests/contrib/gate_aim_hook.sh dsvm-aim
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/group-based-policy/gbpservice/tests/contrib/post_test_hook.sh dsvm-aim
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-group-based-policy-dsvm-rally-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_UNSTACK=1
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export PROJECTS="openstack/group-based-policy $PROJECTS"
export PROJECTS="openstack/group-based-policy-automation $PROJECTS"
export PROJECTS="openstack/group-based-policy-ui $PROJECTS"
export PROJECTS="openstack/python-group-based-policy-client $PROJECTS"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/group-based-policy/gbpservice/tests/contrib/gate_hook.sh dsvm-rally
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/group-based-policy/gbpservice/tests/contrib/post_test_rally_hook.sh dsvm-rally
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,90 +0,0 @@
- job:
name: gate-groups-unittests
node: ubuntu-trusty
builders:
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- shell: |
#!/bin/bash -xe
# fetch drush
mkdir drush
curl -L https://github.com/drush-ops/drush/archive/6.0.0.tar.gz | tar -xz -C drush --strip 1
# build distribution
export PATH=./drush:$PATH
scripts/dev-build.sh
publishers:
- coverage-log
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: './reports/**'
keep-hierarchy: true
copy-after-failure: true
- console-log
- job-template:
name: 'groups-release-{suffix}'
node: ubuntu-trusty
builders:
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/version-properties.sh
source version.properties
# fetch drush
mkdir drush
curl -L https://github.com/drush-ops/drush/archive/6.0.0.tar.gz | tar -xz -C drush --strip 1
# build distribution
export PATH=./drush:$PATH
scripts/dev-build.sh
# Clean/create a tarball directory
rm -rf tarballs
mkdir -p tarballs
# Create an archive tarball.
tar -czf groups-$PROJECT_VER.tar.gz publish/
cp groups-$PROJECT_VER.tar.gz tarballs/groups-latest.tar.gz
mv groups-$PROJECT_VER.tar.gz tarballs/
# generate md5 checksums
cd tarballs
md5sum groups-$PROJECT_VER.tar.gz > groups-$PROJECT_VER.md5
sed s/$PROJECT_VER/latest/g groups-$PROJECT_VER.md5 > groups-latest.md5
cd ..
# build manifest file
if [[ "$COMMITS_SINCE_TAG" == "" ]]; then
VERSION=7.x-$PROJECT_VER
else
VERSION=7.x-0.x-dev
fi
MD5HASH=$(cat tarballs/groups-$PROJECT_VER.md5 | cut -d ' ' -f1)
OUTFILE=drupal-updates/release-history/groups/7.x
MANIFESTURL=http://tarballs.openstack.org/groups/drupal-updates/release-history/groups/7.x
mkdir -p drupal-updates/release-history/groups
scripts/release-manifest.php --version=$VERSION --releasetar=groups-$PROJECT_VER.tar.gz --md5=$MD5HASH --outfile=$OUTFILE --manifest-url=$MANIFESTURL --verbose --debug
publishers:
- coverage-log
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'reports/**'
keep-hierarchy: true
copy-after-failure: true
- target: 'tarballs/groups/'
source: 'tarballs/*.tar.gz'
keep-hierarchy: false
copy-after-failure: false
- target: 'tarballs/groups/'
source: 'tarballs/*.md5'
keep-hierarchy: false
copy-after-failure: false
- target: 'tarballs/groups/'
source: 'drupal-updates/**'
keep-hierarchy: true
copy-after-failure: false
- console-log

View File

@ -1,21 +0,0 @@
- job-template:
name: gate-hacking-integration-{target-project}
node: ubuntu-xenial
builders:
- install-distro-packages
- revoke-sudo
- shell: |
#!/bin/bash -eux
cd $WORKSPACE
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org \
openstack-dev/hacking \
{target-org}/{target-project}
cd openstack-dev/hacking
tox -e integration {target-org} {target-project} \
$WORKSPACE/{target-org}/{target-project}
publishers:
- console-log

View File

@ -1,243 +0,0 @@
- job:
name: gate-heat-templates-dsvm
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin heat git://git.openstack.org/openstack/heat
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
function post_test_hook {
cd $BASE/new/heat-templates/tools
./post_test_hook.sh
}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-heat-dsvm-functional-{engine}-{datastore}-{lbaasversion}{special}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
services=rabbit,tempest,mysql,dstat,key
services+=,n-api,n-api-meta,n-cpu,n-cond,n-sch,n-crt
# placement services mandatory for nova from ocata
if [[ "stable/newton" != $ZUUL_BRANCH ]]; then
services+=,placement-api,placement-client
fi
services+=,g-api,g-reg
services+=,c-sch,c-api,c-vol,c-bak
services+=,q-svc,q-dhcp,q-meta,q-agt,q-l3
if [ "{special}" == "-py35" ] ; then
export DEVSTACK_GATE_USE_PYTHON3=True
# Swift does not work so skip s-* for python3x for now
else
export DEVSTACK_GATE_USE_PYTHON3=False
services+=,s-proxy,s-object,s-container,s-account
fi
if [[ ! "stable/newton stable/ocata" =~ $ZUUL_BRANCH ]]; then
services+=,q-trunk
fi
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export DEVSTACK_PROJECT_FROM_GIT=python-heatclient
export KEEP_LOCALRC=1
export PROJECTS="openstack/ceilometer $PROJECTS"
export PROJECTS="openstack/aodh $PROJECTS"
export PROJECTS="openstack/zaqar $PROJECTS"
export PROJECTS="openstack/python-zaqarclient $PROJECTS"
export PROJECTS="openstack/neutron $PROJECTS"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin aodh git://git.openstack.org/openstack/aodh"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin zaqar git://git.openstack.org/openstack/zaqar"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin neutron git://git.openstack.org/openstack/neutron"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin heat git://git.openstack.org/openstack/heat"
if [ "{lbaasversion}" = "lbaasv2" ]; then
# Enable LBaaS V2 plugin
export PROJECTS="openstack/neutron-lbaas $PROJECTS"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin neutron-lbaas https://git.openstack.org/openstack/neutron-lbaas"
# enabling lbaas plugin does not enable the lbaasv2 service, explicitly enable it
services+=,q-lbaasv2
export PROJECTS="openstack/barbican $PROJECTS"
export PROJECTS="openstack/python-barbicanclient $PROJECTS"
export PROJECTS="openstack/barbican-tempest-plugin $PROJECTS"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin barbican https://git.openstack.org/openstack/barbican"
# the lbaas v2 driver choice is in the gate pre test hook
else
services+=,q-lbaas
fi
export OVERRIDE_ENABLED_SERVICES=$services
if [ "{datastore}" == "postgres" ] ; then
export DEVSTACK_GATE_POSTGRES=1
fi
if [ "{engine}" == "orig" ] ; then
export DISABLE_CONVERGENCE=true
fi
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
if [ "{special}" == "-identity-v3-only" ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"ENABLE_IDENTITY_V2=False"
fi
if [ "{special}" == "-non-apache" ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"HEAT_USE_MOD_WSGI=False"
fi
if [ "{special}" == "-amqp1" ] ; then
export PROJECTS="openstack/devstack-plugin-amqp1 $PROJECTS"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"export AMQP1_SERVICE=qpid-hybrid"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin devstack-plugin-amqp1 git://git.openstack.org/openstack/devstack-plugin-amqp1"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"export CELLSV2_SETUP=singleconductor"
export DEVSTACK_PROJECT_FROM_GIT="oslo.messaging,$DEVSTACK_PROJECT_FROM_GIT"
fi
function pre_test_hook {{
cd /opt/stack/new/heat/heat_integrationtests
source ./pre_test_hook.sh
}}
export -f pre_test_hook
function post_test_hook {{
cd /opt/stack/new/heat/heat_integrationtests
source ./post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-heatclient-dsvm-functional-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin heat git://git.openstack.org/openstack/heat
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export BRANCH_OVERRIDE={branch-override}
export DEVSTACK_PROJECT_FROM_GIT=python-heatclient
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function post_test_hook {{
# Configure and run functional tests
$BASE/new/python-heatclient/heatclient/tests/functional/hooks/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-grenade-dsvm-heat{topology}-{node-release}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin heat git://git.openstack.org/openstack/heat
- shell: |
#!/bin/bash -xe
export PROJECTS="openstack-dev/grenade $PROJECTS"
export PYTHONUNBUFFERED=true
export GRENADE_PLUGINRC="enable_grenade_plugin heat https://git.openstack.org/openstack/heat"
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export DEVSTACK_GATE_GRENADE=pullup
export BRANCH_OVERRIDE={branch-override}
export TOPOLOGY={topology}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Default topology is all-in-one (aio)
if [ "$TOPOLOGY" == "-multinode" ] ; then
export DEVSTACK_GATE_TOPOLOGY="multinode"
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,8 +0,0 @@
- job-template:
name: 'hook-{name}-rtfd'
node: 'proposal'
builders:
- revoke-sudo
- shell: 'curl -X POST https://readthedocs.org/build/{name} >/dev/null'
publishers: []

View File

@ -1,63 +0,0 @@
- job-template:
name: gate-horizon-selenium-headless-{node}
node: '{node}'
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- shell: |
#!/bin/bash -xe
NOSE_WITH_XUNIT=1 tox -e selenium-headless
publishers:
- console-log
- job-template:
name: gate-horizon-selenium-headless-legacy-{node}
node: '{node}'
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- shell: |
#!/bin/bash -xe
NOSE_WITH_XUNIT=1 tox -evenv -- /bin/bash run_tests.sh -N --only-selenium --selenium-headless
publishers:
- console-log
- job-template:
name: gate-horizon-dsvm-tempest-plugin-{node}
node: '{node}'
wrappers:
- build-timeout:
timeout: 100
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_HORIZON=1
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_REGEX=horizon
export DEVSTACK_LOCAL_CONFIG="export TEMPEST_PLUGINS='/opt/stack/new/tempest-horizon'"
export PROJECTS="openstack/tempest-horizon $PROJECTS"
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,136 +0,0 @@
#!/bin/bash -xe
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
DOCNAME=releasenotes
DIRECTORY=releasenotes
script_path=/usr/local/jenkins/slave_scripts
# Mapping of language codes to language names
declare -A LANG_NAME=(
["de"]="German"
["en_AU"]="English (Australian)"
["en_GB"]="English (United Kingdom)"
["es"]="Spanish"
["fr"]="French"
["id"]="Indonesian"
["it"]="Italian"
["ja"]="Japanese"
["ko_KR"]="Korean (South Korea)"
["pt_BR"]="Portuguese (Brazil)"
["ru"]="Russian"
["tr_TR"]="Turkish (Turkey)"
["zh_CN"]="Chinese (China)"
)
# This file always exists in OpenStack CI jobs, check for it so that
# it can be used manually as well.
if [ -e "$(pwd)/upper-constraints.txt" ]; then
export UPPER_CONSTRAINTS_FILE=$(pwd)/upper-constraints.txt
fi
if [ ! -e ${DIRECTORY}/source/locale/ ]; then
echo "No translations found, only building normal release notes"
$script_path/run-tox.sh releasenotes
exit 0
fi
# Check that locale_dirs is really set, otherwise translations
# will not work.
if ! grep -q -E '^locale_dirs *=' $DIRECTORY/source/conf.py; then
echo "Translations exist and locale_dirs missing in source/conf.py"
exit 1
fi
REFERENCES=`mktemp`
trap "rm -f -- '$REFERENCES'" EXIT
# Extract translations
tox -e venv -- sphinx-build -b gettext \
-d ${DIRECTORY}/build/doctrees.gettext \
${DIRECTORY}/source/ \
${DIRECTORY}/source/locale/
# Add links for translations to index file
cat <<EOF >> ${REFERENCES}
Translated Release Notes
========================
EOF
# Check all language translation resources
for locale in `find ${DIRECTORY}/source/locale/ -maxdepth 1 -type d` ; do
# Skip if it is not a valid language translation resource.
if [ ! -e ${locale}/LC_MESSAGES/${DOCNAME}.po ]; then
continue
fi
language=$(basename $locale)
echo "Building $language translation"
# Prepare all translation resources
for pot in ${DIRECTORY}/source/locale/*.pot ; do
# Get filename
resname=$(basename ${pot} .pot)
# Merge all translation resources. Note this is done the same
# way as done in common_translation_update.sh where we merge
# all strings together in a single file.
msgmerge --silent -o \
${DIRECTORY}/source/locale/${language}/LC_MESSAGES/${resname}.po \
${DIRECTORY}/source/locale/${language}/LC_MESSAGES/${DOCNAME}.po \
${pot}
# Compile all translation resources
msgfmt -o \
${DIRECTORY}/source/locale/${language}/LC_MESSAGES/${resname}.mo \
${DIRECTORY}/source/locale/${language}/LC_MESSAGES/${resname}.po
done
# Build translated document
tox -e venv -- sphinx-build -b html -D language=${language} \
-d "${DIRECTORY}/build/doctrees.${language}" \
${DIRECTORY}/source/ ${DIRECTORY}/build/html/${language}
# Reference translated document from index file
if [ ${LANG_NAME["${language}"]+_} ] ; then
name=${LANG_NAME["${language}"]}
name+=" (${language})"
echo "* \`$name <${language}/index.html>\`__" >> ${REFERENCES}
else
echo "* \`${language} <${language}/index.html>\`__" >> ${REFERENCES}
fi
# Remove newly created files
git clean -f -q ${DIRECTORY}/source/locale/${language}/LC_MESSAGES/*.po
git clean -f -x -q ${DIRECTORY}/source/locale/${language}/LC_MESSAGES/*.mo
# revert changes to po file
git reset -q ${DIRECTORY}/source/locale/${language}/LC_MESSAGES/${DOCNAME}.po
git checkout -- ${DIRECTORY}/source/locale/${language}/LC_MESSAGES/${DOCNAME}.po
done
# Now append our references to the index file. We cannot do this
# earlier since the sphinx commands will read this file.
cat ${REFERENCES} >> ${DIRECTORY}/source/index.rst
# Remove newly created pot files
rm -f ${DIRECTORY}/source/locale/*.pot
# Now build releasenotes with reference to translations
$script_path/run-tox.sh releasenotes
# Revert any changes to the index file.
git checkout -- ${DIRECTORY}/source/index.rst

View File

@ -1,3 +0,0 @@
#!/bin/bash -xe
VENV="deploy-guide"
GUIDEDIR="deploy-guide"

View File

@ -1,3 +0,0 @@
#!/bin/bash -xe
VENV="install-guide"
GUIDEDIR="install-guide"

View File

@ -1,62 +0,0 @@
#!/bin/bash -xe
# This script is used to publish project-specific deploy-guide and
# install-guide documents to the proper place. Master will be
# published to a draft directory, stable/X will be published to the X
# directory. For example stable/newton documents will life in the
# newton directory.
# You need to pass in the following variables:
# VENV - virtual env to use
# GUIDEDIR - directory for building
if [ -z "$VENV" ] ; then
echo "The variable VENV is not set."
exit 1
fi
if [ -z "$GUIDEDIR" ] ; then
echo "The variable GUIDEDIR is not set."
exit 1
fi
export UPPER_CONSTRAINTS_FILE=$(pwd)/upper-constraints.txt
tox -e $VENV
[ -e .tox/$VENV/bin/pbr ] && freezecmd=pbr || freezecmd=pip
echo "Begin pbr freeze output from test virtualenv:"
echo "======================================================================"
.tox/${VENV}/bin/${freezecmd} freeze
echo "======================================================================"
MARKER_TEXT="Project: $ZUUL_PROJECT Ref: $ZUUL_REFNAME Build: $ZUUL_UUID Revision: $ZUUL_NEWREV"
echo $MARKER_TEXT > $GUIDEDIR/build/html/.root-marker
if [ -z "$ZUUL_REFNAME" ]; then
TARGET=""
# Leave documents where they are
elif [ "$ZUUL_REFNAME" == "master" ] ; then
TARGET=draft
elif echo $ZUUL_REFNAME | grep stable/ >/dev/null ; then
# Put stable release changes in dir named after stable release under the
# build dir. When Jenkins copies these files they will be accessible under
# the developer docs root using the name of the stable release.
TARGET=$(echo $ZUUL_REFNAME | sed 's/stable.//')
else
# Put other branch changes in dir named after branch under the
# build dir. When Jenkins copies these files they will be
# accessible under the developer docs root using the branch name.
# EG: feature/foo or milestone-proposed
TARGET=$ZUUL_REFNAME
fi
if [ ! -z $TARGET ] ; then
# Move the docs into subdir based on branch
TOP=`dirname $TARGET`
mv $GUIDEDIR/build/html $GUIDEDIR/build/tmp
mkdir -p $GUIDEDIR/build/html/$TOP
mv $GUIDEDIR/build/tmp $GUIDEDIR/build/html/$TARGET
fi
exit

View File

@ -1,58 +0,0 @@
# simply copy the contents of the repository to the server, no building needed
- job:
name: infra-publications-publish
node: ubuntu-xenial
builders:
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- add-docs-root-marker:
docsrootdir: '.'
- shell: |
#!/bin/bash -x
# NAME will either be the branch name or the tag name
NAME=`echo $ZUUL_REFNAME | sed 's/refs.tags.//'`
mkdir -p _out/$NAME
for FN in * ; do
if [ "_out" != "$FN" ] ; then
mv $FN _out/$NAME/
fi
# Explicitly copy the root marker file
mv .root-marker _out/$NAME/
done
publishers:
- afs:
site: afs-docs
source: '_out/**'
target: 'infra/publications/'
remove-prefix: '_out/'
- console-log
- job:
name: infra-publications-publish-index
node: ubuntu-xenial
builders:
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- shell: |
#!/bin/bash -xe
git reset --hard remotes/origin/master
if ! git clean -x -f -d -q ; then
sleep 1
git clean -x -f -d -q
fi
./make-index
- add-docs-root-marker:
docsrootdir: output/
publishers:
- afs:
site: afs-docs
source: 'output/**'
target: 'infra/publications/'
remove-prefix: 'output/'
- console-log

View File

@ -1,84 +0,0 @@
- job-template:
name: '{name}-infra-docs'
node: ubuntu-xenial
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- docs
publishers:
- afs:
site: 'afs-docs'
source: 'doc/build/html/**'
target: 'infra/{doc-publisher-folder}'
remove-prefix: 'doc/build/html'
- console-log
- job-template:
name: '{name}-infra-docs-tags-only'
description: Publish infra documents, use when only publish on tag
node: ubuntu-xenial
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- docs-tags-only-env:
env: venv
publishers:
- afs:
site: 'afs-docs'
source: 'doc/build/html/**'
target: 'infra/{doc-publisher-folder}'
remove-prefix: 'doc/build/html'
- console-log
- job:
name: publish-infra-docs-index
description: Render and publish the infra docs index.
node: ubuntu-xenial
builders:
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: infra-docs
- add-docs-root-marker:
docsrootdir: docs-site/output/
publishers:
- afs:
site: 'afs-docs'
source: 'docs-site/output/**'
target: 'infra/'
remove-prefix: 'docs-site/output/'
- console-log
- job:
name: gate-infra-docs-index
description: Render the infra docs index without publishing it.
node: ubuntu-xenial
builders:
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: infra-docs
publishers:
- console-log
- job-group:
name: infra-publish-jobs
jobs:
- '{name}-infra-docs'
- '{name}-infra-docs-tags-only'

View File

@ -1,499 +0,0 @@
- job:
name: gate-project-config-gerrit
node: ubuntu-xenial
builders:
- net-info
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'gerrit'
publishers:
- test-results
- console-log
- job:
name: gate-project-config-irc-access
node: ubuntu-xenial
builders:
- net-info
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'irc'
publishers:
- test-results
- console-log
- job:
name: gate-project-config-grafyaml
node: ubuntu-xenial
builders:
- net-info
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'grafyaml'
publishers:
- test-results
- console-log
- job:
name: gate-project-config-layout
node: ubuntu-trusty
builders:
- net-info
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'zuul'
publishers:
- test-results
- console-log
- job:
name: gate-project-config-jenkins-project
node: ubuntu-xenial
builders:
- net-info
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'jenkins-project'
publishers:
- test-results
- console-log
- job:
name: gate-project-config-nodepool
node: ubuntu-xenial
builders:
- net-info
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'nodepool'
publishers:
- test-results
- console-log
- job-template:
name: gate-{name}-bindep-fallback-{node}{suffix}
wrappers:
- timestamps
builders:
- net-info
- zuul-git-prep
- install-distro-packages-fallback-test
publishers:
- test-results
- console-log
node: '{node}'
- job-group:
name: bindep-fallback-tests
suffix:
- ''
- '-nv'
node:
- centos-7
- fedora-26
- debian-jessie
- opensuse-423
- ubuntu-trusty
- ubuntu-xenial
jobs:
- gate-{name}-bindep-fallback-{node}{suffix}
- builder:
name: infra-puppet-apply-prep
builders:
- shell: |
#!/bin/bash -xe
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org openstack-infra/system-config
- publisher:
name: infra-puppet-apply-logs
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'openstack-infra/system-config/applytest/**'
keep-hierarchy: false
copy-after-failure: true
- console-log
- job-template:
name: 'gate-infra-puppet-apply-{puppet_version}-{node}'
node: '{node}'
builders:
- print-template-name:
template-name: "{template-name}"
- net-info
- infra-puppet-apply-prep
- shell: |
#!/bin/bash -xe
cd openstack-infra/system-config
/usr/local/jenkins/slave_scripts/install-distro-packages.sh
if [ "{puppet_version}" == "4" ]; then
# TODO:
echo "TODO: add logic to deploy puppet4"
fi
./tools/apply-test.sh
publishers:
- infra-puppet-apply-logs
- job-template:
name: 'gate-logstash-filters-{node}'
node: '{node}'
builders:
- print-template-name:
template-name: "{template-name}"
- net-info
- infra-puppet-apply-prep
- shell: |
#!/bin/bash -xe
cd openstack-infra/system-config
./tools/logstash-filter-test.sh
publishers:
- infra-puppet-apply-logs
- job-template:
name: 'gate-openstackci-beaker-{node}'
node: '{node}'
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- zuul-clone:
project: openstack-infra/puppet-openstackci
- shell: |
#!/bin/bash -xe
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org openstack-infra/puppet-openstack_infra_spec_helper
- puppet-prepare-node
- allow-local-ssh-root
- shell: |
sudo gem install bundler --no-rdoc --no-ri --verbose
- revoke-sudo
- shell: |
cd openstack-infra/puppet-openstackci
mkdir .bundled_gems
export GEM_HOME=`pwd`/.bundled_gems
bundle install
export BEAKER_set=nodepool-{ostype}
export BEAKER_debug=yes
export BEAKER_color=no
bundle exec rspec spec/acceptance
wrappers:
- build-timeout:
timeout: 60
- timestamps
publishers:
- console-log
- job:
name: propose-project-config-update
node: proposal
builders:
- link-logs
- net-info
- zuul-git-branch-prep:
branch: master
- shell: ./tools/propose_projects_yaml_update.sh
publishers:
- console-log
- job:
name: irc-meetings-publish
node: ubuntu-xenial
builders:
- net-info
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'ical'
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'output/**'
keep-hierarchy: false
copy-after-failure: true
- scp:
site: 'yaml2ical'
files:
- target: ''
source: 'output/index.html'
copy-after-failure: false
- scp:
site: 'yaml2ical'
files:
- target: ''
source: 'output/irc-meetings.ical'
copy-after-failure: false
- scp:
site: 'yaml2ical'
files:
- target: 'calendars/'
source: 'output/calendars/*'
copy-after-failure: false
- test-results
- console-log
- job:
name: gate-irc-meetings-tox-ical
node: ubuntu-xenial
builders:
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'ical'
publishers:
- postbuildscript:
builders:
- shell: |
#!/bin/bash -x
# We do not want this file to conflict with the log index
if test -f output/index.html; then
mv output/index.html output/site-index.html
fi
# These flags really mean only if on * when
# checked. When both set to false the post script
# should run on every job regardless of status.
onfailure: False
onsuccess: False
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'output/**'
keep-hierarchy: false
copy-after-failure: true
- test-results
- console-log
- job:
name: gate-infra-ansible
node: ubuntu-xenial
builders:
- net-info
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'ansible-syntax-check'
publishers:
- test-results
- console-log
- job:
name: gate-project-config-dib
node: ubuntu-xenial
builders:
- net-info
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: 'dib'
publishers:
- test-results
- console-log
- job-template:
name: 'gate-puppet-openstack-infra-spec-helper-unit-{node}'
node: '{node}'
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- zuul-clone:
project: openstack-infra/puppet-openstack_infra_spec_helper
- install-distro-packages
- puppet-prepare-node
- shell: |
#!/bin/bash -xe
cd openstack-infra/puppet-openstack_infra_spec_helper
./run_unit_tests.sh
wrappers:
- build-timeout:
timeout: 60
- timestamps
publishers:
- console-log
- job-group:
name: 'puppet-openstack-infra-spec-helper-jobs'
node:
- centos-7
- ubuntu-xenial
- ubuntu-trusty
jobs:
- 'gate-puppet-openstack-infra-spec-helper-unit-{node}'
- job:
name: periodic-package-afs-centos7
node: centos-7
builders:
- net-info
- shell: |
#!/bin/bash
set -eux
# There are no official builds for AFS on Centos 7, hence
# we build our own and publish them to tarballs.openstack.org
# for our centos hosts that need access to the mirror to
# consume.
# TODO: fedora
YUM=${YUM:-yum}
VERSION=1.6.16
SRC_VERSION=${VERSION}-1
SRC_RPM=openafs-${SRC_VERSION}.src.rpm
SRC_URL=https://www.openafs.org/dl/openafs/${VERSION}/${SRC_RPM}
UPSTREAM_BASE=https://tarballs.openstack.org/package-afs-centos7
UPSTREAM_CHECK=${UPSTREAM_BASE}/openafs-client-${SRC_VERSION}.el7.centos.x86_64.rpm
if wget -O/dev/null -q $UPSTREAM_CHECK; then
echo "Found existing upstream RPM build, nothing to do"
# $WORKSPACE will just be blank, scp should just
# publish nothing
exit 0
fi
# some common prereqs
sudo yum -y groupinstall "Development Tools" "Development Libraries"
sudo yum -y install rpm-build kernel-devel createrepo
wget $SRC_URL
# install the build dependencies for the package
sudo yum-builddep -y ./${SRC_RPM}
# install source-rpm
# (this installs to ~/rpmbuild)
rpm -i ./${SRC_RPM}
# build everything
pushd ~/rpmbuild/SPECS/
rpmbuild -ba ./openafs.spec
popd
# create final repo for copying
createrepo ~/rpmbuild/RPMS/x86_64
# move into $WORKSPACE for copy
mv ~/rpmbuild/RPMS/x86_64 $WORKSPACE/package-afs-centos7
publishers:
- scp:
site: 'tarballs.openstack.org'
files:
- target: 'tarballs/'
source: 'package-afs-centos7/**'
keep-hierarchy: true
copy-after-failure: false
- console-log
- job:
name: periodic-package-stackviz-element
node: ubuntu-xenial
builders:
- zuul-git-branch-prep:
branch: master
- install-distro-packages
- revoke-sudo
- shell: |
#!/bin/bash -ex
# NOTE(pabelanger): Delete npm mirror, since it is currently broken.
rm -rf ~/.npmrc
export DISPLAY=:99
# Because we want to publish the build folder, create an empty
# .npmignore file.
touch .npmignore
npm install --verbose
npm run prod --verbose
mv dist/stackviz*.tar.gz dist/stackviz-latest.tar.gz
publishers:
- tarball:
project: 'package-stackviz-element'
- console-log
- job:
name: gate-zuul-nodepool
node: ubuntu-xenial
builders:
- zuul-clone-workspace:
project: openstack-infra/zuul
- install-distro-packages
- shell: tools/nodepool-integration-setup.sh
- run-tox:
envlist: 'nodepool'
publishers:
- test-results
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH/logs'
source: 'logs/**'
keep-hierarchy: true
copy-after-failure: true
- console-log

View File

@ -1,80 +0,0 @@
- job-template:
name: 'ironic-python-agent-buildimage-{image-type}-{node}'
node: '{node}'
builders:
- link-logs
- net-info
- zuul-git-prep
- install-distro-packages
- shell: |
#!/bin/bash -xe
BRANCH=$ZUUL_REFNAME
export BRANCH_PATH=`echo $BRANCH | tr / -`
mkdir UPLOAD_RAW
mkdir UPLOAD_TAR
JOBNAME={template-name}
TRANS_START_TIME=$(date +%s)
SUBUNIT_OUTPUT=testrepository.subunit
ERRORS=1
VENV=$(mktemp -d)
virtualenv $VENV
$VENV/bin/pip install -U os-testr
trap "finish" EXIT
function finish {{
if [[ "$ERRORS" -eq 1 ]]; then
$VENV/bin/generate-subunit $TRANS_START_TIME $SECONDS 'fail' $JOBNAME >> $SUBUNIT_OUTPUT
else
$VENV/bin/generate-subunit $TRANS_START_TIME $SECONDS 'success' $JOBNAME >> $SUBUNIT_OUTPUT
fi
gzip -9 $SUBUNIT_OUTPUT
if [ "$VENV" != "" ] ; then
rm -rf $VENV
VENV=""
fi
}}
type="{image-type}"
case $type in
tinyipa)
export BUILD_AND_INSTALL_TINYIPA=true
(cd imagebuild/tinyipa && make)
mv imagebuild/tinyipa/tinyipa*.tar.gz* UPLOAD_TAR
mv imagebuild/tinyipa/tinyipa*.* UPLOAD_RAW
# NOTE(sambetts) Must clean up chroot directories before
# publisher rsync command tries and fails to read them
(cd imagebuild/tinyipa && make clean)
;;
coreos)
imagebuild/coreos/full_trusty_build.sh
mv imagebuild/coreos/UPLOAD/coreos_production_pxe* UPLOAD_RAW
mv ipa-coreos*.tar.gz* UPLOAD_TAR
;;
esac
ERRORS=0
publishers:
- scp:
site: 'tarballs.openstack.org'
files:
- source: 'UPLOAD_RAW/*'
target: 'tarballs/ironic-python-agent/{image-type}/files/'
keep-hierarchy: false
copy-after-failure: false
- source: 'UPLOAD_TAR/*'
target: 'tarballs/ironic-python-agent/{image-type}/'
keep-hierarchy: false
copy-after-failure: false
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'testrepository.subunit.gz'
keep-hierarchy: false
copy-after-failure: true
- console-log

File diff suppressed because it is too large Load Diff

View File

@ -1,360 +0,0 @@
## Generic jobs
# Uploads a release tarball to npm.
- job-template:
name: '{name}-npm-upload'
node: release
builders:
- print-template-name:
template-name: "{template-name}"
- shell: |
/usr/local/jenkins/slave_scripts/npm-tarball-upload.sh {name} tarballs.openstack.org
publishers:
- console-log
## Node4 Jobs
# Executes a command registered inside of package.json. For more information on
# how this works, see https://docs.npmjs.com/cli/run-script. This build assumes
# that whatever is being run under the hood, it will pipe its output to the
# ./reports directory in the project root directory. This output is
# subsequently copied to static.openstack.org (the clickthrough target from
# gerrit).
- job-template:
name: 'gate-{name}-nodejs{version}-npm-run-{command}'
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep
- install-distro-packages
- nodejs-install:
version: '{version}'
- xvfb-install
- chrome-install
- firefox-install
- revoke-sudo
- xvfb-start
- npm-run:
command: '{command}'
- assert-no-extra-files
publishers:
- coverage-log
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'reports/**'
keep-hierarchy: true
copy-after-failure: true
- target: 'logs/$LOG_PATH'
source: 'npm-shrinkwrap.json'
keep-hierarchy: false
copy-after-failure: false
- target: 'logs/$LOG_PATH'
source: 'karma.subunit'
keep-hierarchy: false
copy-after-failure: true
- console-log
- job-template:
name: '{name}-dsvm-nodejs{version}-npm-run-{command}'
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep
- install-distro-packages
- nodejs-install:
version: "{version}"
- xvfb-install
- chrome-install
- firefox-install
- devstack-checkout
- xvfb-start
- npm-dsvm-run:
pre_test_command: 'configure-devstack'
post_test_command: "{command}"
- assert-no-extra-files
publishers:
- devstack-logs
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'reports/**'
keep-hierarchy: true
copy-after-failure: true
- target: 'logs/$LOG_PATH'
source: 'karma.subunit'
keep-hierarchy: false
copy-after-failure: true
- console-log
# Builds and uploads a tarball using NPM.
- job-template:
name: '{name}-nodejs{version}-npm-publish-tarball'
node: ubuntu-xenial
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep
- install-distro-packages
- nodejs-install:
version: '{version}'
- revoke-sudo
# This will build ./{name}-{version}.tgz, where {version} is read from
# package.json.
- npm-run:
command: 'pack'
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/version-properties.sh
source version.properties
# Move the autogenerated versioned tarball to the one we like.
mkdir -p dist
cp *.tgz dist/{name}-$PROJECT_VER.tar.gz
cp *.tgz dist/{name}-latest.tar.gz
publishers:
- tarball:
project: '{name}'
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'npm-shrinkwrap.json'
keep-hierarchy: false
copy-after-failure: false
- console-log
- job-template:
name: 'gate-{name}-nodejs{version}-npm-docs'
description: Build and publish draft documentation for a JavaScript project.
node: ubuntu-xenial
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep
- install-distro-packages
- nodejs-install:
version: '{version}'
- revoke-sudo
- npm-run:
command: 'docs'
- assert-no-extra-files
publishers:
- upload-sphinx-draft
- console-log
- job-template:
name: '{name}-nodejs{version}-npm-sdk-docs'
description: Build and publish documentation to developer.openstack.org for a JavaScript SDK project.
node: ubuntu-xenial
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep
- install-distro-packages
- nodejs-install:
version: '{version}'
- revoke-sudo
- npm-run:
command: 'docs'
- assert-no-extra-files
- add-docs-root-marker:
docsrootdir: doc/build/html
publishers:
- afs:
site: afs-developer-docs
source: 'doc/build/html/**'
target: 'sdks/javascript/{name}'
remove-prefix: 'doc/build/html/'
- console-log
- job-template:
name: '{name}-nodejs{version}-npm-docs'
description: Build and publish documentation to docs.openstack.org for a JavaScript project.
node: ubuntu-xenial
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep
- install-distro-packages
- nodejs-install:
version: '{version}'
- revoke-sudo
- npm-run:
command: 'docs'
- assert-no-extra-files
- add-docs-root-marker:
docsrootdir: doc/build/html
publishers:
- afs:
site: afs-docs
source: 'doc/build/html/**'
target: 'developer/{name}'
remove-prefix: 'doc/build/html/'
- console-log
- job-group:
name: nodejs4-jobs
jobs:
- 'gate-{name}-nodejs{version}-npm-run-{command}':
command: 'lint'
version: '4'
- 'gate-{name}-nodejs{version}-npm-run-{command}':
command: 'test'
version: '4'
- job-group:
name: nodejs4-docs
jobs:
- 'gate-{name}-nodejs{version}-npm-docs':
version: '4'
- job-group:
name: nodejs4-publish-to-npm
jobs:
- '{name}-nodejs{version}-npm-publish-tarball':
version: '4'
- '{name}-npm-upload'
- '{name}-tarball-signing'
- '{name}-announce-release'
- job-group:
name: nodejs6-jobs
jobs:
- 'gate-{name}-nodejs{version}-npm-run-{command}':
command: 'lint'
version: '6'
- 'gate-{name}-nodejs{version}-npm-run-{command}':
command: 'test'
version: '6'
- job-group:
name: nodejs6-publish-to-npm
jobs:
- '{name}-nodejs{version}-npm-publish-tarball':
version: '6'
- '{name}-npm-upload'
- '{name}-tarball-signing'
- '{name}-announce-release'
- job-group:
name: nodejs6-docs
jobs:
- 'gate-{name}-nodejs{version}-npm-docs':
version: '6'
## Legacy Jobs (DEPRECATED)
# Builds a draft application and uploads it to docs-draft. To use this build,
# your Gruntfile must declare a target named "build:draft"
- job-template:
name: 'gate-{name}-js-draft'
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- nodejs-install:
version: 4
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- js-build:
command: 'build:draft'
envlist: 'grunt'
project: '{name}'
- assert-no-extra-files
publishers:
- coverage-log
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'reports/**'
keep-hierarchy: true
copy-after-failure: true
# We upload the compiled app as a pre-release sanity check,
# much like we do with docs builds.
- target: 'docs-draft/$LOG_PATH'
source: 'dist/**'
keep-hierarchy: true
copy-after-failure: false
- console-log
# Builds a release tarball
- job-template:
name: '{name}-js-release-{suffix}'
node: ubuntu-xenial
builders:
- print-template-name:
template-name: "{template-name}"
- nodejs-install:
version: 4
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- js-build:
command: 'build'
envlist: 'grunt'
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/version-properties.sh
source version.properties
# Clean/create a tarball directory
rm -rf tarballs
mkdir -p tarballs
# Create an archive tarball.
tar -czf {name}-$PROJECT_VER.tar.gz dist/
cp {name}-$PROJECT_VER.tar.gz tarballs/{name}-latest.tar.gz
mv {name}-$PROJECT_VER.tar.gz tarballs/
publishers:
- coverage-log
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'reports/**'
keep-hierarchy: true
copy-after-failure: true
- target: 'tarballs/{name}/'
source: 'tarballs/*.tar.gz'
keep-hierarchy: false
copy-after-failure: false
- console-log

View File

@ -1,81 +0,0 @@
# usig a freestyle project to work around jenkins bug:
# https://issues.jenkins-ci.org/browse/JENKINS-14193
- job-template:
name: 'gate-{name}-maven-build-{node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 30
- timestamps
builders:
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/version-properties.sh
source version.properties
mvn clean package -B -Dproject-version=$PROJECT_VER
publishers:
- console-log
- job-template:
name: '{name}-hpi-artifact'
node: ubuntu-trusty
wrappers:
- build-timeout:
timeout: 30
- timestamps
builders:
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/version-properties.sh
source version.properties
mvn clean package -B -Dproject-version=$PROJECT_VER
cp ./target/{name}.hpi ./target/{name}-$PROJECT_VER.hpi
publishers:
- war:
warfile: 'target/{name}-*.hpi'
target: 'tarballs/ci/{name}'
- console-log
- job-template:
name: '{name}-jenkinsci-upload'
node: release
builders:
- revoke-sudo
- shell: |
#!/bin/bash -xe
TAG=`echo $ZUUL_REF | sed 's/^refs.tags.//'`
FILENAME_HPI="{name}-$TAG.hpi"
# copy plugin artifacts from tarballs to local workspace
rm -rf *.hpi
curl -o $FILENAME_HPI http://tarballs.openstack.org/ci/{name}/$FILENAME_HPI
# deploy to maven repository
FILENAME_POM="{name}-$TAG.pom"
/usr/local/jenkins/slave_scripts/jenkinsci-upload.sh {name} $TAG \
$FILENAME_POM $FILENAME_HPI
publishers:
- console-log
- job-group:
name: jenkins-plugin-jobs
node: ubuntu-trusty
jobs:
- 'gate-{name}-maven-build-{node}'
- '{name}-hpi-artifact'
- '{name}-jenkinsci-upload'

View File

@ -1,69 +0,0 @@
- job-template:
name: '{pipeline}-karbor-dsvm-fullstack{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[post-config|$SWIFT_CONFIG_PROXY_SERVER]]
[DEFAULT]
workers=4
[[post-config|$CINDER_CONF]]
[DEFAULT]
osapi_volume_workers=8
rpc_response_timeout=120
[[post-config|$KARBOR_API_CONF]]
[DEFAULT]
max_window_time=150
min_window_time=75
min_interval=300
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/karbor $PROJECTS"
export PROJECTS="openstack/trove $PROJECTS"
export PROJECTS="openstack/trove-dashboard $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT="python-karborclient"
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/karbor/devstack/devstackgaterc
function gate_hook {{
bash -xe $BASE/new/karbor/karbor/tests/contrib/gate_hook.sh fullstack
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/karbor/karbor/tests/contrib/post_test_hook.sh fullstack
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,193 +0,0 @@
- job-template:
name: '{pipeline}-keystone-dsvm-functional-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
TEMPEST_PLUGINS='/opt/stack/new/keystone-tempest-plugin'
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export PROJECTS="openstack/keystone-tempest-plugin $PROJECTS"
export DEVSTACK_GATE_TEMPEST=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_GATE_TEMPEST_REGEX='keystone_tempest_plugin'
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-keystone-dsvm-functional-v3-only-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
TEMPEST_PLUGINS='/opt/stack/new/keystone-tempest-plugin'
ENABLE_IDENTITY_V2=False
enable_plugin keystone git://git.openstack.org/openstack/keystone
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export PROJECTS="openstack/keystone-tempest-plugin $PROJECTS"
export DEVSTACK_GATE_TEMPEST=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_GATE_TEMPEST_REGEX='keystone_tempest_plugin'
export ENABLED_SERVICES=keystone-saml2-federation
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-keystone-dsvm-py35-functional-v3-only-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
TEMPEST_PLUGINS='/opt/stack/new/keystone-tempest-plugin'
# swift is not ready for python3 yet
disable_service s-account
disable_service s-container
disable_service s-object
disable_service s-proxy
ENABLE_IDENTITY_V2=False
enable_plugin keystone git://git.openstack.org/openstack/keystone
- shell: |
#!/bin/bash -xe
export DEVSTACK_GATE_USE_PYTHON3=True
export PYTHONUNBUFFERED=true
export PROJECTS="openstack/keystone-tempest-plugin $PROJECTS"
export DEVSTACK_GATE_TEMPEST=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_GATE_TEMPEST_REGEX='keystone_tempest_plugin'
export ENABLED_SERVICES=keystone-saml2-federation
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-keystoneclient-dsvm-functional-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export BRANCH_OVERRIDE={branch-override}
export DEVSTACK_PROJECT_FROM_GIT=python-keystoneclient
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function post_test_hook {{
# Configure and run functional tests
$BASE/new/python-keystoneclient/keystoneclient/tests/functional/hooks/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-ldap-domain-specific-driver-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 180
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
# Enables ldap service and sets its password
enable_service ldap
KEYSTONE_CLEAR_LDAP=yes
LDAP_PASSWORD='nomoresecret'
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_FULL=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,52 +0,0 @@
- job-template:
name: '{pipeline}-kingbird-dsvm-multiregion-{node-release}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 90
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export PROJECTS="openstack/kingbird $PROJECTS"
export DEVSTACK_GATE_CONFIGDRIVE=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=0
export DEVSTACK_GATE_TEMPEST_REGEX="kingbird.tests.tempest"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
# Enable multinode mode, so that the subnode(the second node)
# will be configured to run as second region in pre_test_hook.sh
export DEVSTACK_GATE_TOPOLOGY="multinode"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/kingbird/kingbird/tests/tempest/gate_hook.sh
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/kingbird/kingbird/tests/tempest/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,24 +0,0 @@
- job-template:
name: '{pipeline}-kolla-ansible-dsvm-{action}-{distro}-{type}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 90
- timestamps
builders:
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- install-distro-packages
- shell: |
#!/bin/bash -xe
export ACTION={action}
export BASE_DISTRO={distro}
export INSTALL_TYPE={type}
tools/setup_gate.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,56 +0,0 @@
- job-template:
name: 'gate-kolla-kubernetes-{action}-{distro}-{type}-{ver}-{config}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- shell: |
#!/bin/bash -xe
sudo yum-config-manager --enable epel || true
- install-distro-packages
- shell: |
#!/bin/bash -xe
tools/setup_gate.sh {action} {distro} {type} {config} {node} shell {ver} gate
publishers:
- devstack-logs
- console-log
- job-template:
name: 'periodic-kolla-kubernetes-{action}-{distro}-{type}-{ver}-{config}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- shell: |
#!/bin/bash -xe
sudo yum-config-manager --enable epel || true
- install-distro-packages
- shell: |
#!/bin/bash -xe
tools/setup_gate.sh {action} {distro} {type} {config} {node} shell {ver} periodic
publishers:
- devstack-logs
- scp:
site: 'tarballs.openstack.org'
files:
- source: 'UPLOAD_CONTAINERS/*'
target: 'tarballs/kolla-kubernetes/gate/containers/'
keep-hierarchy: false
copy-after-failure: false
- console-log

View File

@ -1,139 +0,0 @@
- job-template:
name: '{pipeline}-kolla-dsvm-{action}-{distro}-{type}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 120
- timestamps
builders:
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- install-distro-packages
- shell: |
#!/bin/bash -xe
export ACTION={action}
export BASE_DISTRO={distro}
export INSTALL_TYPE={type}
tools/gate_run.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'kolla-dsvm-build-{distro}-{type}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 120
- timestamps
builders:
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- install-distro-packages
- shell: |
#!/bin/bash -xe
export ACTION=build
export BASE_DISTRO={distro}
export INSTALL_TYPE={type}
export PACK_REGISTRY=1
tools/gate_run.sh
publishers:
- devstack-logs
- scp:
site: 'tarballs.openstack.org'
files:
- source: 'images/*.tar.gz'
target: 'tarballs/kolla/images/'
- console-log
- job-template:
name: 'publish-kolla-dsvm-{action}-{distro}-{type}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 120
- timestamps
builders:
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- install-distro-packages
- shell: |
#!/bin/bash -xe
export ACTION={action}
export BASE_DISTRO={distro}
export INSTALL_TYPE={type}
export PACK_REGISTRY=1
export PUBLISHER=1
tools/publisher.sh
publishers:
- devstack-logs
- scp:
site: 'tarballs.openstack.org'
files:
- source: 'images/*'
target: 'tarballs/kolla/images/tmp'
- console-log
- job-template:
name: '{pipeline}-kolla-dsvm-{orch}-{action}-{distro}-{type}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 120
- timestamps
builders:
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- install-distro-packages
- shell: |
#!/bin/bash -xe
export ORCH_ENGINE={orch}
export ACTION={action}
export BASE_DISTRO={distro}
export INSTALL_TYPE={type}
tools/publisher.sh
publishers:
- devstack-logs
- scp:
site: 'tarballs.openstack.org'
files:
- source: 'images/*.txt'
target: 'tarballs/kolla/images/tmp'
- console-log
- job-group:
name: 'kolla-publish-image-jobs'
suffix: ''
type:
- binary
- source
jobs:
- 'kolla-dsvm-build-{distro}-{type}-{node}{suffix}':
distro: ubuntu
node: ubuntu-xenial
- 'kolla-dsvm-build-{distro}-{type}-{node}{suffix}':
distro:
- centos
- oraclelinux
node: centos-7

View File

@ -1,538 +0,0 @@
- job-template:
name: '{pipeline}-install-dsvm-kuryr-libnetwork{topology}-{node-release}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin kuryr-libnetwork http://git.openstack.org/openstack/kuryr-libnetwork
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=0
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
if [ "{topology}" == "-multinode" ]; then
export CAPABILITY_SCOPE="global"
fi
export PROJECTS="openstack/kuryr-libnetwork $PROJECTS"
export PROJECTS="openstack/devstack-plugin-container $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function gate_hook {{
bash -xe $BASE/new/kuryr-libnetwork/kuryr_libnetwork/tests/contrib/gate_hook.sh
}}
export -f gate_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-install-dsvm-{variant}-kuryr-kubernetes{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=0
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
export PROJECTS="openstack/kuryr-kubernetes $PROJECTS"
export PROJECTS="openstack/dragonflow $PROJECTS"
export PROJECTS="openstack/devstack-plugin-container $PROJECTS"
function gate_hook {{
bash -xe $BASE/new/kuryr-kubernetes/devstack/gate_hook.sh {variant}
}}
export -f gate_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-lbaasv2-kuryr-kubernetes-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin kuryr-kubernetes \
https://git.openstack.org/openstack/kuryr-kubernetes
ENABLED_SERVICES=""
# Neutron services
enable_service neutron
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-svc
# Keystone
enable_service key
# dependencies
enable_service mysql
enable_service rabbit
# Nova
enable_service n-api
enable_service n-cpu
enable_service n-cond
enable_service n-sch
enable_service placement-api
enable_service placement-client
# Glance
enable_service g-api
enable_service g-reg
# Cinder
enable_service c-api
enable_service c-vol
enable_service c-sch
# Docker
enable_plugin devstack-plugin-container \
git://git.openstack.org/openstack/devstack-plugin-container
# Etcd
enable_service etcd3
# Kubernetes
enable_service kubernetes-api
enable_service kubernetes-controller-manager
enable_service kubernetes-scheduler
KURYR_K8S_API_PORT="8080"
# Kubelet
enable_service kubelet
# Kuryr watcher
enable_service kuryr-kubernetes
# LBaaSv2 service and Haproxy agent
enable_plugin neutron-lbaas git://git.openstack.org/openstack/neutron-lbaas
NEUTRON_LBAAS_SERVICE_PROVIDERV2=LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
ENABLED_SERVICES+=,q-lbaasv2
# Enable Tempest
enable_service tempest
# Enable Tempest plugin
TEMPEST_PLUGINS='/opt/stack/new/kuryr-tempest-plugin'
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST_REGEX="kuryr_tempest_plugin.tests"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/kuryr-kubernetes $PROJECTS"
export PROJECTS="openstack/kuryr-tempest-plugin $PROJECTS"
export PROJECTS="openstack/devstack-plugin-container $PROJECTS"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-octavia-kuryr-kubernetes-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin kuryr-kubernetes \
https://git.openstack.org/openstack/kuryr-kubernetes
ENABLED_SERVICES=""
# Neutron services
enable_service neutron
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-svc
# Keystone
enable_service key
# dependencies
enable_service mysql
enable_service rabbit
# Nova
enable_service n-api
enable_service n-cpu
enable_service n-cond
enable_service n-sch
enable_service placement-api
enable_service placement-client
# Glance
enable_service g-api
enable_service g-reg
# Cinder
enable_service c-api
enable_service c-vol
enable_service c-sch
# Docker
enable_plugin devstack-plugin-container \
git://git.openstack.org/openstack/devstack-plugin-container
# Etcd
enable_service etcd3
# Kubernetes
enable_service kubernetes-api
enable_service kubernetes-controller-manager
enable_service kubernetes-scheduler
KURYR_K8S_API_PORT="8080"
# Kubelet
enable_service kubelet
# Kuryr watcher
enable_service kuryr-kubernetes
# LBaaSv2 service and Octavia
LIBS_FROM_GIT+=python-octaviaclient
enable_plugin neutron-lbaas git://git.openstack.org/openstack/neutron-lbaas
enable_plugin octavia https://git.openstack.org/openstack/octavia
enable_plugin barbican https://git.openstack.org/openstack/barbican
ENABLED_SERVICES+=,q-lbaasv2,octavia,o-api,o-cw,o-hk,o-hm
# Enable Tempest
enable_service tempest
# Enable Tempest plugin
TEMPEST_PLUGINS='/opt/stack/new/kuryr-tempest-plugin'
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST_REGEX="kuryr_tempest_plugin.tests"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/kuryr-kubernetes $PROJECTS"
export PROJECTS="openstack/kuryr-tempest-plugin $PROJECTS"
export PROJECTS="openstack/devstack-plugin-container $PROJECTS"
export PROJECTS="openstack/barbican $PROJECTS"
export PROJECTS="openstack/python-barbicanclient $PROJECTS"
export PROJECTS="openstack/octavia $PROJECTS"
export PROJECTS="openstack/python-octaviaclient $PROJECTS"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-kuryr-kubernetes-multinode-{node-release}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin kuryr-kubernetes \
https://git.openstack.org/openstack/kuryr-kubernetes
ENABLED_SERVICES=""
# Neutron services
enable_service neutron
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-svc
# LBaaSv2 service and Haproxy agent
enable_plugin neutron-lbaas \
git://git.openstack.org/openstack/neutron-lbaas
enable_service q-lbaasv2
NEUTRON_LBAAS_SERVICE_PROVIDERV2="LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default"
# Keystone
enable_service key
# dependencies
enable_service mysql
enable_service rabbit
# Docker
enable_plugin devstack-plugin-container \
git://git.openstack.org/openstack/devstack-plugin-container
# Etcd
enable_service etcd3
# Kubernetes
enable_service kubernetes-api
enable_service kubernetes-controller-manager
enable_service kubernetes-scheduler
KURYR_K8S_API_PORT="8080"
# Kubelet
enable_service kubelet
# Kuryr watcher
enable_service kuryr-kubernetes
# Enable Tempest
enable_service tempest
# Enable Tempest plugin
TEMPEST_PLUGINS='/opt/stack/new/kuryr-tempest-plugin'
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST_REGEX="kuryr_tempest_plugin.tests"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/kuryr-kubernetes $PROJECTS"
export PROJECTS="openstack/kuryr-tempest-plugin $PROJECTS"
export PROJECTS="openstack/devstack-plugin-container $PROJECTS"
export DEVSTACK_GATE_TOPOLOGY="multinode"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-kuryr-libnetwork{kuryr_lib-src}-dsvm-fullstack-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin kuryr-libnetwork http://git.openstack.org/openstack/kuryr-libnetwork
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/kuryr-libnetwork $PROJECTS"
if [ "{kuryr_lib-src}" == "-kuryr_lib-src" ] ; then
export DEVSTACK_PROJECT_FROM_GIT="kuryr"
fi
export PROJECTS="openstack/devstack-plugin-container $PROJECTS"
function gate_hook {{
bash -xe $BASE/new/kuryr-libnetwork/kuryr_libnetwork/tests/contrib/gate_hook.sh fullstack
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/kuryr-libnetwork/kuryr_libnetwork/tests/contrib/post_test_hook.sh fullstack
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-kuryr-libnetwork{kuryr_lib-src}-dsvm-fullstack-py35-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin kuryr-libnetwork http://git.openstack.org/openstack/kuryr-libnetwork
# swift is not ready for python3 yet
disable_service s-account
disable_service s-container
disable_service s-object
disable_service s-proxy
- shell: |
#!/bin/bash -xe
export DEVSTACK_GATE_USE_PYTHON3=True
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/kuryr-libnetwork $PROJECTS"
if [ "{kuryr_lib-src}" == "-kuryr_lib-src" ] ; then
export DEVSTACK_PROJECT_FROM_GIT="kuryr"
fi
export PROJECTS="openstack/devstack-plugin-container $PROJECTS"
function gate_hook {{
bash -xe $BASE/new/kuryr-libnetwork/kuryr_libnetwork/tests/contrib/gate_hook.sh fullstack
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/kuryr-libnetwork/kuryr_libnetwork/tests/contrib/post_test_hook.sh fullstack
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-kuryr-libnetwork{kuryr_lib-src}-dsvm-rally-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin kuryr-libnetwork http://git.openstack.org/openstack/kuryr-libnetwork
enable_plugin rally git://git.openstack.org/openstack/rally
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export RALLY_SCENARIO=kuryr-libnetwork
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/kuryr-libnetwork $PROJECTS"
export PROJECTS="openstack/rally $PROJECTS"
export PROJECTS="openstack/devstack-plugin-container $PROJECTS"
if [ "{kuryr_lib-src}" == "-kuryr_lib-src" ] ; then
export DEVSTACK_PROJECT_FROM_GIT="kuryr"
fi
function gate_hook {{
bash -xe $BASE/new/kuryr-libnetwork/kuryr_libnetwork/tests/contrib/gate_hook.sh
}}
export -f gate_hook
function post_test_hook {{
$BASE/new/rally/tests/ci/rally-gate.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- rally-plot
- console-log

View File

@ -1,45 +0,0 @@
- job-template:
name: 'gate-liberasurecode-unit-{node}'
node: '{node}'
builders:
- zuul-git-prep
- install-distro-packages
- shell: |
#!/bin/bash -xe
./autogen.sh
./configure
make
make test
make valgrind-test
publishers:
- console-log
- job-template:
name: '{pipeline}-libec-pyeclib-unit-{node}'
node: '{node}'
builders:
- shell: |
#!/bin/bash -xe
cd $WORKSPACE
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org \
openstack/liberasurecode \
openstack/pyeclib
# build libec
cd openstack/liberasurecode
/usr/local/jenkins/slave_scripts/install-distro-packages.sh
./autogen.sh
./configure
make
sudo make install
sudo bash -c "echo /usr/local/lib >> /etc/ld.so.conf"
sudo ldconfig
# test pyeclib
cd $WORKSPACE/openstack/pyeclib
tox -e py27
publishers:
- console-log

View File

@ -1,60 +0,0 @@
- builder:
name: clone-loci
builders:
- shell: |
#!/bin/bash -xe
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org openstack/loci
- job-template:
name: 'gate-{name}-loci-{node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- print-template-name:
template-name: '{template-name}'
- link-logs
- zuul-git-prep
- clone-loci
- shell: |
#!/bin/bash -xe
openstack/loci/scripts/gate-setup.sh
openstack/loci/scripts/run-tests.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{name}-publish-loci-tarball'
node: ubuntu-xenial
builders:
- print-template-name:
template-name: '{template-name}'
- zuul-git-prep
- shell: |
#!/bin/bash -xe
mkdir dist
tar cvfz dist/{name}.tar.gz --exclude dist --exclude .git .
/usr/local/jenkins/slave_scripts/version-properties.sh
source version.properties
mv dist/{name}.tar.gz dist/{name}-$PROJECT_VER.tar.gz
publishers:
- tarball
- console-log
- job-group:
name: loci-jobs
node: ubuntu-xenial
jobs:
- 'gate-{name}-loci-{node}'

View File

@ -1,37 +0,0 @@
- job-template:
name: '{pipeline}-tempest-dsvm-lvm-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 180
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
NOVA_BACKEND=LVM
LVM_VOLUME_CLEAR=none
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/nova/devstack/tempest-dsvm-lvm-rc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

File diff suppressed because it is too large Load Diff

View File

@ -1,307 +0,0 @@
- builder:
name: devstack-magnum
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
if [ "{neutron}" -eq 1 ] ; then
export DEVSTACK_GATE_NEUTRON=1
fi
export DEVSTACK_GATE_TEMPEST=1
if [ "{tempest}" -eq 0 ] ; then
# Do not run any tempest tests
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
fi
if [ "{branch-override}" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/magnum $PROJECTS"
export PROJECTS="openstack/python-magnumclient $PROJECTS"
export PROJECTS="openstack/diskimage-builder $PROJECTS"
if [ "{multinode}" -eq 1 ] ; then
export DEVSTACK_GATE_TOPOLOGY="multinode"
export DEVSTACK_SUBNODE_CONFIG+=$'\n'"disable_service tempest"
fi
if [ "{identity-v3-only}" -eq 1 ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"ENABLE_IDENTITY_V2=False"
fi
if [ "{ironic}" -eq 1 ] ; then
export PROJECTS="openstack/ironic $PROJECTS"
export PROJECTS="openstack/ironic-lib $PROJECTS"
export PROJECTS="openstack/ironic-python-agent $PROJECTS"
export PROJECTS="openstack/python-ironicclient $PROJECTS"
export PROJECTS="openstack/pyghmi $PROJECTS"
export PROJECTS="openstack/virtualbmc $PROJECTS"
export MAGNUM_GATE_SPECIAL="-ironic"
fi
if [ "{horizon}" -eq 0 ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service horizon"
else
export DEVSTACK_GATE_HORIZON=1
fi
if [ "{swift}" -eq 0 ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-account"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-container"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-object"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-proxy"
fi
if [ "{ceilometer}" -eq 0 ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-acentral"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-acompute"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-alarm-evaluator"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-alarm-notifier"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-api"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service ceilometer-collector"
fi
# Keep localrc to be able to set some vars in post_test_hook
export KEEP_LOCALRC=1
function gate_hook {{
cd /opt/stack/new/magnum/
./magnum/tests/contrib/gate_hook.sh {coe} $MAGNUM_GATE_SPECIAL
}}
export -f gate_hook
function post_test_hook {{
source $BASE/new/devstack/accrc/admin/admin
cd /opt/stack/new/magnum/
./magnum/tests/contrib/post_test_hook.sh {coe} $MAGNUM_GATE_SPECIAL
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- job-template:
name: '{pipeline}-functional-dsvm-magnum-{coe}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- devstack-magnum:
coe: '{coe}'
ironic: '0'
identity-v3-only: '0'
ceilometer: '0'
swift: '0'
horizon: '0'
multinode: '0'
neutron: '1'
tempest: '0'
branch-override: '{branch-override}'
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-functional-dsvm-magnum-{coe}-ironic-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- devstack-magnum:
coe: '{coe}'
ironic: '1'
identity-v3-only: '0'
ceilometer: '0'
swift: '0'
horizon: '0'
multinode: '0'
neutron: '1'
tempest: '0'
branch-override: '{branch-override}'
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-functional-dsvm-magnum-{coe}-identity-v3-only-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- devstack-magnum:
coe: '{coe}'
ironic: '0'
identity-v3-only: '1'
ceilometer: '0'
swift: '0'
horizon: '0'
multinode: '0'
neutron: '1'
tempest: '0'
branch-override: '{branch-override}'
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-functional-dsvm-magnum-{coe}-multinode-{node-release}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- devstack-magnum:
coe: '{coe}'
ironic: '0'
identity-v3-only: '0'
ceilometer: '0'
swift: '0'
horizon: '0'
multinode: '1'
neutron: '1'
tempest: '0'
branch-override: '{branch-override}'
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-magnum-dib-buildimage-{image-name}-{node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- link-logs
- net-info
- install-distro-packages
- shell: |
#!/bin/bash -eux
cd ~
if [[ "{image-name}" =~ ^(ubuntu-mesos|centos-dcos)$ ]]; then
EXTRA_PROJECTS="openstack/tripleo-image-elements openstack/heat-templates"
else
EXTRA_PROJECTS=""
fi
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org \
openstack/diskimage-builder \
openstack/dib-utils \
openstack/magnum $EXTRA_PROJECTS
virtualenv env
./env/bin/pip install $(pwd)/openstack/dib-utils
./env/bin/pip install $(pwd)/openstack/diskimage-builder
# TODO(pabelanger): Remove once we migrated to bindep
./openstack/diskimage-builder/tests/install_test_deps.sh
# activate the virtualenv so that any tools run by dib run
# using the python inside it
set +u
source ./env/bin/activate
set -u
DIB_ELEMENTS=./openstack/diskimage-builder/diskimage_builder/elements
if [ "{image-name}" == "ubuntu-mesos" ]; then
TRIPLEO_ELEMENTS=./openstack/tripleo-image-elements/elements
HEAT_ELEMENTS=./openstack/heat-templates/hot/software-config/elements
MESOS_ELEMENTS=./openstack/magnum/magnum/drivers/mesos_ubuntu_v1/image
export ELEMENTS_PATH=$TRIPLEO_ELEMENTS:$HEAT_ELEMENTS:$MESOS_ELEMENTS
$MESOS_ELEMENTS/install_imagebuild_deps.sh
export DIB_RELEASE=trusty
export DIB_IMAGE_SIZE=2.2
disk-image-create ubuntu vm docker mesos \
os-collect-config os-refresh-config os-apply-config \
heat-config heat-config-script -o $WORKSPACE/{image-name}.qcow2
$MESOS_ELEMENTS/validate_image.sh $WORKSPACE/{image-name}.qcow2
elif [ "{image-name}" == "centos-dcos" ]; then
DCOS_ELEMENTS=./openstack/magnum/contrib/drivers/dcos_centos_v1/image
TRIPLEO_ELEMENTS=./openstack/tripleo-image-elements/elements
HEAT_ELEMENTS=./openstack/heat-templates/hot/software-config/elements
# Order matters, we need the docker elements from DCOS_ELEMENTS to be used first
export ELEMENTS_PATH=$DCOS_ELEMENTS:$DIB_ELEMENTS:$TRIPLEO_ELEMENTS:$HEAT_ELEMENTS
$DCOS_ELEMENTS/install_imagebuild_deps.sh
export DIB_IMAGE_SIZE=3.0
export FS_TYPE=xfs
curl -O https://downloads.dcos.io/dcos/stable/commit/e64024af95b62c632c90b9063ed06296fcf38ea5/dcos_generate_config.sh
export DCOS_GENERATE_CONFIG_SRC=`pwd`/dcos_generate_config.sh
disk-image-create \
centos7 vm docker dcos selinux-permissive \
os-collect-config os-refresh-config os-apply-config \
heat-config heat-config-script \
-o $WORKSPACE/{image-name}.qcow2
#TODO: Add size validation
else
MAGNUM_ELEMENTS=./openstack/magnum/magnum/drivers/common/image
export ELEMENTS_PATH=$DIB_ELEMENTS:$MAGNUM_ELEMENTS
$MAGNUM_ELEMENTS/fedora-atomic/install_imagebuild_deps.sh
export DIB_RELEASE="25"
export DIB_IMAGE_SIZE=2.5
export FEDORA_ATOMIC_TREE_URL="https://kojipkgs.fedoraproject.org/atomic/25/"
export FEDORA_ATOMIC_TREE_REF="8b15e9b988b4b02f4cb8b39bdd63d182ab7004a8926ecdac6314ee5c7ffa646b"
disk-image-create -x -o $WORKSPACE/{image-name}-dib fedora-atomic
# validate image
$MAGNUM_ELEMENTS/fedora-atomic/validate_atomic_image.sh $WORKSPACE/{image-name}-dib.qcow2
fi
set +u
deactivate
set -u
publishers:
- scp:
site: 'tarballs.openstack.org'
files:
- source: '*.qcow2'
target: 'tarballs/magnum/images'
keep-hierarchy: false
copy-after-failure: false
- console-log

View File

@ -1,638 +0,0 @@
- job:
name: gate-manila-ui-dsvm-nv
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 100
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin manila git://git.openstack.org/openstack/manila
enable_plugin manila-ui git://git.openstack.org/openstack/manila-ui
- firefox-install
- xvfb-install
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_HORIZON=1
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_PROJECT_FROM_GIT="python-manilaclient"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
# Enable dummy driver in Manila
function pre_test_hook {
source $BASE/new/manila/contrib/ci/pre_test_hook.sh \
True \
dummy \
multibackend
}
export -f pre_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: 'gate-manila-tempest-dsvm-{description}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 90
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin manila git://git.openstack.org/openstack/manila
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_POSTGRES={postgres_enabled}
export DEVSTACK_PROJECT_FROM_GIT="python-manilaclient"
# Install manila-image-elements project for building custom image
if [[ {driver} == *"_with_custom_image" ]]; then
export PROJECTS="openstack/manila-image-elements $PROJECTS"
fi
export ENABLED_SERVICES=tempest
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
# Build custom image if needed
if [[ {driver} == *"_with_custom_image" ]]; then
current_dir=$(pwd)
# Go to 'manila-image-elements' dir, build image and get its name
cd /opt/stack/new/manila-image-elements
./tools/gate/build-images {driver} True
image_name=$(git ls-files --others --exclude-standard)
export MANILA_SERVICE_IMAGE_URL="http://localhost:80/public_html/$image_name"
export MANILA_SERVICE_IMAGE_NAME=$(basename -s .tar.gz $(basename -s .qcow2 $image_name))
# Return back to execution dir
cd $current_dir
fi
# 'dhss' - acronym for 'Driver Handles Share Servers',
# defines mode of a share driver. Boolean-like.
# 'driver' - codename of a share driver to configure.
# 'back_end_type' - defines which installation Manila should
# have - either 'singlebackend' or 'multibackend'.
source $BASE/new/manila/contrib/ci/pre_test_hook.sh \
{dhss} \
{driver} \
{back_end_type}
}}
export -f pre_test_hook
function post_test_hook {{
# 'back_end_type' - defines which installation Manila is
# configured to - either 'singlebackend' or 'multibackend'.
# 'driver' - codename of a share driver that is configured in
# Manila. It is used for enabling/disabling tests that are not
# supported by share driver that is used.
# 'test_type' - defines which set of test suites should be used,
# can have 'api' and 'scenario' values.
# 'postgres_enabled' - set of test suites depends on DB backend
# in some cases, so it is provided explicitely. Boolean-like.
source $BASE/new/manila/contrib/ci/post_test_hook.sh \
{back_end_type} \
{driver} \
{test_type} \
{postgres_enabled}
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'gate-manila-tempest-minimal-dsvm-{driver}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 90
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin manila git://git.openstack.org/openstack/manila
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_PROJECT_FROM_GIT="python-manilaclient"
# Basic services needed for minimal job
OVERRIDE_ENABLED_SERVICES=key,mysql,rabbit,tempest
if [ "{driver}" == "lvm" ]; then
# Enable glance for scenario tests
OVERRIDE_ENABLED_SERVICES+=,g-api,g-reg
# Enable nova for scenario tests
OVERRIDE_ENABLED_SERVICES+=,n-api,n-cpu,n-cond,n-sch,n-crt,n-cauth,n-obj
# Enable neutron for scenario tests
OVERRIDE_ENABLED_SERVICES+=,q-svc,q-dhcp,q-meta,q-l3,q-agt
# Enable mandatory placement services for nova starting with ocata
if [[ "stable/newton" != $ZUUL_BRANCH ]]; then
OVERRIDE_ENABLED_SERVICES+=,placement-api,placement-client
fi
fi
export OVERRIDE_ENABLED_SERVICES
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
# 'dhss' - acronym for 'Driver Handles Share Servers',
# defines mode of a share driver. Boolean-like.
# 'driver' - codename of a share driver to configure.
# 'back_end_type' - defines which installation Manila should
# have - either 'singlebackend' or 'multibackend'.
source $BASE/new/manila/contrib/ci/pre_test_hook.sh False {driver} multibackend
}}
export -f pre_test_hook
function post_test_hook {{
# 'back_end_type' - defines which installation Manila is
# configured to - either 'singlebackend' or 'multibackend'.
# 'driver' - codename of a share driver that is configured in
# Manila. It is used for enabling/disabling tests that are not
# supported by share driver that is used.
# 'test_type' - defines which set of test suites should be used,
# can have 'api' and 'scenario' values.
# 'postgres_enabled' - set of test suites depends on DB backend
# in some cases, so it is provided explicitely. Boolean-like.
source $BASE/new/manila/contrib/ci/post_test_hook.sh multibackend {driver} api False
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-grenade-dsvm-manila-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 180
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PROJECTS="openstack-dev/grenade $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT="python-manilaclient"
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=0
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export DEVSTACK_GATE_GRENADE=pullup
# Basic services needed for grenade manila job using dummy driver
export OVERRIDE_ENABLED_SERVICES=key,mysql,rabbit
# Enable manila grenade plugin. Provided repo should be
# cloned by zuul before devstack run and below provided
# link should not be used.
export GRENADE_PLUGINRC="enable_grenade_plugin manila git://git.openstack.org/openstack/manila"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
source $BASE/new/manila/contrib/ci/pre_test_hook.sh \
True \
dummy \
multibackend
}}
export -f pre_test_hook
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-manilaclient-dsvm-neutron-functional-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 80
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin manila git://git.openstack.org/openstack/manila
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_PROJECT_FROM_GIT="python-manilaclient"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
source $BASE/new/python-manilaclient/contrib/ci/pre_test_hook.sh
}}
export -f pre_test_hook
function post_test_hook {{
# Configure and run functional tests
source $BASE/new/python-manilaclient/contrib/ci/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: 'gate-manila-publishimage-{image-name}-{node}'
node: '{node}'
builders:
- link-logs
- net-info
- zuul-git-prep
- install-distro-packages
- shell: |
#!/bin/bash -xe
./tools/gate/build-images {image-name}
BRANCH=$ZUUL_REFNAME
BRANCH_PATH=`echo $BRANCH | sed 's/^refs.tags.//' | tr / -`
mkdir -p images
mv manila-service-image.qcow2 images/manila-service-image-$BRANCH_PATH.qcow2
publishers:
- scp:
site: 'tarballs.openstack.org'
files:
- source: 'images/*'
target: 'tarballs/manila-image-elements/images/'
keep-hierarchy: false
copy-after-failure: false
- console-log
- job-template:
name: 'gate-manila-buildimage-{image-name}-{node}'
node: '{node}'
builders:
- link-logs
- net-info
- zuul-git-prep
- install-distro-packages
- shell: |
#!/bin/bash -xe
./tools/gate/build-images {image-name}
publishers:
- console-log
- job-template:
name: 'gate-manila-test-image-build'
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- link-logs
- net-info
- zuul-git-prep
- install-distro-packages
- shell: |
#!/bin/bash -xe
./run-buildroot.sh
publishers:
- console-log
- job-template:
name: gate-manila-tempest-dsvm-glusterfs-{variant}-{node}{suffix}
node: '{node}'
wrappers:
- build-timeout:
timeout: 80
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin manila git://git.openstack.org/openstack/manila
# Enable devstack-plugin-glusterfs plugin, to install and configure GlusterFS.
enable_plugin devstack-plugin-glusterfs git://git.openstack.org/openstack/devstack-plugin-glusterfs
# Configure devstack-plugin-glusterfs to enable GlusterFS as a backend for Manila.
CONFIGURE_GLUSTERFS_MANILA=True
# Configure devstack-plugin-glusterfs to use respective GlusterFS driver variant.
GLUSTERFS_MANILA_DRIVER_TYPE=glusterfs-{variant}
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export ENABLED_SERVICES=tempest
export DEVSTACK_PROJECT_FROM_GIT="python-manilaclient"
export PROJECTS="openstack/devstack-plugin-glusterfs $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
# Configure devstack to run manila installation without handling of share servers
source $BASE/new/devstack-plugin-glusterfs/manila/pre_test_hook.sh
}}
export -f pre_test_hook
function post_test_hook {{
# Configure and run tempest on singlebackend manila installation
source $BASE/new/devstack-plugin-glusterfs/manila/post_test_hook.sh singlebackend
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'gate-manila-tempest-dsvm-hdfs-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 80
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin manila git://git.openstack.org/openstack/manila
# Enable devstack-plugin-hdfs plugin, to install and configure HDFS.
enable_plugin devstack-plugin-hdfs git://git.openstack.org/openstack/devstack-plugin-hdfs
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export ENABLED_SERVICES=tempest
export PROJECTS="openstack/devstack-plugin-hdfs $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT="python-manilaclient"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
# Configure devstack to run manila installation without handling of share servers
source $BASE/new/devstack-plugin-hdfs/manila/pre_test_hook.sh
}}
export -f pre_test_hook
function post_test_hook {{
# Configure and run tempest on multi-backend manila installation
source $BASE/new/devstack-plugin-hdfs/manila/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'gate-manila-tempest-minimal-dsvm-cephfs-{variant}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 80
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin manila git://git.openstack.org/openstack/manila
enable_plugin devstack-plugin-ceph git://git.openstack.org/openstack/devstack-plugin-ceph
# Enable CephFS as the backend for Manila.
ENABLE_CEPH_MANILA=True
# Disable Ceph as the storage backend for Nova.
ENABLE_CEPH_NOVA=False
# Disable Ceph as the storage backend for Glance.
ENABLE_CEPH_GLANCE=False
# Disable Ceph as the storage backend for Cinder.
ENABLE_CEPH_CINDER=False
# Disable Ceph as the storage backend for Cinder backup.
ENABLE_CEPH_C_BAK=False
# Set native or NFS variant of ceph driver
MANILA_CEPH_DRIVER=cephfs{variant}
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export ENABLED_SERVICES=tempest
export PROJECTS="openstack/devstack-plugin-ceph $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT="python-manilaclient"
export KEEP_LOCALRC=1
function pre_test_hook {{
# Configure Manila with a CephFS Native or NFS driver backend.
# Refer to job-template pre_test_hook for more details on the
# arguments.
source $BASE/new/devstack-plugin-ceph/manila/pre_test_hook.sh \
false cephfs{variant} singlebackend
}}
export -f pre_test_hook
function post_test_hook {{
# Configure and run Tempest API tests on Manila with a
# CephFSNative driver backend.
# Refer to job-template post_test_hook for more details on the
# arguments.
source $BASE/new/devstack-plugin-ceph/manila/post_test_hook.sh \
singlebackend cephfs{variant} api
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'gate-manila-tempest-minimal-py35-dsvm-cephfs-{variant}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 80
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
# swift is not ready for python3 yet
disable_service s-account
disable_service s-container
disable_service s-object
disable_service s-proxy
enable_plugin manila git://git.openstack.org/openstack/manila
enable_plugin devstack-plugin-ceph git://git.openstack.org/openstack/devstack-plugin-ceph
# Enable CephFS as the backend for Manila.
ENABLE_CEPH_MANILA=True
# Disable Ceph as the storage backend for Nova.
ENABLE_CEPH_NOVA=False
# Disable Ceph as the storage backend for Glance.
ENABLE_CEPH_GLANCE=False
# Disable Ceph as the storage backend for Cinder.
ENABLE_CEPH_CINDER=False
# Disable Ceph as the storage backend for Cinder backup.
ENABLE_CEPH_C_BAK=False
# Set native or NFS variant of ceph driver
MANILA_CEPH_DRIVER=cephfs{variant}
- shell: |
#!/bin/bash -xe
export DEVSTACK_GATE_USE_PYTHON3=True
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export ENABLED_SERVICES=tempest
export PROJECTS="openstack/python-manilaclient openstack/devstack-plugin-ceph $PROJECTS"
export KEEP_LOCALRC=1
function pre_test_hook {{
# Configure Manila with a CephFS Native or NFS driver backend.
# Refer to job-template pre_test_hook for more details on the
# arguments.
source $BASE/new/devstack-plugin-ceph/manila/pre_test_hook.sh \
false cephfs{variant} singlebackend
}}
export -f pre_test_hook
function post_test_hook {{
# Configure and run Tempest API tests on Manila with a
# CephFSNative driver backend.
# Refer to job-template post_test_hook for more details on the
# arguments.
source $BASE/new/devstack-plugin-ceph/manila/post_test_hook.sh \
singlebackend cephfs{variant} api
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,197 +0,0 @@
- job:
name: propose-openstack-manuals-updates
node: proposal
builders:
- proposal-slave-cleanup
- revoke-sudo
- link-logs
- net-info
- zuul-git-prep-upper-constraints
- shell: /usr/local/jenkins/slave_scripts/propose_update.sh openstack-manuals
publishers:
- console-log
- job-template:
name: 'gate-{name}-tox-doc-publish-{envlist}'
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: '{envlist}'
- assert-no-extra-files
publishers:
- upload-docs-draft
- upload-doc-build-results
- console-log
- job-template:
name: '{name}-tox-doc-{envlist}'
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 40
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- run-tox:
envlist: '{envlist}'
publishers:
- upload-to-docs-site
- upload-doc-build-results
- console-log
- job-group:
name: openstack-doc-jobs
jobs:
- gate-{name}-tox-{envlist}-{node}:
envlist: checkniceness
node: ubuntu-xenial
- gate-{name}-tox-doc-publish-{envlist}:
envlist: checkbuild
- '{name}-tox-doc-{envlist}':
envlist: publishdocs
- job-template:
name: gate-{name}-install-guide
description: Build and draft the Install Guide from source.
node: ubuntu-xenial
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- shell:
!include-raw-escape:
- include/install-guide-pre.sh
- include/run-project-guide.sh
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'docs-draft/$LOG_PATH'
source: 'install-guide/build/html/**'
keep-hierarchy: true
copy-after-failure: true
- console-log
- job-template:
name: gate-{name}-deploy-guide
description: Build and draft Deployment Guides from source.
node: ubuntu-xenial
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- shell:
!include-raw-escape:
- include/deploy-guide-pre.sh
- include/run-project-guide.sh
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'docs-draft/$LOG_PATH'
source: 'deploy-guide/build/html/**'
keep-hierarchy: true
copy-after-failure: true
- console-log
- job-template:
name: '{name}-install-guide'
description: Build and publish the Install Guide from source.
node: ubuntu-xenial
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- shell:
!include-raw-escape:
- include/install-guide-pre.sh
- include/run-project-guide.sh
- add-docs-root-marker:
docsrootdir: install-guide/build/html/
publishers:
- afs:
site: afs-docs
source: 'install-guide/build/html/**'
target: 'project-install-guide/{service}'
remove-prefix: 'install-guide/build/html/'
- console-log
- job-template:
name: '{name}-deploy-guide'
description: Build and publish the Deploy Guide from source.
node: ubuntu-xenial
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- shell:
!include-raw-escape:
- include/deploy-guide-pre.sh
- include/run-project-guide.sh
- add-docs-root-marker:
docsrootdir: deploy-guide/build/html/
publishers:
- afs:
site: afs-docs
source: 'deploy-guide/build/html/**'
target: 'project-deploy-guide/{service}'
remove-prefix: 'deploy-guide/build/html/'
- console-log
# Be aware that the variable "service" needs to be set when this job
# group is used.
# The "service" variable comes from the service catalog, which is
# based on the openstack/service-types-authority project as a
# canonical reference for names. When your project has spaces in the
# service entry, use dashes for the spaces, such as "object-storage"
# (the service is not swift).
- job-group:
name: install-guide-jobs
jobs:
- gate-{name}-install-guide
- '{name}-install-guide'
# Be aware that the variable "service" needs to be set when this job
# group is used.
# The "service" variable comes from the service catalog, which is
# based on the openstack/service-types-authority project as a
# canonical reference for names. When your project has spaces in the
# service entry, use dashes for the spaces, such as "object-storage"
# (the service is not swift).
- job-group:
name: deploy-guide-jobs
jobs:
- gate-{name}-deploy-guide
- '{name}-deploy-guide'

View File

@ -1,62 +0,0 @@
# usig a freestyle project to work around jenkins bug:
# https://issues.jenkins-ci.org/browse/JENKINS-14193
- job-template:
name: '{name}-localrepo-upload-{node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 30
- timestamps
builders:
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- shell: |
#!/bin/bash -xe
/usr/local/jenkins/slave_scripts/version-properties.sh
source version.properties
mvn clean package -Dproject-version=$PROJECT_VER
publishers:
- war:
warfile: 'target/{name}-*.jar'
target: 'tarballs/ci/{name}'
- console-log
- job-template:
name: '{name}-mavencentral-upload'
node: release
builders:
- revoke-sudo
- shell: |
#!/bin/bash -xe
TAG=`echo $ZUUL_REF | sed 's/^refs.tags.//'`
FILENAME_BIN="{name}-$TAG.jar"
# copy plugin artifacts from tarballs to local workspace
rm -rf *.jar
curl -o $FILENAME_BIN http://tarballs.openstack.org/ci/{name}/$FILENAME_BIN
# deploy to maven repository
FILENAME_POM="{name}-$TAG.pom"
/usr/local/jenkins/slave_scripts/mavencentral-upload.sh {name} $TAG \
$FILENAME_POM $FILENAME_BIN
publishers:
- console-log
- job-group:
name: maven-plugin-jobs
jobs:
- 'gate-{name}-maven-build-{node}':
node:
- ubuntu-trusty
- ubuntu-xenial
- '{name}-localrepo-upload-{node}':
node: ubuntu-xenial
- '{name}-mavencentral-upload'

View File

@ -1,76 +0,0 @@
- job:
name: node-test
node: ubuntu-xenial
parameters:
- label:
name: NODE
description: Node to test
builders:
- shell: 'echo ok'
publishers: []
- job-template:
name: 'gate-{name}-run-tests'
node: ubuntu-xenial
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep
- install-distro-packages
- revoke-sudo
- run-tests
publishers:
- console-log
- job-template:
name: 'gate-{name}-linters-{node}'
description: General target to run all lint like jobs
node: '{node}'
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- linters
publishers:
- console-log
- job-template:
name: 'gate-{name}-bashate'
node: ubuntu-xenial
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- bashate
publishers:
- console-log
- job:
name: 'sandbox-tag'
node: ubuntu-xenial
builders:
- zuul-git-prep
- install-distro-packages
- revoke-sudo
publishers:
- console-log
- job-group:
name: linters-jobs
node: ubuntu-xenial
jobs:
- 'gate-{name}-linters-{node}'

View File

@ -1,102 +0,0 @@
- job-template:
name: '{pipeline}-{component}-devstack-dsvm{special}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
if [ "{component}" = "python-mistralclient" ] ; then
# This puts the repo in PROJECTS
export DEVSTACK_PROJECT_FROM_GIT="python-mistralclient"
else
export PROJECTS="openstack/python-mistralclient $PROJECTS"
fi
export ENABLED_SERVICES=heat,h-api,h-api-cfn,h-api-cw,h-eng,tempest
export PROJECTS="openstack/heat $PROJECTS"
export PROJECTS="openstack/mistral $PROJECTS"
export PROJECTS="openstack/mistral-dashboard $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin mistral https://git.openstack.org/openstack/mistral"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin heat git://git.openstack.org/openstack/heat"
if [ "{special}" == "-non-apache" ]; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"MISTRAL_USE_MOD_WSGI=False"
fi
if [ "{special}" == "-kombu" ]; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"MISTRAL_RPC_IMPLEMENTATION=kombu"
fi
function post_test_hook {{
cd /opt/stack/new/{component}/functionaltests
./post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-mistral-ha-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- zuul-git-prep
- install-distro-packages
- shell: |
# TODO: this is a temporary solution that puts all installation
# code into a script residing in mistral repo just for more
# convenient debugging (since we will be able to send patchsets to
# mistral with "check experimental" and trigger the gate). After
# it's ready it'll be better to create a special builder in this
# file.
ha_gate/install.sh
ha_gate/run_tests.sh
publishers:
- console-log
- job:
name: gate-mistral-docker-buildimage
node: ubuntu-xenial
builders:
- link-logs
- net-info
- zuul-git-prep
- install-distro-packages
- shell: |
./docker_image_build.sh
publishers:
- scp:
site: 'tarballs.openstack.org'
files:
- source: 'mistral-docker.tar.gz'
target: 'tarballs/mistral/images'
keep-hierarchy: false
copy-after-failure: false
- console-log

View File

@ -1,39 +0,0 @@
- job-template:
name: '{pipeline}-mixmatch-dsvm-functional-{node}{job-suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export BRANCH_OVERRIDE={branch-override}
export PROJECTS="openstack/mixmatch $PROJECTS"
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_LOCAL_CONFIG="enable_plugin mixmatch git://git.openstack.org/openstack/mixmatch"
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
function post_test_hook {{
# Configure and run functional tests
$BASE/new/mixmatch/mixmatch/tests/functional/hooks/dsvm_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,48 +0,0 @@
- job:
name: 'gate-mogan-dsvm-tempest-plugin'
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin ironic git://git.openstack.org/openstack/ironic
enable_plugin mogan git://git.openstack.org/openstack/mogan
IRONIC_TEMPEST_WHOLE_DISK_IMAGE=True
IRONIC_USE_RESOURCE_CLASSES=True
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
# Run only mogan tests
export DEVSTACK_GATE_TEMPEST_REGEX="^mogan\."
export DEVSTACK_GATE_IRONIC=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_VIRT_DRIVER=ironic
export DEVSTACK_GATE_CONFIGDRIVE=1
export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=0
export DEVSTACK_GATE_IRONIC_DRIVER=agent_ipmitool
export PROJECTS="openstack/mogan $PROJECTS"
export PROJECTS="openstack/python-moganclient $PROJECTS"
export PROJECTS="openstack/ironic $PROJECTS"
export PROJECTS="openstack/ironic-lib $PROJECTS"
export PROJECTS="openstack/ironic-python-agent $PROJECTS"
export PROJECTS="openstack/python-ironicclient $PROJECTS"
export OVERRIDE_ENABLED_SERVICES="g-api,g-reg,q-agt,q-dhcp,q-l3,q-svc,key,mysql,rabbit,ir-api,ir-cond,s-account,s-container,s-object,s-proxy,tempest"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,59 +0,0 @@
- job-template:
name: 'gate-tempest-dsvm-monasca-transform-{pyver}-functional{suffix}'
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin monasca-api git://git.openstack.org/openstack/monasca-api
enable_plugin monasca-transform git://git.openstack.org/openstack/monasca-transform
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
if [ "{pyver}" == "python35" ]; then
export DEVSTACK_GATE_USE_PYTHON3=True
else
export DEVSTACK_GATE_USE_PYTHON3=False
fi
export ENABLED_SERVICES=tempest
export PROJECTS="openstack/monasca-transform $PROJECTS"
export PROJECTS="openstack/monasca-api $PROJECTS"
export PROJECTS="openstack/monasca-persister $PROJECTS"
export PROJECTS="openstack/monasca-common $PROJECTS"
export PROJECTS="openstack/monasca-agent $PROJECTS"
export PROJECTS="openstack/monasca-notification $PROJECTS"
export PROJECTS="openstack/monasca-thresh $PROJECTS"
export PROJECTS="openstack/monasca-statsd $PROJECTS"
export PROJECTS="openstack/python-monascaclient $PROJECTS"
export PROJECTS="openstack/monasca-grafana-datasource $PROJECTS"
export PROJECTS="openstack/monasca-ui $PROJECTS"
function pre_test_hook {{
source $BASE/new/monasca-transform/devstack/pre_test_hook.sh
}}
export -f pre_test_hook
function post_test_hook {{
# Configure and run tempest on monasca-transform installation
source $BASE/new/monasca-transform/devstack/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,192 +0,0 @@
- job-template:
name: 'gate-tempest-dsvm-monasca-{lang}-{backend}-full-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin monasca-api git://git.openstack.org/openstack/monasca-api
MONASCA_API_IMPLEMENTATION_LANG={lang}
MONASCA_PERSISTER_IMPLEMENTATION_LANG={lang}
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export ENABLED_SERVICES=tempest
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_EXERCISES=0
if [ {backend} == "postgresql" ]; then
export DEVSTACK_GATE_POSTGRES=1
else
export DEVSTACK_GATE_POSTGRES=0
fi
export PROJECTS="openstack/monasca-api $PROJECTS"
export PROJECTS="openstack/monasca-persister $PROJECTS"
export PROJECTS="openstack/monasca-common $PROJECTS"
export PROJECTS="openstack/monasca-agent $PROJECTS"
export PROJECTS="openstack/monasca-notification $PROJECTS"
export PROJECTS="openstack/monasca-thresh $PROJECTS"
export PROJECTS="openstack/monasca-statsd $PROJECTS"
export PROJECTS="openstack/python-monascaclient $PROJECTS"
export PROJECTS="openstack/monasca-grafana-datasource $PROJECTS"
export PROJECTS="openstack/monasca-ui $PROJECTS"
function pre_test_hook {{
source $BASE/new/monasca-api/devstack/pre_test_hook.sh
}}
export -f pre_test_hook
function post_test_hook {{
# Configure and run tempest on monasca-api installation
source $BASE/new/monasca-api/devstack/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-group:
name: 'tempest-monasca-full-jobs'
jobs:
- 'gate-tempest-dsvm-monasca-{lang}-{backend}-full-{node}{suffix}':
node: ubuntu-xenial
suffix:
- ''
- '-nv'
lang:
- 'python'
- 'java'
backend:
- 'mysql'
- 'postgresql'
- job-template:
name: 'gate-tempest-dsvm-monasca-log-api-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin monasca-api git://git.openstack.org/openstack/monasca-api
enable_plugin monasca-log-api git://git.openstack.org/openstack/monasca-log-api
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=0
export OVERRIDE_ENABLED_SERVICES=key,mysql,rabbit,tempest,dstat
export PROJECTS="openstack/monasca-api $PROJECTS"
export PROJECTS="openstack/monasca-log-api $PROJECTS"
export PROJECTS="openstack/monasca-persister $PROJECTS"
export PROJECTS="openstack/monasca-common $PROJECTS"
export PROJECTS="openstack/monasca-agent $PROJECTS"
export PROJECTS="openstack/monasca-notification $PROJECTS"
export PROJECTS="openstack/monasca-thresh $PROJECTS"
export PROJECTS="openstack/monasca-statsd $PROJECTS"
export PROJECTS="openstack/python-monascaclient $PROJECTS"
export PROJECTS="openstack/monasca-grafana-datasource $PROJECTS"
export PROJECTS="openstack/monasca-ui $PROJECTS"
export PROJECTS="openstack/monasca-kibana-plugin $PROJECTS"
function pre_test_hook {{
source $BASE/new/monasca-log-api/devstack/pre_test_hook.sh
}}
export -f pre_test_hook
function post_test_hook {{
# Configure and run tempest on monasca-log-api installation
source $BASE/new/monasca-log-api/devstack/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: 'gate-tempest-dsvm-monasca-pipeline-{pipeline}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=0
export OVERRIDE_ENABLED_SERVICES=key,mysql,rabbit,tempest,dstat
devstack_plugin=''
if [ {pipeline} == 'logs' ]; then
devstack_plugin='log-api'
export DEVSTACK_LOCAL_CONFIG="enable_plugin monasca-log-api git://git.openstack.org/openstack/monasca-log-api"
elif [ {pipeline} == 'events' ]; then
devstack_plugin='events-api'
export DEVSTACK_LOCAL_CONFIG="enable_plugin monasca-events-api git://git.openstack.org/openstack/monasca-events-api"
else
echo "Unknown pipeline {pipeline}"
exit 1
fi
pre_test_hook_script=$BASE/new/monasca-$devstack_plugin/devstack/pre_test_hook.sh
post_test_hook_script=$BASE/new/monasca-$devstack_plugin/devstack/post_test_hook.sh
devstack_rc_script=/opt/stack/new/monasca-$devstack_plugin/devstack/devstackgaterc
if [ -f $pre_test_hook_script ]; then
function pre_test_hook {{
source $pre_test_hook_script
}}
export -f pre_test_hook
fi
if [ -f $post_test_hook_script ]; then
function post_test_hook {{
source $post_test_hook_script
}}
export -f post_test_hook
fi
if [ -f $devstack_rc_script ]; then
export DEVSTACK_GATE_SETTINGS=$devstack_rc_script
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,315 +0,0 @@
# Murano and Congress integration functional tests
- job-template:
name: 'gate-murano-congress-devstack-dsvm-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin heat git://git.openstack.org/openstack/heat
enable_plugin mistral git://git.openstack.org/openstack/mistral
enable_plugin congress git://git.openstack.org/openstack/congress
MURANO_ENABLE_MODEL_POLICY_ENFORCEMENT=True
enable_plugin murano git://git.openstack.org/openstack/murano
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export ENABLED_SERVICES=tempest
export PROJECTS="openstack/heat $PROJECTS"
export PROJECTS="openstack/python-heatclient $PROJECTS"
export PROJECTS="openstack/murano $PROJECTS"
export PROJECTS="openstack/murano-dashboard $PROJECTS"
export PROJECTS="openstack/python-muranoclient $PROJECTS"
export PROJECTS="openstack/congress $PROJECTS"
export PROJECTS="openstack/python-congressclient $PROJECTS"
export PROJECTS="openstack/congress-dashboard $PROJECTS"
export PROJECTS="openstack/mistral $PROJECTS"
export PROJECTS="openstack/mistral-dashboard $PROJECTS"
export PROJECTS="openstack/python-mistralclient $PROJECTS"
export KEEP_LOCALRC=1
# Enable murano devstack plugin. Provided repo should be cloned by zuul before devstack run
# and below provided link should not be used.
function pre_test_hook {{
cd /opt/stack/new/murano/functionaltests
./pre_test_hook_congress.sh
./pre_test_hook_mistral.sh
./pre_test_hook.sh
}}
export -f pre_test_hook
function post_test_hook {{
cd /opt/stack/new/murano/functionaltests
./post_test_hook.sh congress_mistral
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-muranoclient-dsvm-functional-{mode}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_PROJECT_FROM_GIT=python-muranoclient
export BRANCH_OVERRIDE={branch-override}
export ENABLED_SERVICES=tempest
export PROJECTS="openstack/heat $PROJECTS"
export PROJECTS="openstack/python-heatclient $PROJECTS"
export PROJECTS="openstack/murano $PROJECTS"
export PROJECTS="openstack/murano-dashboard $PROJECTS"
export KEEP_LOCALRC=1
# Enable murano devstack plugin. Provided repo should be cloned by zuul before devstack run
# and below provided link should not be used.
export DEVSTACK_LOCAL_CONFIG="enable_plugin heat git://git.openstack.org/openstack/heat"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin murano git://git.openstack.org/openstack/murano"
if [ "{mode}" = "glare-backend" ]; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_service g-glare"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"MURANO_USE_GLARE=True"
fi
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function pre_test_hook {{
# Install Murano devstack modules
cd /opt/stack/new/murano/functionaltests
./pre_test_hook.sh
}}
export -f pre_test_hook
function post_test_hook {{
# Configure and run functional tests
/opt/stack/new/python-muranoclient/muranoclient/tests/functional/hooks/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: 'gate-tempest-dsvm-murano-{mode}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_NEUTRON=1
# Allow tempest to use site-packages with plugins
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export PROJECTS="openstack/heat $PROJECTS"
export PROJECTS="openstack/python-heatclient $PROJECTS"
export PROJECTS="openstack/murano $PROJECTS"
export PROJECTS="openstack/murano-dashboard $PROJECTS"
export PROJECTS="openstack/python-muranoclient $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin heat git://git.openstack.org/openstack/heat"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin murano git://git.openstack.org/openstack/murano"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
if [ "{mode}" = "cfapi" ]; then
export ENABLED_SERVICES+=,murano-cfapi
export DEVSTACK_GATE_TEMPEST_REGEX="service_broker"
elif [ "{mode}" = "api" ]; then
export DEVSTACK_GATE_TEMPEST_REGEX="application_catalog"
elif [ "{mode}" = "glare-backend" ]; then
export DEVSTACK_GATE_TEMPEST_REGEX="application_catalog"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_service g-glare"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"MURANO_USE_GLARE=True"
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: 'gate-dsvm-{name}-{murano-app}-unittest-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- zuul-git-prep
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin murano git://git.openstack.org/openstack/murano
disable_service heat h-api h-api-cfn h-api-cw h-eng
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export KEYSTONE_USE_MOD_WSGI=False
# Allow tempest to use site-packages with plugins
export PROJECTS="openstack/murano $PROJECTS"
export PROJECTS="openstack/python-muranoclient $PROJECTS"
export PROJECTS="openstack/murano-dashboard $PROJECTS"
function post_test_hook {{
# Configure and run functional tests
. /opt/stack/new/devstack/openrc admin admin
cd ${{WORKSPACE}}
tox -ve {murano-app}-unittest
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
# Experimental murano functional pipeline in place of outdated murano-ci.
- job-template:
name: 'gate-murano-dsvm-functional-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin heat git://git.openstack.org/openstack/heat
enable_plugin murano git://git.openstack.org/openstack/murano
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export DEVSTACK_GATE_NEUTRON=1
export PROJECTS="openstack/heat $PROJECTS"
export PROJECTS="openstack/python-heatclient $PROJECTS"
export PROJECTS="openstack/murano $PROJECTS"
export PROJECTS="openstack/murano-dashboard $PROJECTS"
export PROJECTS="openstack/python-muranoclient $PROJECTS"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function post_test_hook {{
source $BASE/new/murano/functionaltests/post_test_hook_experimental.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
# Experimental murano functional pipeline in place of outdated murano-ci.
- job-template:
name: 'gate-dashboard-dsvm-selenium-{type}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin murano git://git.openstack.org/openstack/murano
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export DEVSTACK_GATE_NEUTRON=1
export PROJECTS="openstack/murano $PROJECTS"
export PROJECTS="openstack/murano-dashboard $PROJECTS"
export PROJECTS="openstack/python-muranoclient $PROJECTS"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function post_test_hook {{
source $BASE/new/murano-dashboard/muranodashboard/tests/contrib/post_test_hook_experimental.sh \
{type}
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,114 +0,0 @@
- job-template:
name: '{pipeline}-tempest-dsvm-networking-bagpipe{which}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-bagpipe git://git.openstack.org/openstack/networking-bagpipe
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_FULL=1
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-bagpipe $PROJECTS"
# we need to add networking-bgpvpn as well, which we
# depend on
export PROJECTS="openstack/networking-bgpvpn $PROJECTS"
function gate_hook {{
bash -xe $BASE/new/networking-bagpipe/devstack/gate_hook.sh {which}
}}
export -f gate_hook
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-bagpipe/devstack/devstack-gate-rc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-networking-bagpipe-dsvm-fullstack-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-bagpipe git://git.openstack.org/openstack/networking-bagpipe
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-bagpipe $PROJECTS"
# we need to add networking-bgpvpn as well, which we
# depend on
export PROJECTS="openstack/networking-bgpvpn $PROJECTS"
function pre_test_hook {{
. $BASE/new/networking-bagpipe/devstack/pre_test_hook.sh fullstack
}}
export -f pre_test_hook
function gate_hook {{
bash -xe $BASE/new/networking-bagpipe/devstack/gate_hook.sh fullstack
}}
export -f gate_hook
function post_test_hook {{
. $BASE/new/networking-bagpipe/devstack/post_test_hook.sh fullstack
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-bagpipe/devstack/devstack-gate-rc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,179 +0,0 @@
# Inspiration largely taken from networking-ovn.yaml
- job-template:
name: '{pipeline}-networking-bgpvpn-dsvm-{bgpvpntest}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-bgpvpn git://git.openstack.org/openstack/networking-bgpvpn
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-bgpvpn $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
. $BASE/new/networking-bgpvpn/devstack/pre_test_hook.sh dsvm-{bgpvpntest}
}}
export -f pre_test_hook
function gate_hook {{
. $BASE/new/networking-bgpvpn/devstack/gate_hook.sh dsvm-{bgpvpntest}
}}
export -f gate_hook
function post_test_hook {{
. $BASE/new/networking-bgpvpn/devstack/post_test_hook.sh dsvm-{bgpvpntest}
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-bgpvpn/devstack/devstack-gate-rc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-networking-bgpvpn-bagpipe-dsvm-{bgpvpntest}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-bgpvpn git://git.openstack.org/openstack/networking-bgpvpn
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-bgpvpn $PROJECTS"
export PROJECTS="openstack/networking-bagpipe $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
. $BASE/new/networking-bgpvpn/devstack/pre_test_hook.sh dsvm-bagpipe-{bgpvpntest}
}}
export -f pre_test_hook
function gate_hook {{
. $BASE/new/networking-bgpvpn/devstack/gate_hook.sh dsvm-bagpipe-{bgpvpntest}
}}
export -f gate_hook
function post_test_hook {{
. $BASE/new/networking-bgpvpn/devstack/post_test_hook.sh dsvm-bagpipe-{bgpvpntest}
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-bgpvpn/devstack/devstack-gate-bagpipe-rc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-networking-bgpvpn-bagpipe-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-bgpvpn git://git.openstack.org/openstack/networking-bgpvpn
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
# Make sure tempest is installed and performed
export DEVSTACK_GATE_TEMPEST=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-bgpvpn $PROJECTS"
export PROJECTS="openstack/networking-bagpipe $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
. $BASE/new/networking-bgpvpn/devstack/pre_test_hook.sh dsvm-tempest
}}
export -f pre_test_hook
function gate_hook {{
. $BASE/new/networking-bgpvpn/devstack/gate_hook.sh dsvm-tempest
}}
export -f gate_hook
function post_test_hook {{
. $BASE/new/networking-bgpvpn/devstack/post_test_hook.sh dsvm-tempest
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-bgpvpn/devstack/devstack-gate-bagpipe-rc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,55 +0,0 @@
- job-template:
name: '{pipeline}-tempest-dsvm-networking-calico{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-calico git://git.openstack.org/openstack/networking-calico
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/networking-calico $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
if [ -f $BASE/new/networking-calico/devstack/pre_test_hook.sh ] ; then
. $BASE/new/networking-calico/devstack/pre_test_hook.sh
fi
}}
export -f pre_test_hook
function post_test_hook {{
if [ -f $BASE/new/networking-calico/devstack/post_test_hook.sh ] ; then
. $BASE/new/networking-calico/devstack/post_test_hook.sh
fi
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-calico/devstack/devstackgaterc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,47 +0,0 @@
- job-template:
name: '{pipeline}-networking-generic-switch-dsvm-tempest{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 80
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-generic-switch git://git.openstack.org/openstack/networking-generic-switch
OVS_PHYSICAL_BRIDGE=brbm
PHYSICAL_NETWORK=mynetwork
Q_PLUGIN=ml2
ENABLE_TENANT_VLANS=True
Q_ML2_TENANT_NETWORK_TYPE=vlan
TENANT_VLAN_RANGE=100:150
# test with DLM support enabled
GENERIC_SWITCH_USER_MAX_SESSIONS=2
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_TEMPEST_REGEX='ngs'
export BRANCH_OVERRIDE={branch-override}
export OVERRIDE_ENABLED_SERVICES=key,mysql,rabbit,q-svc,q-agt,q-dhcp,q-l3,tempest,etcd3
export DEVSTACK_GATE_REMOVE_STACK_SUDO=0
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/networking-generic-switch $PROJECTS"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,104 +0,0 @@
- job-template:
name: '{pipeline}-networking-l2gw-dsvm-functional{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-l2gw git://git.openstack.org/openstack/networking-l2gw
enable_service l2gw-plugin l2gw-agent
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_UNSTACK=1
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-l2gw $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function gate_hook {{
bash -xe $BASE/new/networking-l2gw/networking_l2gw/tests/contrib/gate_hook.sh api
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/networking-l2gw/networking_l2gw/tests/contrib/post_test_hook.sh api
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-l2gw/devstack/devstackgaterc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-networking-l2gw-dsvm-tempest-api-dummy-driver{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
# L2 Gateway
enable_plugin networking-l2gw git://git.openstack.org/openstack/networking-l2gw
enable_service l2gw-plugin
NETWORKING_L2GW_SERVICE_DRIVER=L2GW:l2gw:networking_l2gw.services.l2gateway.service_drivers.L2gwDriver:default
TEMPEST_PLUGINS='/opt/stack/new/networking-l2gw /opt/stack/new/neutron'
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_REGEX="networking_l2gw"
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-l2gw $PROJECTS"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,139 +0,0 @@
- job-template:
name: '{pipeline}-tempest-dsvm-networking-midonet-{topology}-{midonet-plugin}-{node-release}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_GATE_TOPOLOGY={topology}
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-midonet $PROJECTS"
export PROJECTS="openstack/neutron-dynamic-routing $PROJECTS"
export PROJECTS="openstack/networking-l2gw $PROJECTS"
export PROJECTS="openstack/tap-as-a-service $PROJECTS"
function gate_hook {{
bash -xe $BASE/new/networking-midonet/devstack/ci/gate_hook.sh {midonet-plugin}
}}
export -f gate_hook
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-midonet/devstack/devstackgaterc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-networking-midonet-rally-dsvm-{midonet-plugin}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export RALLY_SCENARIO=networking-midonet
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-midonet $PROJECTS"
export PROJECTS="openstack/rally $PROJECTS"
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-midonet/devstack/devstackgaterc
function gate_hook {{
bash -xe $BASE/new/networking-midonet/devstack/ci/gate_hook.sh rally-{midonet-plugin}
}}
export -f gate_hook
function post_test_hook {{
$BASE/new/rally/tests/ci/rally-gate.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- rally-plot
- console-log
- job-template:
name: '{pipeline}-grenade-dsvm-networking-midonet-{midonet-plugin}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 150
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PROJECTS="openstack-dev/grenade openstack/networking-midonet $PROJECTS"
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_GRENADE=pullup
export GRENADE_PLUGINRC="enable_grenade_plugin networking-midonet https://git.openstack.org/openstack/networking-midonet"
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/networking-midonet/devstack/ci/gate_hook.sh grenade-{midonet-plugin}
}}
export -f gate_hook
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-midonet/devstack/devstackgaterc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,299 +0,0 @@
- job-template:
name: '{pipeline}-tempest-dsvm-networking-odl-{odl-release-base}-{odl-provider}{driver-version}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-odl git://git.openstack.org/openstack/networking-odl
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
# Make sure tempest is installed, but run it out of the post_test_hooks.sh
# script from the networking-odl repository.
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-odl $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
# specify ODL release to use
export ODL_RELEASE_BASE={odl-release-base}
export ODL_GATE_V2DRIVER={driver-version}
export ODL_GATE_SERVICE_PROVIDER={odl-provider}
export ODL_TEST_SUFFIX={suffix}
function pre_test_hook {{
if [ -f $BASE/new/networking-odl/devstack/pre_test_hook.sh ] ; then
. $BASE/new/networking-odl/devstack/pre_test_hook.sh
fi
}}
export -f pre_test_hook
function post_test_hook {{
if [ -f $BASE/new/networking-odl/devstack/post_test_hook.sh ] ; then
. $BASE/new/networking-odl/devstack/post_test_hook.sh
fi
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-odl/devstack/devstackgaterc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-rally-dsvm-networking-odl-{odl-release-base}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-odl git://git.openstack.org/openstack/networking-odl
enable_plugin rally git://git.openstack.org/openstack/rally
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export RALLY_SCENARIO=odl
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/networking-odl $PROJECTS"
export PROJECTS="openstack/rally $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
# specify ODL release to use
export ODL_RELEASE_BASE={odl-release-base}
function pre_test_hook {{
. $BASE/new/networking-odl/devstack/pre_test_hook.sh
}}
export -f pre_test_hook
function post_test_hook {{
$BASE/new/rally/tests/ci/rally-gate.sh
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-odl/devstack/devstackgaterc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- rally-plot
- console-log
- job-template:
name: '{pipeline}-grenade-dsvm-networking-odl{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 150
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PROJECTS="openstack-dev/grenade openstack/networking-odl $PROJECTS"
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_GRENADE=pullup
export GRENADE_PLUGINRC="enable_grenade_plugin networking-odl https://git.openstack.org/openstack/networking-odl"
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-odl/devstack/devstackgaterc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-networking-odl-multinode-{odl-release-base}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 180
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-odl git://git.openstack.org/openstack/networking-odl
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_NEUTRON_DVR=1
# Make sure tempest is installed, but run it out of the post_test_hooks.sh
# script from the networking-odl repository.
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-odl $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
# specify ODL release to use
export ODL_RELEASE_BASE={odl-release-base}
function pre_test_hook {{
if [ -f $BASE/new/networking-odl/devstack/pre_test_hook.sh ] ; then
. $BASE/new/networking-odl/devstack/pre_test_hook.sh
fi
}}
export -f pre_test_hook
function post_test_hook {{
if [ -f $BASE/new/networking-odl/devstack/post_test_hook.sh ] ; then
. $BASE/new/networking-odl/devstack/post_test_hook.sh
fi
}}
export -f post_test_hook
export DEVSTACK_GATE_TOPOLOGY="multinode"
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-odl/devstack/devstackgaterc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-dsvm-networking-odl-{odltest}-{odl-release-base}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-odl git://git.openstack.org/openstack/networking-odl
# Fullstack test cases now assumes ODL available at this IP
HOST_IP=127.0.0.1
UNSTACK_KEEP_ODL=True
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_UNSTACK=1
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
# Fullstack pre_test.sh will need to sudo
export DEVSTACK_GATE_REMOVE_STACK_SUDO=0
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/networking-odl $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
# specify ODL release to use
export ODL_RELEASE_BASE={odl-release-base}
function pre_test_hook {{
. $BASE/new/networking-odl/devstack/pre_test_hook.sh
}}
export -f pre_test_hook
function gate_hook {{
bash -xe $BASE/new/networking-odl/networking_odl/tests/contrib/gate_hook.sh dsvm-{odltest}
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/networking-odl/networking_odl/tests/contrib/post_test_hook.sh dsvm-{odltest}
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-odl/devstack/devstackgaterc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,60 +0,0 @@
- job-template:
name: '{pipeline}-tempest-dsvm-networking-onos-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-onos git://git.openstack.org/openstack/networking-onos
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
# Make sure tempest is installed, but run it out of the post_test_hooks.sh
# script from the networking-onos repository.
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-onos $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
if [ -f $BASE/new/networking-onos/devstack/pre_test_hook.sh ] ; then
. $BASE/new/networking-onos/devstack/pre_test_hook.sh
fi
}}
export -f pre_test_hook
function post_test_hook {{
if [ -f $BASE/new/networking-onos/devstack/post_test_hook.sh ] ; then
. $BASE/new/networking-onos/devstack/post_test_hook.sh
fi
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,556 +0,0 @@
- job-template:
name: '{pipeline}-install-dsvm-networking-ovn-kuryr{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=0
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
if [ -f $BASE/new/networking-ovn/devstack/pre_test_hook.sh ] ; then
. $BASE/new/networking-ovn/devstack/pre_test_hook.sh
fi
}}
export -f pre_test_hook
function post_test_hook {{
if [ -f $BASE/new/networking-ovn/devstack/post_test_hook.sh ] ; then
. $BASE/new/networking-ovn/devstack/post_test_hook.sh
fi
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-ovn/devstack/devstackgatekuryrrc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-networking-ovn-ovs-master{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-ovn git://git.openstack.org/openstack/networking-ovn
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-ovn $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
if [ -f $BASE/new/networking-ovn/devstack/pre_test_hook.sh ] ; then
. $BASE/new/networking-ovn/devstack/pre_test_hook.sh
fi
}}
export -f pre_test_hook
function post_test_hook {{
if [ -f $BASE/new/networking-ovn/devstack/post_test_hook.sh ] ; then
. $BASE/new/networking-ovn/devstack/post_test_hook.sh
fi
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS="/opt/stack/new/networking-ovn/devstack/devstackgaterc master"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-networking-ovn-ovs-master-python3{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-ovn git://git.openstack.org/openstack/networking-ovn
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
# Enable PYTHON 3
export DEVSTACK_GATE_USE_PYTHON3=True
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-ovn $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
if [ -f $BASE/new/networking-ovn/devstack/pre_test_hook.sh ] ; then
. $BASE/new/networking-ovn/devstack/pre_test_hook.sh
fi
}}
export -f pre_test_hook
function post_test_hook {{
if [ -f $BASE/new/networking-ovn/devstack/post_test_hook.sh ] ; then
. $BASE/new/networking-ovn/devstack/post_test_hook.sh
fi
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS="/opt/stack/new/networking-ovn/devstack/devstackgaterc master"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-networking-ovn-ovs-release{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-ovn git://git.openstack.org/openstack/networking-ovn
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-ovn $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
if [ -f $BASE/new/networking-ovn/devstack/pre_test_hook.sh ] ; then
. $BASE/new/networking-ovn/devstack/pre_test_hook.sh
fi
}}
export -f pre_test_hook
function post_test_hook {{
if [ -f $BASE/new/networking-ovn/devstack/post_test_hook.sh ] ; then
. $BASE/new/networking-ovn/devstack/post_test_hook.sh
fi
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS="/opt/stack/new/networking-ovn/devstack/devstackgaterc latest-release"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-networking-ovn-ovs-release-ovsdbapp-src{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-ovn git://git.openstack.org/openstack/networking-ovn
LIBS_FROM_GIT="ovsdbapp"
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-ovn $PROJECTS"
export PROJECTS="openstack/ovsdbapp $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
if [ -f $BASE/new/networking-ovn/devstack/pre_test_hook.sh ] ; then
. $BASE/new/networking-ovn/devstack/pre_test_hook.sh
fi
}}
export -f pre_test_hook
function post_test_hook {{
if [ -f $BASE/new/networking-ovn/devstack/post_test_hook.sh ] ; then
. $BASE/new/networking-ovn/devstack/post_test_hook.sh
fi
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS="/opt/stack/new/networking-ovn/devstack/devstackgaterc latest-release"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-networking-ovn-multinode{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-ovn git://git.openstack.org/openstack/networking-ovn
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_GATE_TOPOLOGY="multinode"
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-ovn $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
if [ -f $BASE/new/networking-ovn/devstack/pre_test_hook.sh ] ; then
. $BASE/new/networking-ovn/devstack/pre_test_hook.sh
fi
}}
export -f pre_test_hook
function post_test_hook {{
if [ -f $BASE/new/networking-ovn/devstack/post_test_hook.sh ] ; then
. $BASE/new/networking-ovn/devstack/post_test_hook.sh
fi
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-ovn/devstack/devstackgaterc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-rally-dsvm-networking-ovn{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-ovn git://git.openstack.org/openstack/networking-ovn
enable_plugin rally git://git.openstack.org/openstack/rally
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export RALLY_SCENARIO=ovn
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/networking-ovn $PROJECTS"
export PROJECTS="openstack/rally $PROJECTS"
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-ovn/devstack/devstackgaterc
function post_test_hook {{
$BASE/new/rally/tests/ci/rally-gate.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- rally-plot
- console-log
- job-template:
name: '{pipeline}-networking-ovn-dsvm-{ovntest}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_UNSTACK=1
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-ovn $PROJECTS"
function gate_hook {{
bash -xe $BASE/new/networking-ovn/networking_ovn/tests/contrib/gate_hook.sh dsvm-{ovntest}
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/networking-ovn/networking_ovn/tests/contrib/post_test_hook.sh dsvm-{ovntest}
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-grenade-dsvm-networking-ovn-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 150
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PROJECTS="openstack-dev/grenade openstack/networking-ovn $PROJECTS"
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_GRENADE=pullup
export GRENADE_PLUGINRC="enable_grenade_plugin networking-ovn https://git.openstack.org/openstack/networking-ovn"
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
if [ -f $BASE/new/networking-ovn/devstack/pre_test_hook.sh ] ; then
. $BASE/new/networking-ovn/devstack/pre_test_hook.sh
fi
}}
export -f pre_test_hook
function post_test_hook {{
if [ -f $BASE/new/networking-ovn/devstack/post_test_hook.sh ] ; then
. $BASE/new/networking-ovn/devstack/post_test_hook.sh
fi
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-ovn/devstack/devstackgaterc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-networking-ovn-neutron-api-ovs-release{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-ovn git://git.openstack.org/openstack/networking-ovn
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-ovn $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
if [ -f $BASE/new/networking-ovn/devstack/pre_test_hook.sh ] ; then
. $BASE/new/networking-ovn/devstack/pre_test_hook.sh
fi
}}
export -f pre_test_hook
function post_test_hook {{
if [ -f $BASE/new/networking-ovn/devstack/post_test_hook.sh ] ; then
. $BASE/new/networking-ovn/devstack/post_test_hook.sh
fi
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS="/opt/stack/new/networking-ovn/devstack/devstackgaterc latest-release neutron-api-tests"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,58 +0,0 @@
- job-template:
name: '{pipeline}-tempest-dsvm-networking-ovs-dpdk{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-ovs-dpdk git://git.openstack.org/openstack/networking-ovs-dpdk
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-ovs-dpdk $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
if [ -f $BASE/new/networking-ovs-dpdk/devstack/gate/pre_test_hook.sh ] ; then
. $BASE/new/networking-ovs-dpdk/devstack/gate/pre_test_hook.sh
fi
}}
export -f pre_test_hook
function post_test_hook {{
if [ -f $BASE/new/networking-ovs-dpdk/devstack/gate/post_test_hook.sh ] ; then
. $BASE/new/networking-ovs-dpdk/devstack/gate/post_test_hook.sh
fi
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-ovs-dpdk/devstack/gate/devstackgaterc
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,187 +0,0 @@
- job-template:
name: '{pipeline}-networking-sfc-functional-dsvm-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-sfc git://git.openstack.org/openstack/networking-sfc
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_UNSTACK=1
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-sfc $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function gate_hook {{
bash -xe $BASE/new/networking-sfc/networking_sfc/tests/contrib/gate_hook.sh dsvm-functional
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/networking-sfc/networking_sfc/tests/contrib/post_test_hook.sh dsvm-functional
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-networking-sfc-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-sfc git://git.openstack.org/openstack/networking-sfc
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
# Make sure tempest is installed, but run it out of the post_test_hooks.sh
# script from the networking-sfc repository.
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-sfc $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
if [ -f $BASE/new/networking-sfc/devstack/pre_test_hook.sh ] ; then
. $BASE/new/networking-sfc/devstack/pre_test_hook.sh
fi
}}
export -f pre_test_hook
function gate_hook {{
if [ -f $BASE/new/networking-sfc/networking_sfc/tests/contrib/gate_hook.sh ] ; then
bash -xe $BASE/new/networking-sfc/networking_sfc/tests/contrib/gate_hook.sh dsvm-networking-sfc
fi
}}
export -f gate_hook
function post_test_hook {{
if [ -f $BASE/new/networking-sfc/devstack/post_test_hook.sh ] ; then
. $BASE/new/networking-sfc/devstack/post_test_hook.sh
fi
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-networking-sfc-multinode-{node-release}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 180
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-sfc git://git.openstack.org/openstack/networking-sfc
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
# Make sure tempest is installed, but run it out of the post_test_hooks.sh
# script from the networking-sfc repository.
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_GATE_TOPOLOGY="multinode"
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-sfc $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
if [ -f $BASE/new/networking-sfc/devstack/pre_test_hook.sh ] ; then
. $BASE/new/networking-sfc/devstack/pre_test_hook.sh
fi
}}
export -f pre_test_hook
function post_test_hook {{
if [ -f $BASE/new/networking-sfc/devstack/post_test_hook.sh ] ; then
. $BASE/new/networking-sfc/devstack/post_test_hook.sh
fi
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,56 +0,0 @@
- job-template:
name: '{pipeline}-networking-vpp-smoke-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-vpp git://git.openstack.org/openstack/networking-vpp
Q_PLUGIN=ml2
Q_USE_SECGROUP=True
Q_ML2_PLUGIN_MECHANISM_DRIVERS=vpp
Q_ML2_PLUGIN_TYPE_DRIVERS=vlan,flat
Q_ML2_TENANT_NETWORK_TYPE=vlan
ML2_VLAN_RANGES=physnet:100:200
MECH_VPP_PHYSNETLIST=physnet:tap-0
disable_service horizon
disable_service ceilometer-acentral ceilometer-acompute
disable_service ceilometer-alarm-evaluator
disable_service ceilometer-alarm-notifier
disable_service ceilometer-anotification ceilometer-api
disable_service ceilometer-collector
disable_service s-account s-container s-object s-proxy
disable_service cinder c-sch c-api c-vol
disable_service etcd3
disable_service q-agt
NR_HUGEPAGES=1024
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST_FULL=1
export DEVSTACK_GATE_TEMPEST=1
export PROJECTS="openstack/networking-vpp $PROJECTS"
export KEEP_LOCALRC=1
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,194 +0,0 @@
- job-template:
name: '{pipeline}-neutron-dynamic-routing-dsvm-functional{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_UNSTACK=1
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/neutron-dynamic-routing $PROJECTS"
function gate_hook {{
bash -xe $BASE/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/contrib/gate_hook.sh dsvm-functional
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/contrib/post_test_hook.sh dsvm-functional
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-neutron-dynamic-routing-dsvm-tempest-api{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin neutron-dynamic-routing git://git.openstack.org/openstack/neutron-dynamic-routing
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
if [ "ZUUL_BRANCH" == "stable/newton" ]; then
export DEVSTACK_GATE_TEMPEST_REGEX="^neutron_dynamic_routing\."
else
export DEVSTACK_GATE_TEMPEST_REGEX="^neutron_dynamic_routing.tests.tempest.api\."
fi
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/neutron-dynamic-routing $PROJECTS"
if [ "ZUUL_BRANCH" != "stable/newton" ]; then
function gate_hook {{
bash -xe $BASE/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/contrib/gate_hook.sh dsvm-api
}}
export -f gate_hook
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-neutron-dynamic-routing-dsvm-tempest-scenario-{scenariotype}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_REGEX="^neutron_dynamic_routing.tests.tempest.scenario.{scenariotype}\."
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/neutron-dynamic-routing $PROJECTS"
DEVSTACK_LOCAL_CONFIG="NEUTRON_CREATE_INITIAL_NETWORKS=False"
DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin neutron-dynamic-routing git://git.openstack.org/openstack/neutron-dynamic-routing"
if [ "{scenariotype}" == "basic" ]; then
DEVSTACK_LOCAL_CONFIG+=$'\n'"BGP_SCHEDULER_DRIVER=neutron_dynamic_routing.services.bgp.scheduler.bgp_dragent_scheduler.ChanceScheduler"
fi
export DEVSTACK_LOCAL_CONFIG
function gate_hook {{
bash -xe $BASE/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/contrib/gate_hook.sh dsvm-scenario
}}
export -f gate_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-neutron-dynamic-routing-dsvm-tempest-with-ryu-master-scenario-{scenariotype}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_REGEX="^neutron_dynamic_routing.tests.tempest.scenario.{scenariotype}\."
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
if [[ "$BRANCH_OVERRIDE" != "default" ]] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/neutron-dynamic-routing $PROJECTS"
DEVSTACK_LOCAL_CONFIG="NEUTRON_CREATE_INITIAL_NETWORKS=False"
DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin neutron-dynamic-routing git://git.openstack.org/openstack/neutron-dynamic-routing"
if [[ "{scenariotype}" == "basic" ]]; then
DEVSTACK_LOCAL_CONFIG+=$'\n'"BGP_SCHEDULER_DRIVER=neutron_dynamic_routing.services.bgp.scheduler.bgp_dragent_scheduler.ChanceScheduler"
fi
export DEVSTACK_LOCAL_CONFIG
function gate_hook {{
local ryu_path=$BASE/new/ryu_master
if [[ ! -d $ryu_path ]]; then
git clone https://github.com/osrg/ryu $ryu_path
fi
sudo pip install -e $ryu_path
bash -xe $BASE/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/contrib/gate_hook.sh dsvm-scenario
}}
export -f gate_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,236 +0,0 @@
- job-template:
name: '{pipeline}-neutron-fwaas-dsvm-functional{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_UNSTACK=1
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/neutron-fwaas/neutron_fwaas/tests/contrib/gate_hook.sh dsvm-functional
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/neutron-fwaas/neutron_fwaas/tests/contrib/post_test_hook.sh dsvm-functional
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-neutron-fwaas-{fwaas-version}-dsvm-tempest{branch-designator}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin neutron-fwaas git://git.openstack.org/openstack/neutron-fwaas
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_REGEX="^neutron_fwaas\."
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
export FWAAS_VERSION={fwaas-version}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/neutron-fwaas/neutron_fwaas/tests/contrib/gate_hook_tempest.sh {fwaas-version}
}}
if [ "$FWAAS_VERSION" = "v2" ] ; then
export ENABLED_SERVICES="q-fwaas-v2"
elif [ "$FWAAS_VERSION" = "v1" ] ; then
export ENABLED_SERVICES="q-fwaas-v1"
elif [ "$FWAAS_VERSION" = "legacy" ] ; then
export ENABLED_SERVICES="q-fwaas"
fi
export -f gate_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-grenade-dsvm-neutron-fwaas-multinode{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin neutron-fwaas git://git.openstack.org/openstack/neutron-fwaas
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export FWAAS_VERSION="v1"
export ENABLED_SERVICES="q-fwaas-$FWAAS_VERSION"
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_CONFIGDRIVE=0
export DEVSTACK_GATE_GRENADE=pullup
export PROJECTS="openstack-dev/grenade $PROJECTS"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/neutron-fwaas/neutron_fwaas/tests/contrib/gate_hook_tempest.sh $FWAAS_VERSION
}}
export DEVSTACK_GATE_TOPOLOGY="multinode"
export -f gate_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-neutron-fwaas-{fwaas-version}-dsvm-tempest-multinode{branch-designator}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin neutron-fwaas git://git.openstack.org/openstack/neutron-fwaas
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_REGEX="^neutron_fwaas\."
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
export FWAAS_VERSION={fwaas-version}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/neutron-fwaas/neutron_fwaas/tests/contrib/gate_hook_tempest.sh {fwaas-version}
}}
if [ "$FWAAS_VERSION" = "v2" ] ; then
export ENABLED_SERVICES="q-fwaas-v2"
elif [ "$FWAAS_VERSION" = "v1" ] ; then
export ENABLED_SERVICES="q-fwaas-v1"
fi
export DEVSTACK_GATE_TOPOLOGY="multinode"
export -f gate_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-neutron-fwaas-dsvm-fullstack-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_UNSTACK=1
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/neutron-fwaas/neutron_fwaas/tests/contrib/gate_hook.sh dsvm-fullstack
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/neutron-fwaas/neutron_fwaas/tests/contrib/post_test_hook.sh dsvm-fullstack
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,102 +0,0 @@
- job-template:
name: '{pipeline}-neutron-{lbaasversion}-dsvm-{lbaastest}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/barbican $PROJECTS"
export PROJECTS="openstack/python-barbicanclient $PROJECTS"
export PROJECTS="openstack/diskimage-builder $PROJECTS"
export PROJECTS="openstack/tripleo-image-elements $PROJECTS"
export PROJECTS="openstack/neutron-lbaas $PROJECTS"
export PROJECTS="openstack/octavia $PROJECTS"
function gate_hook {{
$BASE/new/neutron-lbaas/neutron_lbaas/tests/contrib/gate_hook.sh tempest {lbaasversion} {lbaastest}
}}
export -f gate_hook
function post_test_hook {{
$BASE/new/neutron-lbaas/neutron_lbaas/tests/contrib/post_test_hook.sh tempest {lbaasversion} {lbaastest}
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-neutron-{lbaasversion}-dsvm-py3x-{lbaastest}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export DEVSTACK_GATE_USE_PYTHON3=True
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/barbican $PROJECTS"
export PROJECTS="openstack/python-barbicanclient $PROJECTS"
export PROJECTS="openstack/diskimage-builder $PROJECTS"
export PROJECTS="openstack/tripleo-image-elements $PROJECTS"
export PROJECTS="openstack/neutron-lbaas $PROJECTS"
export PROJECTS="openstack/octavia $PROJECTS"
function gate_hook {{
$BASE/new/neutron-lbaas/neutron_lbaas/tests/contrib/gate_hook.sh tempest {lbaasversion} {lbaastest}
}}
export -f gate_hook
function post_test_hook {{
$BASE/new/neutron-lbaas/neutron_lbaas/tests/contrib/post_test_hook.sh tempest {lbaasversion} {lbaastest}
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -1,182 +0,0 @@
- job-template:
name: '{pipeline}-neutron-vpnaas-dsvm-{vpnaastest}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_UNSTACK=1
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/neutron-vpnaas/neutron_vpnaas/tests/contrib/gate_hook.sh dsvm-{vpnaastest}
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/neutron-vpnaas/neutron_vpnaas/tests/contrib/post_test_hook.sh dsvm-{vpnaastest}
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-neutron-vpnaas-dsvm-rally-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin neutron-vpnaas git://git.openstack.org/openstack/neutron-vpnaas
enable_plugin rally git://git.openstack.org/openstack/rally
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export RALLY_SCENARIO=neutron-vpnaas
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/neutron-vpnaas $PROJECTS"
export PROJECTS="openstack/rally $PROJECTS"
function post_test_hook {{
$BASE/new/rally/tests/ci/rally-gate.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- rally-plot
- console-log
- job-template:
name: '{pipeline}-neutron-dsvm-tempest-vpnaas-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 65
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_REGEX="^neutron_vpnaas\."
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/neutron-vpnaas/neutron_vpnaas/tests/contrib/gate_hook.sh tempest
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/neutron-vpnaas/neutron_vpnaas/tests/contrib/post_test_hook.sh tempest
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-neutron-vpnaas-dsvm-api{which}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_UNSTACK=0
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_TEMPEST_REGEX="^neutron_vpnaas.tests.tempest.api\."
function gate_hook {{
bash -xe $BASE/new/neutron-vpnaas/neutron_vpnaas/tests/contrib/gate_hook.sh api{which}
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/neutron-vpnaas/neutron_vpnaas/tests/contrib/post_test_hook.sh api{which}
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

View File

@ -1,633 +0,0 @@
- job-template:
name: 'periodic-{name}-{python}-with-neutron-lib-master'
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 50
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- zuul-git-branch-prep-upper-constraints:
branch: master
- install-distro-packages
- extra-test-setup
- revoke-sudo
- shell: "/usr/local/jenkins/slave_scripts/run-tox-with-neutron-lib-master.sh {python}"
- assert-no-extra-files
publishers:
- test-results
- console-log
- job-template:
name: '{pipeline}-neutron-dsvm-api{which}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_EXERCISES=0
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# NOTE(armax): this condition should be revised every time each of the
# branches below are dropped. Prior to Newton, the API Tempest tests are
# invoked explicitly and thus we need the following variables set. From
# Newton onward, everything is taken care of by the Tempest plugin framework
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_TEMPEST_REGEX="^neutron.tests.tempest.api\."
function gate_hook {{
bash -xe $BASE/new/neutron/neutron/tests/contrib/gate_hook.sh api{which}
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/neutron/neutron/tests/contrib/post_test_hook.sh api{which}
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-neutron-dvr-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST_FULL=1
export DEVSTACK_GATE_NEUTRON_DVR=1
export DEVSTACK_GATE_TLSPROXY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-neutron-dvr-ha-multinode-full-{node-release}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 180
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
NOVA_VNC_ENABLED=true
VNCSERVER_LISTEN=0.0.0.0
VNCSERVER_PROXYCLIENT_ADDRESS=$HOST_IP
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_CONFIGDRIVE=0
export DEVSTACK_GATE_TEMPEST_FULL=1
# Test DVR works multinode
export DEVSTACK_GATE_NEUTRON_DVR=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_GATE_TOPOLOGY="multinode"
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-neutron-dsvm-functional{python}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/neutron/neutron/tests/contrib/gate_hook.sh dsvm-functional{python}
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/neutron/neutron/tests/contrib/post_test_hook.sh dsvm-functional{python}
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-neutron-dsvm-fullstack{python}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/neutron/neutron/tests/contrib/gate_hook.sh dsvm-fullstack{python}
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/neutron/neutron/tests/contrib/post_test_hook.sh dsvm-fullstack{python}
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-neutronclient-test-dsvm-{which-test}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
export DEVSTACK_PROJECT_FROM_GIT=python-neutronclient
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/python-neutronclient/neutronclient/tests/functional/hooks/gate_hook.sh {which-test}
}}
export -f gate_hook
function post_test_hook {{
# Configure and run functional tests
$BASE/new/python-neutronclient/neutronclient/tests/functional/hooks/post_test_hook.sh {which-test}
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-neutron-ipv6only{suffix}'
node: '{node}'
wrappers:
- timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
IP_VERSION=6
SERVICE_IP_VERSION=6
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_FULL=1
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-neutron-serviceipv6{suffix}'
node: '{node}'
wrappers:
- timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
SERVICE_IP_VERSION=6
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_FULL=1
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-neutron-linuxbridge-{node}{suffix}'
node: '{node}'
wrappers:
- timeout:
timeout: 140
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
Q_AGENT=linuxbridge
PHYSICAL_NETWORK=default
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_FULL=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TLSPROXY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-neutron-scenario-linuxbridge-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
Q_AGENT=linuxbridge
PHYSICAL_NETWORK=default
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_EXERCISES=0
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_TEMPEST_REGEX="^neutron.tests.tempest.scenario\."
export TEMPEST_CONCURRENCY=2
function gate_hook {{
bash -xe $BASE/new/neutron/neutron/tests/contrib/gate_hook.sh dsvm-scenario-linuxbridge dvrskip
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/neutron/neutron/tests/contrib/post_test_hook.sh dsvm-scenario-linuxbridge
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-neutron-{which}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_FULL=1
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/neutron/neutron/tests/contrib/gate_hook.sh full-{which}
}}
export -f gate_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
# run tempest with:
# 1) neutron enabled
# 2) oslo.messaging from git
# 3) specific oslo.messaging driver enabled
# 4) plug-in configuration (optional)
- job-template:
name: 'gate-tempest-neutron-dsvm-src-oslo.messaging-{plugin}-{config}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_FULL=1
export DEVSTACK_GATE_NEUTRON=1
export PROJECTS="openstack/devstack-plugin-{plugin} $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin devstack-plugin-{plugin} git://git.openstack.org/openstack/devstack-plugin-{plugin}"
export DEVSTACK_PROJECT_FROM_GIT="oslo.messaging"
if [ "{plugin}" == "amqp1" ]; then
# The AMQP 1.0 plugin supports a couple of different message bus configurations
# 'hybrid' - use RabbitMQ for Notifications, qdrouterd for RPC
# 'dual' - use qpidd for Notifications, qdrouterd for RPC
# default: use qpidd for Notifications and for RPC
case "{config}" in
hybrid)
export DEVSTACK_LOCAL_CONFIG+=$'\n'"AMQP1_SERVICE=qpid-hybrid"
;;
dual)
export DEVSTACK_LOCAL_CONFIG+=$'\n'"AMQP1_SERVICE=qpid-dual"
;;
esac
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-neutron-dvr-multinode-scenario-{node-release}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 180
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_CONFIGDRIVE=0
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_TEMPEST_REGEX="^neutron\.tests\.tempest\.scenario\."
export TEMPEST_CONCURRENCY=2
# Test DVR works multinode
export DEVSTACK_GATE_NEUTRON_DVR=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_GATE_TOPOLOGY="multinode"
function gate_hook {{
bash -xe $BASE/new/neutron/neutron/tests/contrib/gate_hook.sh dsvm-scenario-ovs
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/neutron/neutron/tests/contrib/post_test_hook.sh dsvm-scenario-ovs
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-neutron-with-ryu-master-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 180
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_FULL=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TLSPROXY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
local ryu_path=$BASE/new/ryu_master
if [ ! -d $ryu_path ]; then
git clone https://github.com/osrg/ryu $ryu_path
fi
sudo pip install -e $ryu_path
$BASE/new/devstack-gate/devstack-vm-gate.sh
}}
export -f gate_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

Some files were not shown because too many files have changed in this diff Show More