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:30:44 +0000
commitfa04f3d3352fda5b31145be5e29acc2ee3d0481d (patch)
tree052e44f46c6c6b3f44cf4339fd07fad9490ca8fc
parentb6f49ca72e0dbab686ad3af9519aa826c2a6acf6 (diff)
Stop using slave_scripts/install-distro-packages.shstable/pike
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:39:24 +0000 Reviewed-on: https://review.openstack.org/564296 Project: openstack/magnum Branch: refs/heads/stable/pike
-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 }}'