Merge "Fix nodepool-zuul-functional"
This commit is contained in:
commit
910dfcee83
@ -6,6 +6,7 @@
|
||||
|
||||
This test runs the zuul project ``nodepool`` environment.
|
||||
pre-run: playbooks/nodepool-zuul-functional/pre.yaml
|
||||
post-run: playbooks/nodepool-zuul-functional/post.yaml
|
||||
required-projects:
|
||||
- openstack-infra/nodepool
|
||||
- openstack-infra/zuul
|
||||
@ -116,6 +117,8 @@
|
||||
- tox-cover
|
||||
- tox-pep8
|
||||
- tox-py35
|
||||
- nodepool-zuul-functional:
|
||||
voting: false
|
||||
- nodepool-functional-py35:
|
||||
voting: false
|
||||
- nodepool-functional-py35-src:
|
||||
@ -133,6 +136,3 @@
|
||||
post:
|
||||
jobs:
|
||||
- publish-openstack-sphinx-docs-infra-python3
|
||||
experimental:
|
||||
jobs:
|
||||
- nodepool-zuul-functional
|
||||
|
8
playbooks/nodepool-zuul-functional/post.yaml
Normal file
8
playbooks/nodepool-zuul-functional/post.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
- hosts: all
|
||||
tasks:
|
||||
- name: Copy nodepool logs from /tmp
|
||||
synchronize:
|
||||
src: '/tmp/nodepool/'
|
||||
dest: '{{ zuul.executor.log_root }}/nodepool/'
|
||||
mode: pull
|
||||
verify_host: true
|
@ -1,5 +1,12 @@
|
||||
- hosts: all
|
||||
name: Zuul setup for nodepool test
|
||||
roles:
|
||||
- role: bindep
|
||||
bindep_profile: default
|
||||
bindep_dir: "{{ zuul.projects['git.openstack.org/openstack-infra/zuul'].src_dir }}"
|
||||
# TODO(AJaeger): Remove once legacy script is removed from zuul
|
||||
- legacy-copy-jenkins-scripts
|
||||
|
||||
tasks:
|
||||
|
||||
- name: Run tools/nodepool-integration-setup.sh from zuul
|
||||
|
@ -1,4 +1,5 @@
|
||||
images-dir: /tmp/nodepool/images
|
||||
build-log-dir: /tmp/nodepool/builds
|
||||
|
||||
zookeeper-servers:
|
||||
- host: localhost
|
||||
|
Loading…
x
Reference in New Issue
Block a user