Blob Blame Raw
---
- hosts: localhost
  remote_user: root
  vars:
    ds_repo_url: https://pagure.io/389-ds-base.git
    ds_repo_dir: ds
    ds_tests: "{{ ds_repo_dir }}/dirsrvtests/tests"
    pytest: py.test-3
    pytest_args: "-v --continue-on-collection-errors"
    pytest_tests: "suites/basic"
    artifacts: ./artifacts
  roles:
  - role: standard-test-basic
    tags:
    - classic
    repositories:
    - repo: "{{ ds_repo_url }}"
      dest: "{{ ds_repo_dir }}"
    tests:
    - basic:
        dir: "{{ ds_tests }}"
        run: "{{ pytest }} {{ pytest_args }} {{ pytest_tests }}"
    required_packages:
    - python3-pytest
    - 389-ds-base
    - 389-ds-base-snmp
    - 389-ds-base-legacy-tools