Use osci and tmt for gating
This commit is contained in:
parent
2051cae16e
commit
e9e030ca87
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
||||||
@ -1,6 +1,5 @@
|
|||||||
--- !Policy
|
--- !Policy
|
||||||
product_versions:
|
|
||||||
- rhel-8
|
|
||||||
decision_context: osci_compose_gate
|
decision_context: osci_compose_gate
|
||||||
rules:
|
rules:
|
||||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||||
|
|||||||
7
plan.fmf
Normal file
7
plan.fmf
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
prepare:
|
||||||
|
how: feature
|
||||||
|
crb: enabled
|
||||||
10
tests/smoke-alabaster/main.fmf
Normal file
10
tests/smoke-alabaster/main.fmf
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
summary: run the basic documentation build
|
||||||
|
test: |
|
||||||
|
sphinx-build -M html source/ build/ &&
|
||||||
|
grep 'id="test-docfile">' build/html/index.html &&
|
||||||
|
grep '<h1>Test docfile' build/html/index.html &&
|
||||||
|
grep '_static/alabaster.css' build/html/index.html &&
|
||||||
|
rm -rf build/
|
||||||
|
require:
|
||||||
|
- python3-sphinx
|
||||||
|
- python3-sphinx-theme-alabaster
|
||||||
6
tests/smoke-alabaster/source/conf.py
Normal file
6
tests/smoke-alabaster/source/conf.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
project = 'Test'
|
||||||
|
copyright = '2024, Test'
|
||||||
|
author = 'Test'
|
||||||
|
release = '0.3.0'
|
||||||
|
html_theme = 'alabaster'
|
||||||
|
master_doc = 'index'
|
||||||
15
tests/smoke-alabaster/source/index.rst
Normal file
15
tests/smoke-alabaster/source/index.rst
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
Test docfile
|
||||||
|
============
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 2
|
||||||
|
:caption: Contents:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Indices and tables
|
||||||
|
==================
|
||||||
|
|
||||||
|
* :ref:`genindex`
|
||||||
|
* :ref:`modindex`
|
||||||
|
* :ref:`search`
|
||||||
11
tests/smoke-rtd-theme/main.fmf
Normal file
11
tests/smoke-rtd-theme/main.fmf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
summary: run the basic documentation build with sphinx-rtd-theme
|
||||||
|
test: |
|
||||||
|
sphinx-build -M html source/ build/ &&
|
||||||
|
grep 'id="test-docfile">' build/html/index.html &&
|
||||||
|
grep '<h1>Test docfile' build/html/index.html &&
|
||||||
|
grep 'SphinxRtdTheme' build/html/_static/js/theme.js &&
|
||||||
|
grep 'src="_static/js/theme.js' build/html/index.html &&
|
||||||
|
rm -rf build/
|
||||||
|
require:
|
||||||
|
- python3-sphinx
|
||||||
|
- python3-sphinx_rtd_theme
|
||||||
9
tests/smoke-rtd-theme/source/conf.py
Normal file
9
tests/smoke-rtd-theme/source/conf.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
project = 'Test'
|
||||||
|
copyright = '2024, Test'
|
||||||
|
author = 'Test'
|
||||||
|
release = '0.3.0'
|
||||||
|
html_theme = 'sphinx_rtd_theme'
|
||||||
|
extensions = [
|
||||||
|
'sphinx_rtd_theme',
|
||||||
|
]
|
||||||
|
master_doc = 'index'
|
||||||
15
tests/smoke-rtd-theme/source/index.rst
Normal file
15
tests/smoke-rtd-theme/source/index.rst
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
Test docfile
|
||||||
|
============
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 2
|
||||||
|
:caption: Contents:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Indices and tables
|
||||||
|
==================
|
||||||
|
|
||||||
|
* :ref:`genindex`
|
||||||
|
* :ref:`modindex`
|
||||||
|
* :ref:`search`
|
||||||
Loading…
Reference in New Issue
Block a user