summary: PCS gating test plan description: Runs upstream tier0, tier1 and smoke tests discover: how: shell dist-git-source: true tests: # Workaround until tmt supports patching sources - name: Patch sources and run autotools test: ./prepare-env.sh duration: 30m - name: Tier 0 tests test: ./builddir/pcs-*/pcs_test/suite --tier0 -v --vanilla --installed duration: 10m - name: Tier 1 tests test: ./builddir/pcs-*/pcs_test/suite --tier1 -v --vanilla --installed duration: 2h - name: Smoke tests test: | systemctl start pcsd ./builddir/pcs-*/pcs_test/smoke.sh duration: 10m prepare: - name: Install config-manager DNF plugin for enabling HA repos how: install package: dnf-command(config-manager) - name: Enable HA repo how: shell script: dnf config-manager --set-enabled highavailability crb || true - name: Install packages how: install package: - autoconf - automake - make - rpm-build - ruby-devel - git-core - booth-site - fence-agents-apc - fence-agents-ipmilan - fence-agents-scsi - fence-virt - openssl - pcs - pcs-snmp - python3-pip - python3-setuptools_scm - python3-wheel - rubygem-json - rubygem-test-unit - wget execute: how: tmt