From e41c6bb6f05162bf1fc3f10ab015e0cc5c3ad454 Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Thu, 30 Nov 2017 19:29:20 +0900 Subject: [PATCH] Drop legacy-horizon-dsvm-tempest-plugin Depends-On: I8ac2f9098b698c14de131c25b77e1110a84a770d Change-Id: Id9371caea84b964505e7ba1e18ecbedc1d9ad825 --- .../horizon-dsvm-tempest-plugin/post.yaml | 15 ------ .../horizon-dsvm-tempest-plugin/run.yaml | 46 ------------------- zuul.d/zuul-legacy-jobs.yaml | 12 ----- 3 files changed, 73 deletions(-) delete mode 100644 playbooks/legacy/horizon-dsvm-tempest-plugin/post.yaml delete mode 100644 playbooks/legacy/horizon-dsvm-tempest-plugin/run.yaml diff --git a/playbooks/legacy/horizon-dsvm-tempest-plugin/post.yaml b/playbooks/legacy/horizon-dsvm-tempest-plugin/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/horizon-dsvm-tempest-plugin/post.yaml +++ /dev/null @@ -1,15 +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/horizon-dsvm-tempest-plugin/run.yaml b/playbooks/legacy/horizon-dsvm-tempest-plugin/run.yaml deleted file mode 100644 index 9a1f2f59..00000000 --- a/playbooks/legacy/horizon-dsvm-tempest-plugin/run.yaml +++ /dev/null @@ -1,46 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-horizon-dsvm-tempest-plugin from old job gate-horizon-dsvm-tempest-plugin-ubuntu-xenial - 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-infra/devstack-gate - dest: devstack-gate - EOF - /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ - git://git.openstack.org \ - openstack-infra/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 DEVSTACK_GATE_HORIZON=1 - export DEVSTACK_GATE_TEMPEST=1 - export DEVSTACK_GATE_TEMPEST_REGEX=horizon - export DEVSTACK_LOCAL_CONFIG="export TEMPEST_PLUGINS='/opt/stack/new/tempest-horizon'" - export PROJECTS="openstack/tempest-horizon $PROJECTS" - - 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 }}' diff --git a/zuul.d/zuul-legacy-jobs.yaml b/zuul.d/zuul-legacy-jobs.yaml index b0318c80..19f51967 100644 --- a/zuul.d/zuul-legacy-jobs.yaml +++ b/zuul.d/zuul-legacy-jobs.yaml @@ -1253,18 +1253,6 @@ - openstack/heat - openstack/python-heatclient -- job: - name: legacy-horizon-dsvm-tempest-plugin - parent: legacy-dsvm-base - run: playbooks/legacy/horizon-dsvm-tempest-plugin/run.yaml - post-run: playbooks/legacy/horizon-dsvm-tempest-plugin/post.yaml - timeout: 6000 - required-projects: - - openstack-infra/devstack-gate - - openstack/horizon - - openstack/tempest - - openstack/tempest-horizon - - job: name: legacy-infra-ansible parent: legacy-base