diff options
author | Luigi Toscano <ltoscano@redhat.com> | 2020-05-08 16:06:46 +0530 |
---|---|---|
committer | Rabi Mishra <ramishra@redhat.com> | 2020-05-13 09:37:28 +0530 |
commit | 86fc1740c405e73c094012e8d341cf9d1e71e347 (patch) | |
tree | fadc552de3cda0d6bc743f6358f46c213c039675 /playbooks | |
parent | a61c4bbe29b4df6d00b74316d4b650727b15381d (diff) | |
download | heat-86fc1740c405e73c094012e8d341cf9d1e71e347.tar.gz |
Add native grenade zuul v3 jobs
Moved from https://review.opendev.org/#/c/639774/
Change-Id: Id7f9be610e99cac9cf1f097066cc8748752d92dd
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/devstack/grenade/post.yaml | 14 | ||||
-rw-r--r-- | playbooks/devstack/grenade/run.yaml | 61 | ||||
-rw-r--r-- | playbooks/devstack/multinode-networking/pre.yaml | 3 |
3 files changed, 0 insertions, 78 deletions
diff --git a/playbooks/devstack/grenade/post.yaml b/playbooks/devstack/grenade/post.yaml deleted file mode 100644 index baf876086..000000000 --- a/playbooks/devstack/grenade/post.yaml +++ /dev/null @@ -1,14 +0,0 @@ -- hosts: primary - tasks: - - name: Copy files from {{ ansible_user_dir }}/workspace/ on node - synchronize: - src: '{{ ansible_user_dir }}/workspace/' - dest: '{{ zuul.executor.log_root }}' - mode: pull - copy_links: true - verify_host: true - rsync_opts: - - --include=/logs/** - - --include=*/ - - --exclude=* - - --prune-empty-dirs diff --git a/playbooks/devstack/grenade/run.yaml b/playbooks/devstack/grenade/run.yaml deleted file mode 100644 index ab1838dd5..000000000 --- a/playbooks/devstack/grenade/run.yaml +++ /dev/null @@ -1,61 +0,0 @@ -- hosts: primary - name: job for grenade-heat - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - cat > clonemap.yaml << EOF - clonemap: - - name: openstack/devstack-gate - dest: devstack-gate - EOF - /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - https://opendev.org \ - openstack/devstack-gate - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - cat << 'EOF' >>"/tmp/dg-local.conf" - [[local|localrc]] - enable_plugin heat https://opendev.org/openstack/heat - TEMPEST_PLUGINS+=' ../heat-tempest-plugin' - EOF - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: | - set -e - set -x - export PROJECTS="openstack/grenade $PROJECTS" - export PROJECTS="openstack/heat-tempest-plugin $PROJECTS" - export PYTHONUNBUFFERED=true - export GRENADE_PLUGINRC="enable_grenade_plugin heat https://opendev.org/openstack/heat" - export DEVSTACK_GATE_NEUTRON=1 - export DEVSTACK_GATE_TEMPEST=1 - export DEVSTACK_GATE_TEMPEST_NOTESTS=1 - export DEVSTACK_GATE_GRENADE=pullup - export DEVSTACK_GATE_USE_PYTHON3=True - if [ "{{ branch_override }}" != "default" ] ; then - export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE - fi - export DEVSTACK_GATE_TOPOLOGY="{{ topology }}" - export DEVSTACK_LOCAL_CONFIG=$'\n'"HOST_TOPOLOGY={{ topology }}" - cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh - ./safe-devstack-vm-gate-wrap.sh - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/devstack/multinode-networking/pre.yaml b/playbooks/devstack/multinode-networking/pre.yaml deleted file mode 100644 index 3d29085c2..000000000 --- a/playbooks/devstack/multinode-networking/pre.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- hosts: all - roles: - - multi-node-firewall |