Skip to content

Instantly share code, notes, and snippets.

@chadlung
Last active August 29, 2015 13:56
Show Gist options
  • Save chadlung/8964037 to your computer and use it in GitHub Desktop.
Save chadlung/8964037 to your computer and use it in GitHub Desktop.
Proposed modfication to ..zuul/layout.yaml and for Barbican incubation and ../zuul/barbican.yaml (changes based on Solum's infra entry)
# ***** COMMENTS (comments will not appear in actual file) *******
# THIS IS A NEW FILE (based on Solum's entry into infra)
# https://git.openstack.org/cgit/openstack-infra/config/tree/modules/openstack_project/files/jenkins_job_builder
# /config/barbican.yaml
# These changes also require Barbican's repo to include a structure like Solum did here:
# https://github.com/stackforge/solum/tree/master/functionaltests
- job:
name: gate-barbican-devstack-dsvm
node: devstack-precise
wrappers:
- timeout:
timeout: 65
fail: true
- timestamps
builders:
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=60
export ENABLED_SERVICES=barbican,tempest
export PROJECTS="stackforge/barbican"
function pre_test_hook {
cd /opt/stack/new/barbican/functionaltests
./pre_test_hook.sh
}
export -f pre_test_hook
function post_test_hook {
cd /opt/stack/new/barbican/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
- link-logs
publishers:
- devstack-logs
- console-log
# ***** COMMENTS (comments will not appear in actual file) *******
# FILE BEFORE MODIFICATIONS
# FILE: https://git.openstack.org/cgit/openstack-infra/config/tree/modules/openstack_project/files/zuul/layout.yaml
- name: stackforge/barbican
check:
- gate-barbican-pep8
- gate-barbican-python27
gate:
- gate-barbican-pep8
- gate-barbican-python27
post:
- barbican-branch-tarball
# ***** COMMENTS (comments will not appear in actual file) *******
# AFTER PROPOSED MODIFICATIONS
# added gate-barbican-devstack-dsvm to check and gate
# further down the file add gate-barbican-devstack-dsvm as non-voting
- name: stackforge/barbican
check:
- gate-barbican-pep8
- gate-barbican-python27
- gate-barbican-devstack-dsvm
gate:
- gate-barbican-pep8
- gate-barbican-python27
- gate-barbican-devstack-dsvm
post:
- barbican-branch-tarball
...
- name: gate-barbican-devstack-dsvm
voting: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment