Add tarballed amphora.

This commit modifies the base kuryr-kubernetes/octavia job so it
downloads and uses a tarballed amphora image instead of building it on
the CI for each run.

Change-Id: Ie80e663b906e6f76826319ccccce831aceb9e606
This commit is contained in:
Daniel Mellado 2018-04-11 10:25:44 +02:00 committed by Michał Dulko
parent ef641766d2
commit cfa3e49a0c
2 changed files with 10 additions and 0 deletions

View File

@ -140,9 +140,13 @@
- openstack/octavia
- openstack/python-barbicanclient
- openstack/python-octaviaclient
pre-run: playbooks/get_amphora_tarball.yaml
vars:
devstack_localrc:
LIBS_FROM_GIT: python-octaviaclient
OCTAVIA_AMP_IMAGE_FILE: "/tmp/test-only-amphora-x64-haproxy-centos-7.qcow2"
OCTAVIA_AMP_IMAGE_SIZE: 3
OCTAVIA_AMP_IMAGE_NAME: "test-only-amphora-x64-haproxy-centos-7"
devstack_local_conf:
post-config:
$OCTAVIA_CONF:

View File

@ -0,0 +1,6 @@
- hosts: controller
tasks:
- name: Download amphora tarball
get_url:
url: "https://tarballs.openstack.org/octavia/test-images/test-only-amphora-x64-haproxy-centos-7.qcow2"
dest: /tmp/test-only-amphora-x64-haproxy-centos-7.qcow2