CP-8874 Script to build the VSDK project with various commands #453
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.
Context:
To reduce the build process, we are adding a build_project.sh files which will help developers to build and test the project via command line options.
Problem:
To build the project, a developer have to go each directory and run two commands to build the project. As we have 5 python packages, so in total commands have to be run 5 times in total to build the full project. Also, to test the project one more command needs to be run on the folder to run all the test cases.
Solution:
Added build_project.sh file that will help developer to build and test the project with simpler commands like
sh build_project -btto build all 5 python modules in one go.Testing
Tested the script by running various script options for all modules.
Deployment Plan:
No Deployment needed as it is for developers purposes only.
Bonus:
pre-commit.ymlto only build and test the modules using python 3.8.publish-docs.yml.