The change include adding GitHub actions to automate release process.
1. add-labels.yml - The yml is an automated Github action that will add labels to PR when they are opened or reopened. Labels will be development-release, production-release and no-release.
2. bump-version.yml - The yml is an automated Github action to update the VERSION based on patch and dev inputs.
3. pre-commit.yml - Updated the file to be invoked when PR is opened on master, develop and release branch or a Github bot creates a PR on master branch. Also, merged code lint within a single job.
4. publish-docs.yml - Updated the file by modifying the comments. No code change.
5. publish-python-packages.yml - Updated the file to release packages to PyPi also. Also, added post development and production release tasks.
6. verify-pr.yml - The yml is used to verify the PR has correct labels and expected files only.
7. build_project.sh - The shell can be used to build and test the python packages with intuitive commands. All python modules can be build and tested with one single command.
Changes
The change include adding GitHub actions to automate release process.
1. add-labels.yml - The yml is an automated Github action that will add labels to PR when they are opened or reopened. Labels will be
development-release
,production-release
andno-release
. 2. bump-version.yml - The yml is an automated Github action to update the VERSION based on patch and dev inputs. 3. pre-commit.yml - Updated the file to be invoked when PR is opened on master, develop and release branch or a Github bot creates a PR on master branch. Also, merged code lint within a single job. 4. publish-docs.yml - Updated the file by modifying the comments. No code change. 5. publish-python-packages.yml - Updated the file to release packages to PyPi also. Also, added post development and production release tasks. 6. verify-pr.yml - The yml is used to verify the PR has correct labels and expected files only. 7. build_project.sh - The shell can be used to build and test the python packages with intuitive commands. All python modules can be build and tested with one single command.Testing
Tested workflow are present at https://github.com/SumoSourabh/virtualization-sdk/actions
Flow Testing performed
Create a PR from another -> testingdevelop with no-release tag
Create a PR from another -> testingdevelop with update to VERSION file
Create a PR with some changes from another -> testingdevelop
Create a PR from another -> testingdevelop with VERSION update to prod
Merge the PR created in 4
No docs should be released