-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vdk-control-cli: Add support for python_version (#2002)
As part of the initiative to support multiple python versions for data job deployments, we need to make sure that users can configure their data jobs to use specific python versions, by setting the `python_version` property in the job's **config.ini** file. This change introduces functionality in the vdk-control-cli client to read the python_version configuration set in the job's config.ini file, and deploy the job through `vdk deploy ...` Testing Done: New and existing tests. Signed-off-by: Andon Andonov <[email protected]> Co-authored-by: Miroslav Ivanov <[email protected]>
- Loading branch information
Showing
5 changed files
with
75 additions
and
22 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
Binary file added
BIN
+567 Bytes
projects/vdk-control-cli/tests/resources/job-zip/test-job-python-version.zip
Binary file not shown.
10 changes: 10 additions & 0 deletions
10
projects/vdk-control-cli/tests/resources/test-job-python-version/config.ini
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,10 @@ | ||
[owner] | ||
team = test-team | ||
[job] | ||
schedule_cron = 16 11 * * * | ||
python_version = 3.8 | ||
[contacts] | ||
|
||
notified_on_job_failure_user_error[email protected] | ||
|
||
notified_on_job_success[email protected] |
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