How to remove a custom job ("CustomJob*") from a workflow in a custom template? #1809
Unanswered
OleWunschmann
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have a customized template for COSMO Alpaca:
https://github.com/cosmoconsult/Alpaca-PTE
We rely on the features for custom templates introduces with the pull request #853
We added some customizations in the form of "CustomJob-..." to some workflows (e.g. CICD.yaml)
But now we can not remove these custom jobs or rather the removal is not passed correctly to repositories using this template.
If I understand the custom template feature correctly, a template is encouraged to use custom jobs so that updating the template - with workflow "Update AL-Go System Files" - retains those jobs.
But this results in the mentionend problem for the final repository because removed custom jobs are re-added as custom jobs from the final repository.
Repro:
A similar problem occurs on renaming a custom job:
The "new" custom job is added but the "old" custom job is also retained in the final repository.
Is there a solution to this problem without having to manually remove the custom jobs from each repository?
Beta Was this translation helpful? Give feedback.
All reactions