Let Zaza download the Arista image

This commit is contained in:
Aurelien Lourot 2020-06-24 10:47:36 +02:00
parent 0cb517f035
commit ef17be737b
5 changed files with 12 additions and 4 deletions

View File

@ -16,6 +16,12 @@ tox -e pep8
tox -e py3
tox -e build
cd build/builds/neutron-api-plugin-arista
export TEST_ARISTA_IMAGE=/tmp/arista-cvx-virt-test.qcow2
# Set one of these env vars, depending on whether you want to
# download the Arista image from a remote place or have it already
# locally:
export TEST_ARISTA_IMAGE_REMOTE=http://example.com/swift/v1/images/arista-cvx-virt-test.qcow2
export TEST_ARISTA_IMAGE_LOCAL=/tmp/arista-cvx-virt-test.qcow2
tox -e func
```

View File

@ -1,4 +1,4 @@
applications:
arista-virt-test-fixture:
resources:
arista-image: '{{ TEST_ARISTA_IMAGE }}'
arista-image: '{{ TEST_ARISTA_IMAGE_LOCAL }}'

View File

@ -1,4 +1,4 @@
applications:
arista-virt-test-fixture:
resources:
arista-image: '{{ TEST_ARISTA_IMAGE }}'
arista-image: '{{ TEST_ARISTA_IMAGE_LOCAL }}'

View File

@ -1,4 +1,4 @@
applications:
arista-virt-test-fixture:
resources:
arista-image: '{{ TEST_ARISTA_IMAGE }}'
arista-image: '{{ TEST_ARISTA_IMAGE_LOCAL }}'

View File

@ -5,6 +5,8 @@ gate_bundles:
- xenial-queens
- bionic-queens
- bionic-rocky
before_deploy:
- zaza.openstack.charm_tests.neutron_arista.setup.download_arista_image
configure:
- zaza.openstack.charm_tests.neutron_arista.setup.test_fixture
tests: