summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Belanger <pabelanger@redhat.com>2018-04-20 14:56:18 -0400
committerPaul Belanger <pabelanger@redhat.com>2018-04-25 17:31:07 +0000
commit18616f88b1738576c27f3ed039af2a66b6b98ea4 (patch)
tree21c8c753d81647ffbe55c5b5a2f4ebf230a2e143
parent7af6b6c924357c2e2d4360c6b17d640e1202f212 (diff)
Stop using slave_scripts/install-distro-packages.shstable/ocata
Migrate the legacy job to start using our bindep role from zuul-jobs. This will allow openstack-infra to delete slave_scripts/install-distro-packages.sh in the future. Change-Id: Ie3437d26fd6dfa884c86e18d69c1b1398d821dbe Signed-off-by: Paul Belanger <pabelanger@redhat.com> (cherry picked from commit 3d1ee579cb1af0272cae6c55b5cc455e3e1e6a37)
Notes
Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 02 May 2018 09:53:08 +0000 Reviewed-on: https://review.openstack.org/564297 Project: openstack/magnum Branch: refs/heads/stable/ocata
-rw-r--r--playbooks/pre/prepare-workspace-images.yaml8
1 files changed, 3 insertions, 5 deletions
diff --git a/playbooks/pre/prepare-workspace-images.yaml b/playbooks/pre/prepare-workspace-images.yaml
index 0fe2d13..260af75 100644
--- a/playbooks/pre/prepare-workspace-images.yaml
+++ b/playbooks/pre/prepare-workspace-images.yaml
@@ -1,12 +1,10 @@
1- hosts: all 1- hosts: all
2 roles:
3 - bindep
4
2 tasks: 5 tasks:
3 6
4 - name: Ensure legacy workspace directory 7 - name: Ensure legacy workspace directory
5 file: 8 file:
6 path: '{{ ansible_user_dir }}/workspace' 9 path: '{{ ansible_user_dir }}/workspace'
7 state: directory 10 state: directory
8
9 - shell:
10 cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
11 chdir: '{{ ansible_user_dir }}/workspace'
12 environment: '{{ zuul | zuul_legacy_vars }}'