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 py3
|
||||||
tox -e build
|
tox -e build
|
||||||
cd build/builds/neutron-api-plugin-arista
|
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
|
tox -e func
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
applications:
|
applications:
|
||||||
arista-virt-test-fixture:
|
arista-virt-test-fixture:
|
||||||
resources:
|
resources:
|
||||||
arista-image: '{{ TEST_ARISTA_IMAGE }}'
|
arista-image: '{{ TEST_ARISTA_IMAGE_LOCAL }}'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
applications:
|
applications:
|
||||||
arista-virt-test-fixture:
|
arista-virt-test-fixture:
|
||||||
resources:
|
resources:
|
||||||
arista-image: '{{ TEST_ARISTA_IMAGE }}'
|
arista-image: '{{ TEST_ARISTA_IMAGE_LOCAL }}'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
applications:
|
applications:
|
||||||
arista-virt-test-fixture:
|
arista-virt-test-fixture:
|
||||||
resources:
|
resources:
|
||||||
arista-image: '{{ TEST_ARISTA_IMAGE }}'
|
arista-image: '{{ TEST_ARISTA_IMAGE_LOCAL }}'
|
||||||
|
|
|
@ -5,6 +5,8 @@ gate_bundles:
|
||||||
- xenial-queens
|
- xenial-queens
|
||||||
- bionic-queens
|
- bionic-queens
|
||||||
- bionic-rocky
|
- bionic-rocky
|
||||||
|
before_deploy:
|
||||||
|
- zaza.openstack.charm_tests.neutron_arista.setup.download_arista_image
|
||||||
configure:
|
configure:
|
||||||
- zaza.openstack.charm_tests.neutron_arista.setup.test_fixture
|
- zaza.openstack.charm_tests.neutron_arista.setup.test_fixture
|
||||||
tests:
|
tests:
|
||||||
|
|
Loading…
Reference in New Issue