Don't remove $WORKSPACE on propsal jobs

These jobs used to run on a long-lived node, and we needed to periodically
clean out the jenkins home dir of workspaces or the disk would fill.  Now
they run on single-use nodes and we don't.  Moreover, removing everything
in the homedir also removes the prepared git repos in v3, which makes the
jobs fail.

Change-Id: I86bc40885abea73bb90aee3998c1938e26f6e1f8
This commit is contained in:
James E. Blair 2017-10-08 06:56:31 -07:00
parent 3cc327b1e4
commit 45ea4ecf3a
7 changed files with 0 additions and 70 deletions

View File

@ -8,16 +8,6 @@
path: '{{ ansible_user_dir }}/workspace'
state: directory
- shell:
cmd: |
cd /
rm -rf `dirname $WORKSPACE`/*
mkdir $WORKSPACE
cd $WORKSPACE
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -x

View File

@ -8,16 +8,6 @@
path: '{{ ansible_user_dir }}/workspace'
state: directory
- shell:
cmd: |
cd /
rm -rf `dirname $WORKSPACE`/*
mkdir $WORKSPACE
cd $WORKSPACE
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -x

View File

@ -8,16 +8,6 @@
path: '{{ ansible_user_dir }}/workspace'
state: directory
- shell:
cmd: |
cd /
rm -rf `dirname $WORKSPACE`/*
mkdir $WORKSPACE
cd $WORKSPACE
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -x

View File

@ -7,16 +7,6 @@
path: '{{ ansible_user_dir }}/workspace'
state: directory
- shell:
cmd: |
cd /
rm -rf `dirname $WORKSPACE`/*
mkdir $WORKSPACE
cd $WORKSPACE
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -x

View File

@ -7,16 +7,6 @@
path: '{{ ansible_user_dir }}/workspace'
state: directory
- shell:
cmd: |
cd /
rm -rf `dirname $WORKSPACE`/*
mkdir $WORKSPACE
cd $WORKSPACE
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -x

View File

@ -7,16 +7,6 @@
path: '{{ ansible_user_dir }}/workspace'
state: directory
- shell:
cmd: |
cd /
rm -rf `dirname $WORKSPACE`/*
mkdir $WORKSPACE
cd $WORKSPACE
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -x

View File

@ -7,16 +7,6 @@
path: '{{ ansible_user_dir }}/workspace'
state: directory
- shell:
cmd: |
cd /
rm -rf `dirname $WORKSPACE`/*
mkdir $WORKSPACE
cd $WORKSPACE
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
- shell:
cmd: |
set -x