Browse Source

Let Zaza download the Arista image

changes/73/738573/1
Aurelien Lourot 2 years ago
parent
commit
ef17be737b
  1. 8
      README.md
  2. 2
      src/tests/bundles/overlays/bionic-queens.yaml.j2
  3. 2
      src/tests/bundles/overlays/bionic-rocky.yaml.j2
  4. 2
      src/tests/bundles/overlays/xenial-queens.yaml.j2
  5. 2
      src/tests/tests.yaml

8
README.md

@ -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
```

2
src/tests/bundles/overlays/bionic-queens.yaml.j2

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

2
src/tests/bundles/overlays/bionic-rocky.yaml.j2

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

2
src/tests/bundles/overlays/xenial-queens.yaml.j2

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

2
src/tests/tests.yaml

@ -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…
Cancel
Save