705c1d5948
This takes care of all the current jobs started by a timer in Jenkins except the devstack-gate maintenance jobs. For the time being, there will continue to be a set of those jobs for each Jenkins master (as opposed to other periodic jobs which we want to run only once globally). In the future we can evolve devstack- gate to run as a single daemon and remove those jobs. Change-Id: I1215b7cb51ffcd65b69d1b54e9f8d051a406a57a
904 lines
21 KiB
YAML
904 lines
21 KiB
YAML
- job:
|
|
name: gate-tempest-devstack-vm-smoke
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 120
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- label:
|
|
name: NODE_LABEL
|
|
description: Label of node to use for this build
|
|
default: devstack-precise
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- console-log
|
|
- devstack-complete
|
|
|
|
|
|
- job:
|
|
name: gate-tempest-devstack-vm-full
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 180
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- label:
|
|
name: NODE_LABEL
|
|
description: Label of node to use for this build
|
|
default: devstack-precise
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_TEMPEST_FULL=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- console-log
|
|
- devstack-complete
|
|
|
|
- job:
|
|
name: gate-tempest-devstack-vm-testr-full
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 180
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- label:
|
|
name: NODE_LABEL
|
|
description: Label of node to use for this build
|
|
default: devstack-precise
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_TEMPEST_TESTR_FULL=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- console-log
|
|
- devstack-complete
|
|
|
|
- job:
|
|
name: gate-tempest-devstack-vm-cinder
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 90
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- label:
|
|
name: NODE_LABEL
|
|
description: Label of node to use for this build
|
|
default: devstack-precise
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_CINDER=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- console-log
|
|
- devstack-complete
|
|
|
|
|
|
- job:
|
|
name: gate-tempest-devstack-vm-neutron
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 90
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- label:
|
|
name: NODE_LABEL
|
|
description: Label of node to use for this build
|
|
default: devstack-precise
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- console-log
|
|
- devstack-complete
|
|
|
|
|
|
- job:
|
|
name: gate-tempest-devstack-vm-neutron-full
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 180
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- label:
|
|
name: NODE_LABEL
|
|
description: Label of node to use for this build
|
|
default: devstack-precise
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- 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
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- console-log
|
|
- devstack-complete
|
|
|
|
|
|
- job:
|
|
name: gate-tempest-devstack-vm-cells
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 180
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- label:
|
|
name: NODE_LABEL
|
|
description: Label of node to use for this build
|
|
default: devstack-precise
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_CELLS=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- console-log
|
|
- devstack-complete
|
|
|
|
|
|
- job:
|
|
name: gate-tempest-devstack-vm-cells-full
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 180
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- label:
|
|
name: NODE_LABEL
|
|
description: Label of node to use for this build
|
|
default: devstack-precise
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_TEMPEST_FULL=1
|
|
export DEVSTACK_GATE_CELLS=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- console-log
|
|
- devstack-complete
|
|
|
|
|
|
- job:
|
|
name: periodic-tempest-devstack-vm-stable-folsom
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 90
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- string:
|
|
name: ZUUL_BRANCH
|
|
description: The branch to build
|
|
default: stable/folsom
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs-periodic
|
|
- console-log-periodic
|
|
- devstack-complete
|
|
- email:
|
|
recipients: openstack-stable-maint@lists.openstack.org
|
|
|
|
|
|
- job:
|
|
name: periodic-tempest-devstack-vm-cinder-stable-folsom
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 90
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- string:
|
|
name: ZUUL_BRANCH
|
|
description: The branch to build
|
|
default: stable/folsom
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_CINDER=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs-periodic
|
|
- console-log-periodic
|
|
- devstack-complete
|
|
- email:
|
|
recipients: openstack-stable-maint@lists.openstack.org
|
|
|
|
|
|
- job:
|
|
name: periodic-tempest-devstack-vm-stable-grizzly
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 90
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- string:
|
|
name: ZUUL_BRANCH
|
|
description: The branch to build
|
|
default: stable/grizzly
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_TEMPEST_FULL=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs-periodic
|
|
- console-log-periodic
|
|
- devstack-complete
|
|
- email:
|
|
recipients: openstack-stable-maint@lists.openstack.org
|
|
|
|
|
|
- job:
|
|
name: periodic-tempest-devstack-vm-postgres-stable-grizzly
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 90
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- string:
|
|
name: ZUUL_BRANCH
|
|
description: The branch to build
|
|
default: stable/grizzly
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_POSTGRES=1
|
|
export DEVSTACK_GATE_TEMPEST_FULL=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs-periodic
|
|
- console-log-periodic
|
|
- devstack-complete
|
|
- email:
|
|
recipients: openstack-stable-maint@lists.openstack.org
|
|
|
|
|
|
- job:
|
|
name: periodic-tempest-devstack-vm-neutron-stable-grizzly
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 90
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- string:
|
|
name: ZUUL_BRANCH
|
|
description: The branch to build
|
|
default: stable/grizzly
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs-periodic
|
|
- console-log-periodic
|
|
- devstack-complete
|
|
- email:
|
|
recipients: openstack-stable-maint@lists.openstack.org
|
|
|
|
|
|
- job:
|
|
name: periodic-tempest-devstack-vm-all
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 180
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- string:
|
|
name: ZUUL_BRANCH
|
|
description: The branch to build
|
|
default: master
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_TEMPEST_ALL=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs-periodic
|
|
- console-log-periodic
|
|
- devstack-complete
|
|
- email:
|
|
recipients: openstack-qa@lists.openstack.org
|
|
|
|
|
|
- job:
|
|
name: periodic-tempest-devstack-vm-coverage
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 180
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- string:
|
|
name: ZUUL_BRANCH
|
|
description: The branch to build
|
|
default: master
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_TEMPEST_COVERAGE=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs-periodic
|
|
- console-log-periodic
|
|
- devstack-complete
|
|
- email:
|
|
recipients: openstack-qa@lists.openstack.org
|
|
|
|
|
|
- job:
|
|
name: periodic-tempest-devstack-vm-stress
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 180
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- string:
|
|
name: ZUUL_BRANCH
|
|
description: The branch to build
|
|
default: master
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_TEMPEST_STRESS=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs-periodic
|
|
- console-log-periodic
|
|
- devstack-complete
|
|
- email:
|
|
recipients: openstack-qa@lists.openstack.org
|
|
|
|
|
|
- job:
|
|
name: gate-tempest-devstack-vm-postgres-zeromq-full
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 180
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- label:
|
|
name: NODE_LABEL
|
|
description: Label of node to use for this build
|
|
default: devstack-precise
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_TEMPEST_FULL=1
|
|
export DEVSTACK_GATE_POSTGRES=1
|
|
export DEVSTACK_GATE_ZEROMQ=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- console-log
|
|
- devstack-complete
|
|
|
|
|
|
- job:
|
|
name: gate-tempest-devstack-vm-postgres
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 120
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- label:
|
|
name: NODE_LABEL
|
|
description: Label of node to use for this build
|
|
default: devstack-precise
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_POSTGRES=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- console-log
|
|
- devstack-complete
|
|
|
|
|
|
- job:
|
|
name: gate-tempest-devstack-vm-postgres-full
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 180
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- label:
|
|
name: NODE_LABEL
|
|
description: Label of node to use for this build
|
|
default: devstack-precise
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_TEMPEST_FULL=1
|
|
export DEVSTACK_GATE_POSTGRES=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- console-log
|
|
- devstack-complete
|
|
|
|
|
|
- job:
|
|
name: gate-grenade-devstack-vm
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 180
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- label:
|
|
name: NODE_LABEL
|
|
description: Label of node to use for this build
|
|
default: devstack-precise
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=0
|
|
export DEVSTACK_GATE_GRENADE=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- console-log
|
|
- devstack-complete
|
|
|
|
- job:
|
|
name: gate-grenade-devstack-vm-stable
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 180
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- label:
|
|
name: NODE_LABEL
|
|
description: Label of node to use for this build
|
|
default: devstack-precise
|
|
|
|
builders:
|
|
- devstack-inprogress
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=0
|
|
export DEVSTACK_GATE_GRENADE=1
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- console-log
|
|
- devstack-complete
|
|
|
|
|
|
# Called by devstack jobs to alert that they have started so that the
|
|
# jenkins slave they are running on can be disabled.
|
|
- job:
|
|
name: devstack-update-inprogress
|
|
node: devstack-launch
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 10
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export STATSD_HOST="graphite.openstack.org"
|
|
export STATSD_PORT=8125
|
|
export PYTHONUNBUFFERED=true
|
|
$WORKSPACE/devstack-gate/devstack-vm-inprogress.py $DEVSTACK_NODE_NAME
|
|
|
|
|
|
# Called by devstack jobs to alert that they have completed so that the
|
|
# jenkins slave may be deleted.
|
|
- job:
|
|
name: devstack-update-complete
|
|
node: devstack-launch
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 10
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export STATSD_HOST="graphite.openstack.org"
|
|
export STATSD_PORT=8125
|
|
export PYTHONUNBUFFERED=true
|
|
set +e
|
|
$WORKSPACE/devstack-gate/devstack-vm-inprogress.py $DEVSTACK_NODE_NAME
|
|
set -e
|
|
$WORKSPACE/devstack-gate/devstack-vm-delete.py $DEVSTACK_NODE_NAME
|
|
|
|
|
|
- job-template:
|
|
name: devstack-launch-vms-{provider}
|
|
concurrent: false
|
|
node: devstack-launch
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 20
|
|
fail: true
|
|
- timestamps
|
|
|
|
triggers:
|
|
- timed: '*/10 * * * *'
|
|
|
|
builders:
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export STATSD_HOST="graphite.openstack.org"
|
|
export STATSD_PORT=8125
|
|
export PYTHONUNBUFFERED=true
|
|
$WORKSPACE/devstack-gate/devstack-vm-launch.py {provider}
|
|
|
|
|
|
- job-template:
|
|
name: devstack-reap-vms-{provider}
|
|
concurrent: false
|
|
node: devstack-launch
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 10
|
|
fail: true
|
|
- timestamps
|
|
|
|
parameters:
|
|
- bool:
|
|
name: ALL_SERVERS
|
|
description: Delete all servers?
|
|
default: false
|
|
- bool:
|
|
name: ALL_IMAGES
|
|
description: Delete all images?
|
|
default: false
|
|
|
|
triggers:
|
|
- timed: '*/5 * * * *'
|
|
|
|
builders:
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
|
|
if [ "$ALL_SERVERS" == 'true' ]; then
|
|
ALL_SERVERS="--all-servers"
|
|
else
|
|
ALL_SERVERS=""
|
|
fi
|
|
|
|
if [ "$ALL_IMAGES" == 'true' ]; then
|
|
ALL_IMAGES="--all-images"
|
|
else
|
|
ALL_IMAGES=""
|
|
fi
|
|
|
|
export STATSD_HOST="graphite.openstack.org"
|
|
export STATSD_PORT=8125
|
|
export PYTHONUNBUFFERED=true
|
|
$WORKSPACE/devstack-gate/devstack-vm-reap.py {provider} $ALL_SERVERS $ALL_IMAGES
|
|
|
|
|
|
- job-template:
|
|
name: devstack-check-vms-{provider}
|
|
concurrent: false
|
|
node: devstack-launch
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 25
|
|
fail: true
|
|
- timestamps
|
|
|
|
triggers:
|
|
- timed: '*/30 * * * *'
|
|
|
|
builders:
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
|
|
export STATSD_HOST="graphite.openstack.org"
|
|
export STATSD_PORT=8125
|
|
export PYTHONUNBUFFERED=true
|
|
$WORKSPACE/devstack-gate/devstack-vm-check.py {provider}
|
|
|
|
|
|
- job-template:
|
|
name: devstack-update-vm-image-{provider}
|
|
concurrent: false
|
|
node: devstack-launch
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 360
|
|
fail: true
|
|
- timestamps
|
|
|
|
triggers:
|
|
- timed: '3 5 * * *'
|
|
|
|
builders:
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
$WORKSPACE/devstack-gate/devstack-vm-update-image.sh {provider}
|
|
|
|
|
|
- job-group:
|
|
name: devstack-node-provider-jobs
|
|
jobs:
|
|
- devstack-launch-vms-{provider}
|
|
- devstack-reap-vms-{provider}
|
|
- devstack-check-vms-{provider}
|
|
- devstack-update-vm-image-{provider}
|