Allow to specify eol release for project and fix gates
There's a need to keep building images from eol releases. This commit introduces ability to specify eol release for project and clone to {release}-eol instead of stable/{release} Octavia moved to eol, using ocata-eol instead. Also fixes gates providing ensure-pip role to executor. Also pins openSUSE image to 15.1 Change-Id: I041033bb6c9cfe193c4bae9a0b6b4028f4602c5f Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
This commit is contained in:
parent
f022ecba55
commit
d910229ce9
@ -14,6 +14,8 @@
|
||||
parent: loci-base
|
||||
vars:
|
||||
project: octavia
|
||||
eol:
|
||||
- ocata
|
||||
required-projects:
|
||||
- openstack/loci
|
||||
- openstack/requirements
|
||||
|
@ -1,4 +1,4 @@
|
||||
ARG FROM=opensuse/leap:15
|
||||
ARG FROM=opensuse/leap:15.1
|
||||
FROM ${FROM}
|
||||
|
||||
ARG PACKAGE_MIRROR=http://download.opensuse.org/
|
||||
|
@ -1,4 +1,8 @@
|
||||
- hosts: all
|
||||
become: yes
|
||||
roles:
|
||||
- ensure-pip
|
||||
|
||||
tasks:
|
||||
- include_vars: vars.yaml
|
||||
|
||||
@ -40,7 +44,6 @@
|
||||
- apt:
|
||||
name:
|
||||
- docker-ce
|
||||
- python-pip
|
||||
allow_unauthenticated: True
|
||||
- pip:
|
||||
name: docker
|
||||
|
@ -74,7 +74,7 @@ distros:
|
||||
project:
|
||||
PROJECT: "{{ project }}"
|
||||
PROJECT_REPO: http://172.17.0.1/git/openstack/{{ project }}
|
||||
PROJECT_REF: "stable/ocata"
|
||||
PROJECT_REF: "{% if eol is defined and 'ocata' in eol %}ocata-eol{% else %}stable/ocata{% endif %}"
|
||||
PROJECT_RELEASE: "ocata"
|
||||
WHEELS: 172.17.0.1:5000/loci/requirements:ocata-ubuntu_xenial
|
||||
FROM: base:ubuntu_xenial
|
||||
|
Loading…
Reference in New Issue
Block a user