Skip to content

Conversation

@doks5
Copy link
Contributor

@doks5 doks5 commented Apr 28, 2023

Currently, there are two groups of configurations to set the vdk and job base images used in data job deployments. The old way, through the datajobs.deployment.dataJobBaseImage and datajobs.vdk.image, and the new way, through the support for multiple python versions in data job deployments.

The two groups of configurations are in conflict, as the old configuration options take precedence and cleanly migrating to the support for multiple python versions is practically impossible.

This change removes the default values for the datajobs.deployment.supportedPythonVersions and datajobs.deployment.defaultPythonVersion properties, and updates the service logic so that when these properties are set in an environment, they take precedence over the old configuration.

Testing Done: CI/CD

@doks5 doks5 force-pushed the person/andonova/rework-job-deploy branch from 699fa99 to f15aa5d Compare April 28, 2023 14:01
@doks5 doks5 self-assigned this Apr 30, 2023
doks5 and others added 4 commits May 1, 2023 09:26
Currently, there are two groups of configurations to set the vdk and job base images
used in data job deployments. The old way, through the `datajobs.deployment.dataJobBaseImage`
and `datajobs.vdk.image`, and the new way, through the support for multiple python versions in
data job deployments.

The two groups of configurations are in conflict, as the old configuration options take precedence
and cleanly migrating to the support for multiple python versions is practically impossible.

This change removes the default values for the `datajobs.deployment.supportedPythonVersions` and
`datajobs.deployment.defaultPythonVersion` properties, and udates the service logic so that when these
properties are set in an environment, they take precedence over the old configuration.

Testing Done: CI/CD

Signed-off-by: Andon Andonov <andonova@vmware.com>
Signed-off-by: Andon Andonov <andonova@vmware.com>
@doks5 doks5 force-pushed the person/andonova/rework-job-deploy branch from 2f918cb to d33fe8a Compare May 1, 2023 06:27
@doks5 doks5 enabled auto-merge (squash) May 2, 2023 08:24
@doks5 doks5 merged commit bf49f4a into main May 2, 2023
@doks5 doks5 deleted the person/andonova/rework-job-deploy branch May 2, 2023 09:39
doks5 added a commit that referenced this pull request May 2, 2023
doks5 added a commit that referenced this pull request May 2, 2023
Reverts #1992

---------

Co-authored-by: github-actions <>
yonitoo pushed a commit that referenced this pull request May 3, 2023
Currently, there are two groups of configurations to set the vdk and job
base images used in data job deployments. The old way, through the
`datajobs.deployment.dataJobBaseImage` and `datajobs.vdk.image`, and the
new way, through the support for multiple python versions in data job
deployments.

The two groups of configurations are in conflict, as the old
configuration options take precedence and cleanly migrating to the
support for multiple python versions is practically impossible.

This change removes the default values for the
`datajobs.deployment.supportedPythonVersions` and
`datajobs.deployment.defaultPythonVersion` properties, and updates the
service logic so that when these properties are set in an environment,
they take precedence over the old configuration.

Testing Done: CI/CD

---------

Signed-off-by: Andon Andonov <andonova@vmware.com>
Co-authored-by: github-actions <>
yonitoo pushed a commit that referenced this pull request May 3, 2023
Reverts #1992

---------

Co-authored-by: github-actions <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants