8809bf1114
Since the primary hostname of the gating machines is too large to be used as the primary server hostname, and the installation tests are covered in other tests, the sanity test is being disable until there's a change either on IPA (to allow for larger hostnames) or in the test environment.
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
---
|
|
- hosts: localhost
|
|
tags:
|
|
- classic
|
|
pre_tasks:
|
|
- name: Enable brewroot repository (so we have all latest packages available)
|
|
command: dnf config-manager --set-enabled baseos-ci-tag-repository
|
|
- name: Enable IDM module
|
|
command: dnf module enable -y idm:DL1
|
|
- name: Install IDM packages
|
|
command: dnf module install -y idm:DL1/server idm:DL1/dns
|
|
- name: Get Custodia version
|
|
command: rpm -q --qf '%{VERSION}' custodia
|
|
register: custodia_version
|
|
roles:
|
|
- role: standard-test-basic
|
|
required_packages:
|
|
- sudo
|
|
# pytest for Custodia testing
|
|
- python3-pytest
|
|
repositories:
|
|
- repo: "https://github.com/latchset/custodia.git"
|
|
dest: "custodia_git"
|
|
# tag name is e.g. "v0.6.0"
|
|
version: "v{{ custodia_version.stdout }}"
|
|
tests:
|
|
#- sanity
|
|
#- custodia_setup:
|
|
# dir: "custodia_git"
|
|
# run: "cd tests/ca && ./custodia-ca.sh"
|
|
#- custodia:
|
|
# dir: "custodia_git"
|
|
# run: "pytest-3 -k 'not test_client_no_client_cert' tests/"
|
|
- python_qrcode:
|
|
dir: "python-qrcode"
|
|
run: "./test_ipa_otptoken.py"
|
|
- python_yubico:
|
|
dir: "python-yubico"
|
|
run: "./test_ipa_yubikey.py"
|
|
- pyusb:
|
|
dir: "pyusb"
|
|
run: "./test_ipa_yubico_api.py"
|