Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vdk-control-cli: Add support for python_version in config #2023

Merged
merged 1 commit into from
May 11, 2023

Conversation

doks5
Copy link
Contributor

@doks5 doks5 commented May 7, 2023

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 ...

It also adds logic to print the python version of data job deployments as part of the vdk deploy --show ... and vdk execute --show ... commands.

Additionally, a new test data job is added (alongside a zip archive in projects/vdk-control-cli/tests/resources/job-zip), whose config.ini file contains the python_version property set to 3.8. This job is used in tests.

Testing Done: New and existing tests.

@doks5 doks5 self-assigned this May 7, 2023
@doks5 doks5 added this to the Multiple Python Versions Support milestone May 7, 2023
@doks5 doks5 force-pushed the person/andonova/control-cli-python branch from 4f700bd to 79137ac Compare May 11, 2023 13:08
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 ...`

It also adds logic to print the python version of data job deployments as
part of the `vdk deploy --show ...` and `vdk execute --show ...` commands.

Testing Done: New and existing tests.

Signed-off-by: Andon Andonov <andonova@vmware.com>
@doks5 doks5 force-pushed the person/andonova/control-cli-python branch from 79137ac to 6cd919a Compare May 11, 2023 13:11
@doks5 doks5 merged commit adfc5f7 into main May 11, 2023
6 of 7 checks passed
@doks5 doks5 deleted the person/andonova/control-cli-python branch May 11, 2023 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants