forked from go-debos/debos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The origins hash table is inside the commonContext structure which is shared by all Contexts. This mostly works correctly as most origins are not specific to the recipe that's executed but to either the run or the progress of a run. Such as "filesystem" or "artifacts". However this is not the case for the "recipe" origin. To resolve that add a helper function which returns the current context RecipeDir and otherwise simply the respective value in the common Origins table. Signed-off-by: Sjoerd Simons <[email protected]>
- Loading branch information
1 parent
fea1b49
commit 07af4c4
Showing
4 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters