Global refactoring is include: * drop Icehouse support; * improvements nodepool's slave installing script; * remove deprecated jobs; * create config template for old integration tests; * create config files for PYPI; * improve and refactor function.sh, execution tests scripts; Change-Id: Id6b6c9dd5f3f1bf500e0b2172f8cfc82a4fc9a62
176 lines
5.4 KiB
YAML
176 lines
5.4 KiB
YAML
- job:
|
|
name: 'tempest-saharaclient-tests'
|
|
defaults: global
|
|
concurrent: false
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
git clone https://git.openstack.org/stackforge/sahara-ci-config
|
|
FUNCTION_PATH=$WORKSPACE/sahara-ci-config/slave-scripts bash $WORKSPACE/sahara-ci-config/slave-scripts/tempest.sh
|
|
properties:
|
|
- zeromq-event
|
|
- build-blocker:
|
|
blocking-jobs:
|
|
- "tempest-sahara-tests"
|
|
publishers:
|
|
- sahara-logs
|
|
- console-log
|
|
- trigger-cleanup
|
|
node: trusty-neutron || trusty-nova
|
|
|
|
- job:
|
|
name: 'tempest-sahara-tests'
|
|
defaults: global
|
|
concurrent: false
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
git clone https://git.openstack.org/stackforge/sahara-ci-config
|
|
FUNCTION_PATH=$WORKSPACE/sahara-ci-config/slave-scripts bash $WORKSPACE/sahara-ci-config/slave-scripts/tempest.sh
|
|
properties:
|
|
- zeromq-event
|
|
- build-blocker:
|
|
blocking-jobs:
|
|
- "tempest-saharaclient-tests"
|
|
publishers:
|
|
- sahara-logs
|
|
- console-log
|
|
- trigger-cleanup
|
|
node: trusty-neutron || trusty-nova
|
|
|
|
- job-template:
|
|
name: 'gate-saharaclient-neutron-{plugin-neutron}'
|
|
defaults: global
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
git clone https://git.openstack.org/stackforge/sahara-ci-config
|
|
FUNCTION_PATH=$WORKSPACE/sahara-ci-config/slave-scripts bash $WORKSPACE/sahara-ci-config/slave-scripts/gate-saharaclient.sh
|
|
properties:
|
|
- zeromq-event
|
|
publishers:
|
|
- sahara-logs
|
|
- console-log
|
|
- trigger-cleanup
|
|
node: 'trusty-neutron'
|
|
|
|
- job-template:
|
|
name: 'gate-saharaclient-nova-{plugin-nova_network}'
|
|
defaults: global
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
git clone https://git.openstack.org/stackforge/sahara-ci-config
|
|
FUNCTION_PATH=$WORKSPACE/sahara-ci-config/slave-scripts bash $WORKSPACE/sahara-ci-config/slave-scripts/gate-saharaclient.sh
|
|
properties:
|
|
- zeromq-event
|
|
publishers:
|
|
- sahara-logs
|
|
- console-log
|
|
- trigger-cleanup
|
|
node: 'trusty-nova'
|
|
|
|
- job-template:
|
|
name: 'gate-sahara-neutron-{plugin-neutron}'
|
|
defaults: global
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
git clone https://git.openstack.org/stackforge/sahara-ci-config
|
|
FUNCTION_PATH=sahara-ci-config/slave-scripts bash sahara-ci-config/slave-scripts/gate-sahara.sh
|
|
properties:
|
|
- zeromq-event
|
|
publishers:
|
|
- sahara-logs
|
|
- console-log
|
|
- trigger-cleanup
|
|
node: 'trusty-neutron'
|
|
|
|
- job-template:
|
|
name: 'gate-sahara-nova-{plugin-nova_network}'
|
|
defaults: global
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
git clone https://git.openstack.org/stackforge/sahara-ci-config
|
|
FUNCTION_PATH=sahara-ci-config/slave-scripts bash sahara-ci-config/slave-scripts/gate-sahara.sh
|
|
properties:
|
|
- zeromq-event
|
|
publishers:
|
|
- sahara-logs
|
|
- console-log
|
|
- trigger-cleanup
|
|
node: 'trusty-nova'
|
|
|
|
- project:
|
|
name: sahara
|
|
github-org: openstack
|
|
plugin-neutron:
|
|
- direct-vanilla_1-aio
|
|
- heat-vanilla_2.4
|
|
- heat-vanilla_2.6-scenario
|
|
- direct-spark-aio
|
|
- direct-spark-aio-scenario
|
|
- direct-transient
|
|
- heat-transient
|
|
plugin-nova_network:
|
|
- direct-cdh_ubuntu-aio
|
|
- direct-cdh_centos-aio
|
|
- direct-hdp_1-aio
|
|
- heat-hdp_2
|
|
jobs:
|
|
- 'gate-sahara-neutron-{plugin-neutron}'
|
|
- 'gate-sahara-nova-{plugin-nova_network}'
|
|
- 'gate-saharaclient-neutron-{plugin-neutron}'
|
|
- 'gate-saharaclient-nova-{plugin-nova_network}'
|
|
|
|
- job:
|
|
name: integration-cleanup
|
|
project-type: freestyle
|
|
defaults: global
|
|
description: "<b>This job is managed by Jenkins Job Builder, do not edit it through WebUI.\
|
|
\n<p>Please use this repository to make changes: <a href=\"https://git.openstack.org/stackforge/sahara-ci-config\">https://git.openstack.org/stackforge/sahara-ci-config</a></b>\
|
|
\n<p>This job destroys vms which were not deleted after integration tests"
|
|
disabled: false
|
|
node: 'master'
|
|
|
|
parameters:
|
|
- string:
|
|
name: PREV_BUILD
|
|
default: default
|
|
description:
|
|
- string:
|
|
name: PREV_JOB
|
|
default:
|
|
description:
|
|
- string:
|
|
name: HOST_NAME
|
|
default:
|
|
description:
|
|
|
|
builders:
|
|
- shell: |
|
|
rm -rf sahara-ci-config
|
|
git clone https://git.openstack.org/stackforge/sahara-ci-config
|
|
bash sahara-ci-config/slave-scripts/integration-cleanup.sh
|
|
|
|
- job:
|
|
name: gate-sahara-pep8-trunk
|
|
project-type: freestyle
|
|
defaults: global
|
|
description: "<b>This job is managed by Jenkins Job Builder, do not edit it through WebUI.\
|
|
\n<p>Please use this repository to make changes: <a href=\"https://git.openstack.org/stackforge/sahara-ci-config\">https://git.openstack.org/stackforge/sahara-ci-config</a></b>\
|
|
\n<p>This job runs pep8 check using trunk version of hacking"
|
|
disabled: false
|
|
node: trusty-neutron || trusty-nova
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
git clone https://git.openstack.org/stackforge/sahara-ci-config
|
|
bash sahara-ci-config/slave-scripts/gate-sahara-pep8-trunk.sh
|
|
properties:
|
|
- zeromq-event
|
|
publishers:
|
|
- console-log
|