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-heartbeat: Fix initial job executions with specific vdk version #758

Conversation

YanaZhivkova
Copy link
Contributor

When vdk-heartbeat is run with a configured vdk version
(VDK_HEARTBEAT_DEPLOY_JOB_VDK_VERSION) sometimes the cron job
manages to start an execution before actually setting the
deployment vdk_version. This happens because vdk_version is
set with a separate update deployment
call (function enable_deployment_and_update_vdk_version)
after the deployment was ready.

Move setting vdk_version in the create deployment command.

Testing Done: locally tested vdk-heartbeat against demo
control service with set VDK_HEARTBEAT_DEPLOY_JOB_VDK_VERSION
and observed that all execution pods used the specified
vdk version image.

Signed-off-by: Yana Zhivkova [email protected]

When vdk-heartbeat is run with a configured vdk version
(VDK_HEARTBEAT_DEPLOY_JOB_VDK_VERSION) sometimes the cron job
manages to start an execution before actually setting the
deployment vdk_version. This happens because vdk_version is
set with a separate update deployment
call (function enable_deployment_and_update_vdk_version)
after the deployment was ready.

Move setting vdk_version in the create deployment command.

Testing Done: locally tested vdk-heartbeat against demo
control service with set VDK_HEARTBEAT_DEPLOY_JOB_VDK_VERSION
and observed that all execution pods used the specified
vdk version image.

Signed-off-by: Yana Zhivkova <[email protected]>
@YanaZhivkova YanaZhivkova merged commit 1db053d into main Mar 9, 2022
@YanaZhivkova YanaZhivkova deleted the person/yzhivkova/Fix_vdk-heartbeat_custom_vdk_version_executions branch March 9, 2022 06:55
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.

3 participants