Comments (5)
one more possible extension would be usage of path attribute which would allow one to use just a sub-tree of the target repo which could be another form of filtering or selecting just a subset of the metadata (e.g. include plans only, or tests only if organized separately).
fmf_subtree:
url: https://github.com/RedHat-SP-Security/tests
reference: master
inheritance: true
path: /usbguard
from fmf.
I think I have another use case:
as a tester of component A I want to include on test of component B to my scope.
Typically I would like to add a selinux-policy tests to be executed as part of my component testing or vice versa, my test might help with selinux-policy testing.
There might be better way, though.
from fmf.
this PR #54 probably also implements what you want.
It is little bit tricky, that I needs to download remote git separately, but in fact, it works well and also allows referencing nodes inside remote tree.
Another solution what your need is clone git repo separately to subdir (of use git submodule inside your preferred path inside) and just remove .fmf dir inside this cloned dir and it will create exactly what you want. (trouble could be with semantics e.g. using relative path
pargument for test execution)
from fmf.
Hm, I guess #99 is a duplicate of this, right?
from fmf.
Yep, looks like the idea is basically the same. The difference might be the granularity.
from fmf.
Related Issues (20)
- sources are bad in cases of definition of data in upper level HOT 2
- ref is trimmed into 8 char. HOT 4
- Allow filter by values containing colon (e.g. module:stream) HOT 2
- Drop support for Python 2 HOT 2
- Checkout of the default branch fails on Rawhide HOT 4
- implement programatic expansion of metadata - macros HOT 2
- [RFE] Allow allways True condition for adjust: when HOT 5
- Allow prepending in adjust HOT 1
- [RFE] Enable using of adjust at any level HOT 1
- Add JSON schema validation functionality HOT 2
- Fail to parse fmf files on s390x HOT 7
- Traceback when defining context in a test plan HOT 4
- Use `--depth 1` when cloning git repos with no `ref` specified
- Use schema-based validation for FMF's objects consumed by FMF itself
- Context operator != matching not defined dimension
- Support for `.dot` directories for storing plans HOT 15
- Add type annotations to fmf code HOT 1
- Case-sensitivity of context adjusting is unclear HOT 4
- Add distro and arch info to guests.yaml
- Merging for nested dictionaries defined in root HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fmf.