From cd0b522ad520b9a1e0181b352c1f2e1d91d0ddcd Mon Sep 17 00:00:00 2001 From: Idan Hefetz Date: Mon, 17 Aug 2020 13:58:59 +0000 Subject: [PATCH] Native Zuul v3 Depends-on: I938cb7d5f820a761fc65ac82d137f83a2188faed Change-Id: Ia8d40343d35cf8cfdc0f1708dd9724d8476474f3 --- .zuul.yaml | 90 ++++--------------- devstack/devstackgaterc | 1 - devstack/gate_hook.sh | 84 ----------------- devstack/gate_hook_mock.sh | 73 --------------- .../legacy/vitrage-dsvm-api-py3/post.yaml | 80 ----------------- .../legacy/vitrage-dsvm-api-py3/run-ipv6.yaml | 77 ---------------- .../legacy/vitrage-dsvm-api-py3/run.yaml | 68 -------------- .../vitrage-dsvm-datasources-py3/post.yaml | 80 ----------------- .../vitrage-dsvm-datasources-py3/run.yaml | 68 -------------- .../legacy/vitrage-dsvm-mock-py3/post.yaml | 80 ----------------- .../legacy/vitrage-dsvm-mock-py3/run.yaml | 66 -------------- playbooks/legacy/vitrage-grenade/post.yaml | 16 ---- playbooks/legacy/vitrage-grenade/run.yaml | 59 ------------ 13 files changed, 15 insertions(+), 827 deletions(-) delete mode 100644 devstack/devstackgaterc delete mode 100644 devstack/gate_hook.sh delete mode 100644 devstack/gate_hook_mock.sh delete mode 100644 playbooks/legacy/vitrage-dsvm-api-py3/post.yaml delete mode 100644 playbooks/legacy/vitrage-dsvm-api-py3/run-ipv6.yaml delete mode 100644 playbooks/legacy/vitrage-dsvm-api-py3/run.yaml delete mode 100644 playbooks/legacy/vitrage-dsvm-datasources-py3/post.yaml delete mode 100644 playbooks/legacy/vitrage-dsvm-datasources-py3/run.yaml delete mode 100644 playbooks/legacy/vitrage-dsvm-mock-py3/post.yaml delete mode 100644 playbooks/legacy/vitrage-dsvm-mock-py3/run.yaml delete mode 100644 playbooks/legacy/vitrage-grenade/post.yaml delete mode 100644 playbooks/legacy/vitrage-grenade/run.yaml diff --git a/.zuul.yaml b/.zuul.yaml index c6d84a3f1..2355dda32 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,3 +1,4 @@ + - project: templates: - check-requirements @@ -7,88 +8,26 @@ - release-notes-jobs-python3 check: jobs: - - vitrage-dsvm-api-py3 - - vitrage-dsvm-datasources-py3 - - vitrage-dsvm-mock-py3 - - grenade-vitrage - - vitrage-dsvm-api-ipv6-only + - vitrage-tempest-plugin-api + - vitrage-tempest-plugin-api-ipv6-only + - vitrage-tempest-plugin-datasources + - vitrage-tempest-plugin-mock + - vitrage-grenade + gate: queue: vitrage jobs: - - vitrage-dsvm-api-py3 - - vitrage-dsvm-datasources-py3 - - grenade-vitrage - - vitrage-dsvm-api-ipv6-only + - vitrage-tempest-plugin-api + - vitrage-tempest-plugin-api-ipv6-only + - vitrage-tempest-plugin-datasources + - vitrage-grenade - job: - name: vitrage-dsvm-api-py3 - parent: legacy-dsvm-base - run: playbooks/legacy/vitrage-dsvm-api-py3/run.yaml - post-run: playbooks/legacy/vitrage-dsvm-api-py3/post.yaml - timeout: 7800 - required-projects: - - openstack/devstack-gate - - openstack/aodh - - openstack/mistral - - openstack/python-vitrageclient - - openstack/vitrage - - openstack/vitrage-tempest-plugin - irrelevant-files: - - ^.*\.rst$ - - ^doc/.*$ - - ^releasenotes/.*$ - -- job: - name: vitrage-dsvm-api-ipv6-only - parent: vitrage-dsvm-api-py3 - run: playbooks/legacy/vitrage-dsvm-api-py3/run-ipv6.yaml - required-projects: - - openstack/tempest - -- job: - name: vitrage-dsvm-datasources-py3 - parent: legacy-dsvm-base - run: playbooks/legacy/vitrage-dsvm-datasources-py3/run.yaml - post-run: playbooks/legacy/vitrage-dsvm-datasources-py3/post.yaml - timeout: 7800 - required-projects: - - openstack/devstack-gate - - openstack/aodh - - openstack/mistral - - openstack/python-vitrageclient - - openstack/vitrage - - openstack/vitrage-tempest-plugin - irrelevant-files: - - ^.*\.rst$ - - ^doc/.*$ - - ^releasenotes/.*$ - -- job: - name: vitrage-dsvm-mock-py3 - parent: legacy-dsvm-base - voting: false - run: playbooks/legacy/vitrage-dsvm-mock-py3/run.yaml - post-run: playbooks/legacy/vitrage-dsvm-mock-py3/post.yaml - timeout: 7800 - required-projects: - - openstack/devstack-gate - - openstack/python-vitrageclient - - openstack/vitrage - - openstack/vitrage-tempest-plugin - irrelevant-files: - - ^.*\.rst$ - - ^doc/.*$ - - ^releasenotes/.*$ - -- job: - name: grenade-vitrage - parent: legacy-dsvm-base - run: playbooks/legacy/vitrage-grenade/run.yaml - post-run: playbooks/legacy/vitrage-grenade/post.yaml + name: vitrage-grenade + parent: grenade timeout: 7800 required-projects: - openstack/grenade - - openstack/devstack-gate - openstack/vitrage - openstack/python-vitrageclient irrelevant-files: @@ -98,4 +37,5 @@ - ^releasenotes/.*$ - ^setup.cfg$ vars: - branch_override: default + devstack_plugins: + vitrage: https://opendev.org/openstack/vitrage diff --git a/devstack/devstackgaterc b/devstack/devstackgaterc deleted file mode 100644 index b0d49025a..000000000 --- a/devstack/devstackgaterc +++ /dev/null @@ -1 +0,0 @@ -export TEMPEST_VERSION=master \ No newline at end of file diff --git a/devstack/gate_hook.sh b/devstack/gate_hook.sh deleted file mode 100644 index 55ee3535d..000000000 --- a/devstack/gate_hook.sh +++ /dev/null @@ -1,84 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2016 - Nokia -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -export DEVSTACK_GATE_NEUTRON=1 -export DEVSTACK_GATE_HEAT=1 -export DEVSTACK_GATE_INSTALL_TESTONLY=1 -export DEVSTACK_GATE_TEMPEST=1 -export DEVSTACK_GATE_TEMPEST_NOTESTS=1 -export KEEP_LOCALRC=1 - - -DEVSTACK_LOCAL_CONFIG+=$'\nenable_plugin heat https://opendev.org/openstack/heat' -DEVSTACK_LOCAL_CONFIG+=$'\nenable_plugin ceilometer https://opendev.org/openstack/ceilometer' -DEVSTACK_LOCAL_CONFIG+=$'\nenable_plugin aodh https://opendev.org/openstack/aodh' -DEVSTACK_LOCAL_CONFIG+=$'\nenable_plugin mistral https://opendev.org/openstack/mistral' -DEVSTACK_LOCAL_CONFIG+=$'\nenable_plugin vitrage https://opendev.org/openstack/vitrage' -DEVSTACK_LOCAL_CONFIG+=$'\nenable_plugin vitrage-tempest-plugin https://opendev.org/openstack/vitrage-tempest-plugin' - -# enable them for gate testing they are disabled by default -DEVSTACK_LOCAL_CONFIG+=$'\nVITRAGE_USE_STATIC=1' -DEVSTACK_LOCAL_CONFIG+=$'\nVITRAGE_USE_DOCTOR=1' -DEVSTACK_LOCAL_CONFIG+=$'\nVITRAGE_USE_PROMETHEUS=1' - -# we don't want swift -DEVSTACK_LOCAL_CONFIG+=$'\ndisable_service s-account s-container s-object s-proxy' - -DEVSTACK_LOCAL_CONFIG+="$(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 - export PYTHONUNBUFFERED=true - export PROJECTS="openstack/python-vitrageclient $PROJECTS" - export PROJECTS="openstack/aodh $PROJECTS" - export PROJECTS="openstack/mistral $PROJECTS" - export PROJECTS="openstack/vitrage $PROJECTS" - export PROJECTS="openstack/vitrage-tempest-plugin $PROJECTS" - - export DEVSTACK_GATE_USE_PYTHON3=True - export DEVSTACK_LOCAL_CONFIG+=$'\n'"SERVICE_IP_VERSION=6" - export DEVSTACK_LOCAL_CONFIG+=$'\n'"SERVICE_HOST=''" - # temporary workaround with IPv6-based host name until we'll figure out how to pass - # IPv6 address to gRPC client - #export DEVSTACK_LOCAL_CONFIG+=$'\n'"VITRAGE_COORDINATION_URL=etcd3://localhost:2379" - - function pre_test_hook { - source $BASE/new/vitrage-tempest-plugin/devstack/pre_test_hook.sh - } - export -f pre_test_hook - - function gate_hook { - source $BASE/new/vitrage/devstack/gate_hook.sh - } - export -f gate_hook - - function post_test_hook { - cd $BASE/new/tempest/tools - ./verify-ipv6-only-deployments.sh - - if [[ "$TEMPEST_VERSION" != "master" ]]; then - # use vitrage-tempest-plugin $TEMPEST_VERSION - # which is defined in the devstackgaterc file - - cd $BASE/new/vitrage-tempest-plugin/ - git_checkout_tag vitrage-tempest-plugin $TEMPEST_VERSION - fi - - source $BASE/new/vitrage-tempest-plugin/devstack/post_test_hook.sh 'api' - - } - export -f post_test_hook - - export DEVSTACK_GATE_SETTINGS=/opt/stack/new/vitrage/devstack/devstackgaterc - - 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/legacy/vitrage-dsvm-api-py3/run.yaml b/playbooks/legacy/vitrage-dsvm-api-py3/run.yaml deleted file mode 100644 index 692da3fdf..000000000 --- a/playbooks/legacy/vitrage-dsvm-api-py3/run.yaml +++ /dev/null @@ -1,68 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-vitrage-dsvm-api-py3 from old job gate-vitrage-dsvm-api-py35-ubuntu-xenial-nv - 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 - export PYTHONUNBUFFERED=true - export PROJECTS="openstack/python-vitrageclient $PROJECTS" - export PROJECTS="openstack/aodh $PROJECTS" - export PROJECTS="openstack/mistral $PROJECTS" - export PROJECTS="openstack/vitrage $PROJECTS" - export PROJECTS="openstack/vitrage-tempest-plugin $PROJECTS" - - export DEVSTACK_GATE_USE_PYTHON3=True - - function pre_test_hook { - source $BASE/new/vitrage-tempest-plugin/devstack/pre_test_hook.sh - } - export -f pre_test_hook - - function gate_hook { - source $BASE/new/vitrage/devstack/gate_hook.sh - } - export -f gate_hook - - function post_test_hook { - if [[ "$TEMPEST_VERSION" != "master" ]]; then - # use vitrage-tempest-plugin $TEMPEST_VERSION - # which is defined in the devstackgaterc file - - cd $BASE/new/vitrage-tempest-plugin/ - git_checkout_tag vitrage-tempest-plugin $TEMPEST_VERSION - fi - - source $BASE/new/vitrage-tempest-plugin/devstack/post_test_hook.sh 'api' - } - export -f post_test_hook - - export DEVSTACK_GATE_SETTINGS=/opt/stack/new/vitrage/devstack/devstackgaterc - - 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/legacy/vitrage-dsvm-datasources-py3/post.yaml b/playbooks/legacy/vitrage-dsvm-datasources-py3/post.yaml deleted file mode 100644 index dac875340..000000000 --- a/playbooks/legacy/vitrage-dsvm-datasources-py3/post.yaml +++ /dev/null @@ -1,80 +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=**/*nose_results.html - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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=**/*testr_results.html.gz - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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=/.testrepository/tmp* - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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=**/*testrepository.subunit.gz - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - name: Copy files from {{ ansible_user_dir }}/workspace/ on node - synchronize: - src: '{{ ansible_user_dir }}/workspace/' - dest: '{{ zuul.executor.log_root }}/tox' - mode: pull - copy_links: true - verify_host: true - rsync_opts: - - --include=/.tox/*/log/* - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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/legacy/vitrage-dsvm-datasources-py3/run.yaml b/playbooks/legacy/vitrage-dsvm-datasources-py3/run.yaml deleted file mode 100644 index 581c51199..000000000 --- a/playbooks/legacy/vitrage-dsvm-datasources-py3/run.yaml +++ /dev/null @@ -1,68 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-vitrage-dsvm-datasources-py3 from old job gate-vitrage-dsvm-datasources-py35-ubuntu-xenial-nv - 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 - export PYTHONUNBUFFERED=true - export PROJECTS="openstack/python-vitrageclient $PROJECTS" - export PROJECTS="openstack/aodh $PROJECTS" - export PROJECTS="openstack/mistral $PROJECTS" - export PROJECTS="openstack/vitrage $PROJECTS" - export PROJECTS="openstack/vitrage-tempest-plugin $PROJECTS" - - export DEVSTACK_GATE_USE_PYTHON3=True - - function pre_test_hook { - source $BASE/new/vitrage-tempest-plugin/devstack/pre_test_hook.sh - } - export -f pre_test_hook - - function gate_hook { - source $BASE/new/vitrage/devstack/gate_hook.sh - } - export -f gate_hook - - function post_test_hook { - if [[ "$TEMPEST_VERSION" != "master" ]]; then - # use vitrage-tempest-plugin $TEMPEST_VERSION - # which is defined in the devstackgaterc file - - cd $BASE/new/vitrage-tempest-plugin/ - git_checkout_tag vitrage-tempest-plugin $TEMPEST_VERSION - fi - - source $BASE/new/vitrage-tempest-plugin/devstack/post_test_hook.sh 'datasources' - } - export -f post_test_hook - - export DEVSTACK_GATE_SETTINGS=/opt/stack/new/vitrage/devstack/devstackgaterc - - 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/legacy/vitrage-dsvm-mock-py3/post.yaml b/playbooks/legacy/vitrage-dsvm-mock-py3/post.yaml deleted file mode 100644 index dac875340..000000000 --- a/playbooks/legacy/vitrage-dsvm-mock-py3/post.yaml +++ /dev/null @@ -1,80 +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=**/*nose_results.html - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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=**/*testr_results.html.gz - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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=/.testrepository/tmp* - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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=**/*testrepository.subunit.gz - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - name: Copy files from {{ ansible_user_dir }}/workspace/ on node - synchronize: - src: '{{ ansible_user_dir }}/workspace/' - dest: '{{ zuul.executor.log_root }}/tox' - mode: pull - copy_links: true - verify_host: true - rsync_opts: - - --include=/.tox/*/log/* - - --include=*/ - - --exclude=* - - --prune-empty-dirs - - - 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/legacy/vitrage-dsvm-mock-py3/run.yaml b/playbooks/legacy/vitrage-dsvm-mock-py3/run.yaml deleted file mode 100644 index b4864972f..000000000 --- a/playbooks/legacy/vitrage-dsvm-mock-py3/run.yaml +++ /dev/null @@ -1,66 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-vitrage-dsvm-mock-py3 from old job gate-vitrage-dsvm-mock-py35-ubuntu-xenial-nv - 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 - export PYTHONUNBUFFERED=true - export PROJECTS="openstack/python-vitrageclient $PROJECTS" - export PROJECTS="openstack/vitrage $PROJECTS" - export PROJECTS="openstack/vitrage-tempest-plugin $PROJECTS" - - export DEVSTACK_GATE_USE_PYTHON3=True - - function pre_test_hook { - source $BASE/new/vitrage-tempest-plugin/devstack/pre_test_hook.sh - } - export -f pre_test_hook - - function gate_hook { - source $BASE/new/vitrage/devstack/gate_hook_mock.sh - } - export -f gate_hook - - function post_test_hook { - if [[ "$TEMPEST_VERSION" != "master" ]]; then - # use vitrage-tempest-plugin $TEMPEST_VERSION - # which is defined in the devstackgaterc file - - cd $BASE/new/vitrage-tempest-plugin/ - git_checkout_tag vitrage-tempest-plugin $TEMPEST_VERSION - fi - - source $BASE/new/vitrage-tempest-plugin/devstack/post_test_hook.sh 'mock' - } - export -f post_test_hook - - export DEVSTACK_GATE_SETTINGS=$BASE/new/vitrage/devstack/devstackgaterc - - 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/legacy/vitrage-grenade/post.yaml b/playbooks/legacy/vitrage-grenade/post.yaml deleted file mode 100644 index 39e641b1a..000000000 --- a/playbooks/legacy/vitrage-grenade/post.yaml +++ /dev/null @@ -1,16 +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/legacy/vitrage-grenade/run.yaml b/playbooks/legacy/vitrage-grenade/run.yaml deleted file mode 100644 index dc339fcdb..000000000 --- a/playbooks/legacy/vitrage-grenade/run.yaml +++ /dev/null @@ -1,59 +0,0 @@ -- hosts: all - name: job for grenade-vitrage - 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 vitrage https://opendev.org/openstack/vitrage - # TEMPEST_PLUGINS+=' ../' - USE_PYTHON3=True - 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/vitrage $PROJECTS" - export PROJECTS="openstack/python-vitrageclient $PROJECTS" - export PYTHONUNBUFFERED=true - export GRENADE_PLUGINRC="enable_grenade_plugin vitrage https://opendev.org/openstack/vitrage" - export DEVSTACK_GATE_TEMPEST=1 - export DEVSTACK_GATE_TEMPEST_NOTESTS=1 - export DEVSTACK_GATE_GRENADE=pullup - if [ "{{ branch_override }}" != "default" ] ; then - export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE - fi - 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 }}'