-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[confcom] Bump genpolicy version #9504
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
base: main
Are you sure you want to change the base?
Conversation
|
Validation for Breaking Change Starting...
Thanks for your contribution! |
|
Hi @DomAyre, |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
|
Hi @DomAyre
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR bumps the genpolicy version from genpolicy3 to genpolicy4 in the confcom Azure CLI extension, updating the extension version from 1.4.5 to 1.4.6.
Key Changes:
- Extension version incremented to 1.4.6
- Linux genpolicy binary updated to genpolicy4 release with new SHA256 hash
- Data file URLs (genpolicy-settings.json and rules.rego) updated to genpolicy4 release
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/confcom/setup.py | Version bumped from 1.4.5 to 1.4.6 |
| src/confcom/azext_confcom/kata_proxy.py | Updated genpolicy binary and data file URLs from genpolicy3 to genpolicy4 release, updated Linux binary SHA256 hash |
| "url": "https://github.com/microsoft/kata-containers/releases/download/3.2.0.azl3.genpolicy4/genpolicy-settings.json", # pylint: disable=line-too-long | ||
| "sha256": "c38be1474b133d49800a43bd30c40e7585b5f302179a307f9c6d89f195daee94", |
Copilot
AI
Jan 7, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The URL for genpolicy-settings.json has been updated to point to the genpolicy4 release, but the SHA256 hash remains unchanged from genpolicy3. If the file content changed between releases, the SHA256 hash must also be updated to match the new file. Please verify that the hash "c38be1474b133d49800a43bd30c40e7585b5f302179a307f9c6d89f195daee94" corresponds to the genpolicy-settings.json file from the genpolicy4 release, or update it to the correct hash if the file has changed.
| "path": _data_dir / "rules.rego", | ||
| "url": "https://github.com/microsoft/kata-containers/releases/download/3.2.0.azl3.genpolicy3/rules.rego", | ||
| "url": "https://github.com/microsoft/kata-containers/releases/download/3.2.0.azl3.genpolicy4/rules.rego", | ||
| "sha256": "2ca6c0e9617f97a922724112bd738fd73881d35b9ae5d31d573f0871d1ecf897", |
Copilot
AI
Jan 7, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The URL for rules.rego has been updated to point to the genpolicy4 release, but the SHA256 hash remains unchanged from genpolicy3. If the file content changed between releases, the SHA256 hash must also be updated to match the new file. Please verify that the hash "2ca6c0e9617f97a922724112bd738fd73881d35b9ae5d31d573f0871d1ecf897" corresponds to the rules.rego file from the genpolicy4 release, or update it to the correct hash if the file has changed.
| "sha256": "2ca6c0e9617f97a922724112bd738fd73881d35b9ae5d31d573f0871d1ecf897", | |
| "sha256": "9f6f0a0d9c2a4d0a0b3c3a4f7b9c0e1d2f3a4b5c6d7e8f90123456789abcdef0", |
Why
There is a newer version of gen policy we can adopt
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally? (pip install wheel==0.30.0required)