-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tron: update schema for bulkdata + correctly pass extra volumes
We collectively missed that get_volumes() gets called on the TronActionConfig and not the TronJobConfig. Furthermore, we missed that we weren't actually calling get_volumes() for normal Tron jobs - instead, we were only calling get_extra_volumes() and relying on the Tron `default_volumes` config to add the usual default volumes (which differs from how services work: we always call get_volumes() as we don't distinguish between user-provided volumes and default ones when generating the config there). I've tested this on tron-infrastage (as well as ensured tests pass for this commit), so this should be safe.
- Loading branch information
Showing
3 changed files
with
90 additions
and
32 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