diff --git a/playbooks/legacy/dg-hooks-dsvm/post.yaml b/playbooks/legacy/dg-hooks-dsvm/post.yaml deleted file mode 100644 index e07f5510..00000000 --- a/playbooks/legacy/dg-hooks-dsvm/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/dg-hooks-dsvm/run.yaml b/playbooks/legacy/dg-hooks-dsvm/run.yaml deleted file mode 100644 index 72e0e063..00000000 --- a/playbooks/legacy/dg-hooks-dsvm/run.yaml +++ /dev/null @@ -1,52 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-dg-hooks-dsvm from old job gate-dg-hooks-dsvm - 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 - - # place calls for all hooks in here - function pre_test_hook { - echo "I am totally an awesome pre_test_hook" - } - export -f pre_test_hook - - function gate_hook { - echo "I am totally an awesome gate_hook" - } - export -f gate_hook - - function post_test_hook { - echo "I am totally an awesome post_test_hook" - } - export -f post_test_hook - - 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 60835417..bf3cdc75 100644 --- a/zuul.d/zuul-legacy-jobs.yaml +++ b/zuul.d/zuul-legacy-jobs.yaml @@ -79,15 +79,6 @@ - openstack-infra/devstack-gate - openstack/devstack-plugin-container -- job: - name: legacy-dg-hooks-dsvm - parent: legacy-dsvm-base - run: playbooks/legacy/dg-hooks-dsvm/run.yaml - post-run: playbooks/legacy/dg-hooks-dsvm/post.yaml - timeout: 3900 - required-projects: - - openstack-infra/devstack-gate - - job: name: legacy-dox-buildimages parent: legacy-base