Let Zaza download the Arista image
This commit is contained in:
parent
0cb517f035
commit
ef17be737b
|
@ -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
|
||||
```
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
applications:
|
||||
arista-virt-test-fixture:
|
||||
resources:
|
||||
arista-image: '{{ TEST_ARISTA_IMAGE }}'
|
||||
arista-image: '{{ TEST_ARISTA_IMAGE_LOCAL }}'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
applications:
|
||||
arista-virt-test-fixture:
|
||||
resources:
|
||||
arista-image: '{{ TEST_ARISTA_IMAGE }}'
|
||||
arista-image: '{{ TEST_ARISTA_IMAGE_LOCAL }}'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
applications:
|
||||
arista-virt-test-fixture:
|
||||
resources:
|
||||
arista-image: '{{ TEST_ARISTA_IMAGE }}'
|
||||
arista-image: '{{ TEST_ARISTA_IMAGE_LOCAL }}'
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue