-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add documentation for using cross-organisational components #2816
base: main
Are you sure you want to change the base?
Conversation
Add documentation for cross-organisational subworkflows
* main: add infra group to hackathon fix components.json
✅ Deploy Preview for nf-core-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for nf-core-main-site ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
sites/docs/src/content/docs/tutorials/external_usage/cross_organisational_subworkflows.md
Outdated
Show resolved
Hide resolved
sites/docs/src/content/docs/tutorials/external_usage/cross_organisational_subworkflows.md
Outdated
Show resolved
Hide resolved
If you're using cross-organisational subworkflows in your repository, be aware that you must also specify a different JSON schema | ||
to lint the `meta.yml` files for your subworkflows. | ||
To do this, just change the `components` section type to allow both objects and strings. | ||
|
||
```json | ||
"components": { | ||
"type": "array", | ||
"description": "Modules and subworkflows used in the subworkflow", | ||
"items": { | ||
"type": ["object", "string"] | ||
}, | ||
"minItems": 0 | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's easier to just add these changes to the schema in the modules repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It won`t be added to the main modules repo, I believe, but I am adding it to the nf-core-test repo. I can remove this section and just link to the file there.
Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com>
This documentation refers to the feature to be implemented through PR nf-core/tools#3083, which enables subworkflows with components from more than one remote (i.e. organisations). More about the feature itself and implementation details can be found there.
The current structure for the documentation was based on a suggestion in the original feature PR.
I'll leave this PR as a draft until the feature gets approved for merging.
CC @muffato who has been assisting me with both the feature and the documentation for it.
@netlify /docs/tutorials/external_usage/cross_organisational_subworkflows