Remove duplicated tasks from build jobs
https://review.openstack.org/#/c/607288/ shuffled some basic setup tasks around and put them in tripleo-ci/pre.yaml. Unfortunately the configure-swap task isn't idempotent so let's stop duplicating the tasks in the build jobs now. Change-Id: I046aeea86b3b63cae0b44865dc8ee0a59a3f7f5f Closes-Bug: #1810777
This commit is contained in:
parent
a65710d7ee
commit
c1327819bb
|
@ -12,24 +12,6 @@
|
|||
set_fact:
|
||||
ci_branch: "{{ zuul.branch | default('master') | replace('stable/','') }}"
|
||||
|
||||
- name: Swap is essential as we are not meeting memory requirements
|
||||
include_role:
|
||||
name: configure-swap
|
||||
|
||||
- name: Set legacy log path
|
||||
include_role:
|
||||
name: set-zuul-log-path-fact
|
||||
|
||||
- name: Ensure legacy workspace directory
|
||||
file:
|
||||
path: '{{ workspace }}'
|
||||
state: directory
|
||||
|
||||
- name: Ensure legacy logs directory
|
||||
file:
|
||||
path: '{{ workspace }}/logs'
|
||||
state: directory
|
||||
|
||||
- name: Install pip
|
||||
become: true
|
||||
package:
|
||||
|
|
|
@ -10,24 +10,6 @@
|
|||
include_vars:
|
||||
file: "common.yaml"
|
||||
|
||||
- name: Swap is essential as we are not meeting memory requirements
|
||||
include_role:
|
||||
name: configure-swap
|
||||
|
||||
- name: Set legacy log path
|
||||
include_role:
|
||||
name: set-zuul-log-path-fact
|
||||
|
||||
- name: Ensure legacy workspace directory
|
||||
file:
|
||||
path: '{{ workspace }}'
|
||||
state: directory
|
||||
|
||||
- name: Ensure legacy logs directory
|
||||
file:
|
||||
path: '{{ workspace }}/logs'
|
||||
state: directory
|
||||
|
||||
- name: Install pip
|
||||
package:
|
||||
name: python-pip
|
||||
|
|
Loading…
Reference in New Issue