Github action using vro-package-diff python package to compare two VMware vRealize Orchestrator packages.
package_path
: Relative path of the package to testbranch
(optional, default:master
): Branch of the reference package to test againstrepo_token
(optional, default:<empty>
): A reference to thesecrets.GITHUB_TOKEN
if the repository is private.
Include this in your .github/workflows/<test>.yaml
after a actions/checkout@v2
step:
uses: lrivallain/vro-package-diff-action@master
with:
package_path: path/to/my/vro-package.package
or, if you want to override the defaults reference branch,
uses: lrivallain/vro-package-diff-action@master
with:
package_path: path/to/my/vro-package.package
branch: prod
If your repository is a private one, the action will require a temporary job token to get the reference branch:
uses: lrivallain/vro-package-diff-action@master
with:
package_path: path/to/my/vro-package.package
repo_token: ${{ secrets.GITHUB_TOKEN }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: lrivallain/vro-package-diff-action@master
with:
package_path: path/to/my/vro-package.package
branch: prod
repo_token: ${{ secrets.GITHUB_TOKEN }}