#1067: Refactored mozart.tf so that deploy_pges.py and deploy_pcm_and… #1068
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…_pges run in parallel. This saves 20 mins of deploymnt time on dev cluster: 1 hour and 15 mins to 54 mins
Purpose and Proposed Changes
mozart.tf
pull outremote_execs
that installs bach_ui and runsdeploy_pges.py
into its ownnull_resource
:bach_and_deploy_pges
to speed up deploymentExplanation
deploy_pcm_and_pges
This anddeploy_pges.py
are the two longest running resource when deploying Mozart and by allowing them to run in parallel, 20 mins is saves in deployment time: 1 hour and 15 mins to 54 mins on average.Issues
Testing
module.common.null_resource.install_pcm_and_pges: Still creating... [16m30s elapsed]
module.common.null_resource.bach_and_deploy_pges: Still creating... [16m30s elapsed]
module.common.null_resource.bach_and_deploy_pges: Creation complete after 17m14s [id=2647260127362677226]
module.common.null_resource.install_pcm_and_pges: Still creating... [17m20s elapsed]