43c71fa427
Change Id2caf9561b361c1d4950856423282535d067e015 for devstack adds all repositories in DEVSTACK_PROJECT_FROM_GIT to PROJECTS, so no need to add repos in jobs to PROJECTS if there are in DEVSTACK_PROJECT_FROM_GIT. This change went through all of jenkins/jobs and removed PROJECTS where there is direct 1:1 correspondence. For a few files, especially ironic and freezer, this was not doable. Change-Id: I4b51e33b9bc0f1cb7948b69abf104e0b57b9ff52
76 lines
2.2 KiB
YAML
76 lines
2.2 KiB
YAML
- 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:
|
|
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
|