Merge "Implement puppet-openstack-integration-checkout JJB builder"
This commit is contained in:
commit
1f317795df
@ -1,3 +1,21 @@
|
||||
- builder:
|
||||
name: puppet-openstack-integration-checkout
|
||||
builders:
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
CLONEMAP=`mktemp`
|
||||
function cleanup {
|
||||
rm -f $CLONEMAP
|
||||
}
|
||||
trap cleanup EXIT
|
||||
cat > $CLONEMAP << EOF
|
||||
clonemap:
|
||||
- name: openstack/puppet-openstack-integration
|
||||
dest: .
|
||||
EOF
|
||||
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
|
||||
git://git.openstack.org openstack/puppet-openstack-integration
|
||||
|
||||
- job-template:
|
||||
name: 'gate-{name}-puppet-unit-{puppet_version}-{node}'
|
||||
node: '{node}'
|
||||
@ -191,8 +209,8 @@
|
||||
- print-template-name:
|
||||
template-name: "{template-name}"
|
||||
- link-logs
|
||||
- zuul-clone:
|
||||
project: openstack/puppet-openstack-integration
|
||||
- puppet-openstack-integration-checkout
|
||||
- install-distro-packages
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
cd openstack/puppet-openstack-integration
|
||||
@ -216,8 +234,7 @@
|
||||
- print-template-name:
|
||||
template-name: "{template-name}"
|
||||
- link-logs
|
||||
- zuul-clone:
|
||||
project: openstack/puppet-openstack-integration
|
||||
- puppet-openstack-integration-checkout
|
||||
- install-distro-packages
|
||||
- puppet-prepare-node
|
||||
- shell: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user