From 557c1f524bb10723747590a8314e31aad70d787b Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Fri, 20 Apr 2018 14:46:45 -0400 Subject: [PATCH] Stop using slave_scripts/install-distro-packages.sh 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: I3ac3e49b1c6308398c0e7b38f9a6e7329d049f2f Signed-off-by: Paul Belanger --- playbooks/legacy/mistral-ha/run.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/playbooks/legacy/mistral-ha/run.yaml b/playbooks/legacy/mistral-ha/run.yaml index dd95a56bc..5dbf5aadf 100644 --- a/playbooks/legacy/mistral-ha/run.yaml +++ b/playbooks/legacy/mistral-ha/run.yaml @@ -1,5 +1,9 @@ - hosts: all name: Autoconverted job legacy-mistral-ha from old job gate-mistral-ha-ubuntu-xenial-nv + roles: + - role: bindep + bindep_dir: "{{ ansible_user_dir }}/workspace" + tasks: - name: Ensure legacy workspace directory @@ -36,11 +40,6 @@ chdir: '{{ ansible_user_dir }}/workspace' environment: '{{ zuul | zuul_legacy_vars }}' - - shell: - cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh - chdir: '{{ ansible_user_dir }}/workspace' - environment: '{{ zuul | zuul_legacy_vars }}' - - shell: cmd: | # TODO: this is a temporary solution that puts all installation