Skip to content
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

Allow jinja2 template task definitions #35

Merged
merged 2 commits into from
Aug 21, 2023

Conversation

adammcdonagh
Copy link
Owner

  • Add mode override docs to --help
  • Allow task definitions to use a whole templated object within them. e.g a protocol definition could be defined as a global variable to define SFTP connectivity to a commonly used source/destination. This is done using .j2 task definition file instead of .json

@codecov
Copy link

codecov bot commented Aug 21, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.06% 🎉

Comparison is base (8aed192) 87.95% compared to head (b449578) 88.02%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
+ Coverage   87.95%   88.02%   +0.06%     
==========================================
  Files          17       17              
  Lines        1968     1970       +2     
==========================================
+ Hits         1731     1734       +3     
+ Misses        237      236       -1     
Files Changed Coverage Δ
src/opentaskpy/config/loader.py 98.44% <100.00%> (+0.02%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@adammcdonagh adammcdonagh merged commit 4a68904 into main Aug 21, 2023
27 checks passed
@adammcdonagh adammcdonagh deleted the feature/jinja-task-definitions branch August 21, 2023 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant