From fa00dac5ca92a79131bce7590694fc403e146fa0 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 16 Aug 2018 09:13:28 +0200 Subject: [PATCH] Retire rst2bash: Remove unused jobs These jobs are not needed anymore, remove them. Depends-On: https://review.openstack.org/592288 Change-Id: Ib97bb989d625cec33feffaada1349b36e7380cd3 --- .../labs-ig-cluster-kvm-ubuntu/run.yaml | 45 ------------------- .../labs-ig-cluster-vbox-ubuntu/run.yaml | 45 ------------------- zuul.d/zuul-legacy-jobs.yaml | 12 ----- 3 files changed, 102 deletions(-) delete mode 100644 playbooks/legacy/labs-ig-cluster-kvm-ubuntu/run.yaml delete mode 100644 playbooks/legacy/labs-ig-cluster-vbox-ubuntu/run.yaml diff --git a/playbooks/legacy/labs-ig-cluster-kvm-ubuntu/run.yaml b/playbooks/legacy/labs-ig-cluster-kvm-ubuntu/run.yaml deleted file mode 100644 index cada7e7c..00000000 --- a/playbooks/legacy/labs-ig-cluster-kvm-ubuntu/run.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-labs-ig-cluster-kvm-ubuntu from old job gate-labs-ig-cluster-kvm-ubuntu-nv - roles: - - bindep - - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - CLONEMAP=`mktemp` - function cleanup { - # In cases where zuul-cloner is aborted during a git - # clone operation, git will remove the git work tree in - # its cleanup. The work tree in these jobs is the - # workspace directory, which means that subsequent - # jenkins post-build actions can not run because the - # workspace has been removed. - # To reduce the likelihood of this having an impact, - # recreate the workspace directory if needed - mkdir -p $WORKSPACE - rm -f $CLONEMAP - } - trap cleanup EXIT - cat > $CLONEMAP << EOF - clonemap: - - name: $ZUUL_PROJECT - dest: . - EOF - /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ - git://git.openstack.org $ZUUL_PROJECT - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: ./tools/cluster kvm ubuntu - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' diff --git a/playbooks/legacy/labs-ig-cluster-vbox-ubuntu/run.yaml b/playbooks/legacy/labs-ig-cluster-vbox-ubuntu/run.yaml deleted file mode 100644 index 92011de6..00000000 --- a/playbooks/legacy/labs-ig-cluster-vbox-ubuntu/run.yaml +++ /dev/null @@ -1,45 +0,0 @@ -- hosts: all - name: Autoconverted job legacy-labs-ig-cluster-vbox-ubuntu from old job gate-labs-ig-cluster-vbox-ubuntu-nv - roles: - - bindep - - tasks: - - - name: Ensure legacy workspace directory - file: - path: '{{ ansible_user_dir }}/workspace' - state: directory - - - shell: - cmd: | - set -e - set -x - CLONEMAP=`mktemp` - function cleanup { - # In cases where zuul-cloner is aborted during a git - # clone operation, git will remove the git work tree in - # its cleanup. The work tree in these jobs is the - # workspace directory, which means that subsequent - # jenkins post-build actions can not run because the - # workspace has been removed. - # To reduce the likelihood of this having an impact, - # recreate the workspace directory if needed - mkdir -p $WORKSPACE - rm -f $CLONEMAP - } - trap cleanup EXIT - cat > $CLONEMAP << EOF - clonemap: - - name: $ZUUL_PROJECT - dest: . - EOF - /usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \ - git://git.openstack.org $ZUUL_PROJECT - executable: /bin/bash - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - - shell: - cmd: ./tools/cluster vbox ubuntu - 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 7ded5b30..6af9ca81 100644 --- a/zuul.d/zuul-legacy-jobs.yaml +++ b/zuul.d/zuul-legacy-jobs.yaml @@ -586,18 +586,6 @@ - openstack-infra/devstack-gate - openstack/kingbird -- job: - name: legacy-labs-ig-cluster-kvm-ubuntu - parent: legacy-base - run: playbooks/legacy/labs-ig-cluster-kvm-ubuntu/run.yaml - timeout: 1800 - -- job: - name: legacy-labs-ig-cluster-vbox-ubuntu - parent: legacy-base - run: playbooks/legacy/labs-ig-cluster-vbox-ubuntu/run.yaml - timeout: 1800 - - job: name: legacy-laravel-openstackid-release-branch parent: legacy-publish-openstack-artifacts