-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Add job & fleet CLI usability improvements
BREAKING-CHANGE: This change modifies some of the dataclass property names that the integrated GUI submitters use NOTE: To get the tests passing in github actions, I had to comment out the PIP_INDEX_URL configuration in hatch.toml. - Add a defaults.job_id config that is usually the most recently submitted job, because it is set by the job bundle submission functions. This means a user can run `deadline job get` after submitting a job to get information about what they just created. - Modify the `deadline fleet get` to accept a queue id, and when provided display all the fleets associated with that queue. Additional fixes: - Fix the handle-web-url logic around farm id and queue id. It should not have been using the default parameter logic for farm and queue id. - Remove the integ testing dependency from requirements-testing so that it's easier to run the unit tests in a bare-bones setup. Added requirements-integ-testing to make up the difference in the integ env. This takes it one step closer to working on Windows. - Rearrange the unit vs integ tests, because the pattern did not work on Windows. Instead have separate test/unit and test/integ that can be selected separately via a single file path. - Remove the deprecated uihint. Removed it here because fixing the Windows tests ended up in the path-related code, and removing the deprecated uihint was better than spending the time to fix it for tests. - Removed empty path parameter values as an error case. For it to be an error, the parameter definition should set a minLength of 1. - Adjusted PATH parameter treatment with NONE dataflow slightly. - Add types to the fus3 class so that it passes mypy. - Correct some typo "a" to "an". - Update installation_requirements to rez_packages in the settings dataclasses. - Update max_failed_tasks_count and max_retries_per_task property names and GUI field names to match the service API choices. - Fix asset_sync.py to work on Windows. - Renamed the setting defaults.storage_profile_id to settings.storage_profile_id, because it is not a default that you select from multiple options, it is the configuration of the machine. - Made settings.storage_profile_id depend on defaults.farm_id instead of defaults.queue_id. The storage profile is a child of the farm in the resource model, and a workstation would use the same one across multiple queues.
- Loading branch information
Showing
96 changed files
with
402 additions
and
881 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
deadline-cloud-test-fixtures ~= 0.2.0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,3 @@ mypy ~= 1.4 | |
ruff ~= 0.0.282 | ||
moto ~= 4.1 | ||
jsondiff ~= 2.0 | ||
deadline-cloud-test-fixtures ~= 0.2.0 |
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
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
Oops, something went wrong.