manila-image-elements/zuul.d/manila-image-elements-jobs.yaml
Goutham Pacha Ravi 6a026e72b4 Native Zuulv3 container scenario test job
Replace the "manila-tempest-dsvm-container-scenario-custom-image"
job with a native Zuulv3 style job that does not use
the deprecated devstack-gate project. This new test
job runs backend tests at the moment with the container
driver. Scenario tests that include mounting shares to
tenant VMs aren't yet enabled, and doing so is a TODO
item for the future.

Change-Id: I65379ffcf06e9de111d69cd3b5bc4acc7af0547e
Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
2020-07-23 23:42:15 -07:00

68 lines
2.5 KiB
YAML

- job:
name: manila-image-elements-buildimage-docker
description: |
Build docker image for the "container" manila back end.
parent: unittests
timeout: 1800
required-projects:
- openstack/manila-image-elements
run: playbooks/manila-buildimage-docker/run.yaml
- job:
name: manila-image-elements-buildimages
description: |
Build service image for the "generic" manila back end, and any other
images specified in the role "build-mie-images"
parent: unittests
timeout: 1800
required-projects:
- openstack/manila-image-elements
run: playbooks/manila-buildimages/run.yaml
- job:
name: manila-image-elements-publish-artifacts
description: |
Build image artifacts and publish to tarba.lls.openstack.org.
parent: publish-openstack-artifacts
timeout: 3600
final: true
required-projects:
- openstack/manila-image-elements
run: playbooks/manila-buildimages/run.yaml
post-run: playbooks/manila-publish-artifacts/post.yaml
- job:
name: manila-image-elements-container-scenario
parent: manila-tempest-plugin-container
pre-run: playbooks/manila-buildimage-docker/run.yaml
required-projects:
- openstack/manila-image-elements
- openstack/manila
- openstack/manila-tempest-plugin
- openstack/python-manilaclient
- openstack/tempest
vars:
# NOTE(gouthamr): Not running scenario tests yet, need to test them
# against the container driver first
tempest_test_regex: '(^manila_tempest_tests.tests)(?=.*\[.*\bbackend\b.*\])'
devstack_localrc:
# "docker build" uploads the image we need to the local registry
# manila's devstack plugin just needs the name of the image to look up
MANILA_DOCKER_IMAGE_URL: "file:///home/zuul/src/opendev.org/openstack/manila-image-elements/manila-docker-container.tar.gz"
- job:
name: manila-image-elements-generic-scenario
parent: manila-tempest-plugin-generic
pre-run: playbooks/manila-buildimages/run-generic-scenario.yaml
required-projects:
- openstack/manila-image-elements
- openstack/manila
- openstack/manila-tempest-plugin
- openstack/python-manilaclient
- openstack/tempest
vars:
tempest_test_regex: '^manila_tempest_tests.tests.scenario(?=.*\btest_write_data_to_share_created_from_snapshot\b.*)'
devstack_localrc:
MANILA_SERVICE_IMAGE_URL: "file:///home/zuul/src/opendev.org/openstack/manila-image-elements/manila-service-image.qcow2"
MANILA_SERVICE_IMAGE_NAME: manila-service-image