Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/confcom/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Release History
===============

1.2.4
++++++
* rolling back genpolicy version for Azure Linux V2 support instead of V3

1.2.3
++++++
* adding fragment support for VN2
Expand Down
2 changes: 1 addition & 1 deletion src/confcom/azext_confcom/data/internal_config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.2.3",
"version": "1.2.4",
"hcsshim_config": {
"maxVersion": "1.0.0",
"minVersion": "0.0.1"
Expand Down
7 changes: 6 additions & 1 deletion src/confcom/azext_confcom/kata_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ def download_binaries():
needed_assets = ["genpolicy", "genpolicy.exe"]
# search for genpolicy in the assets from kata-container releases
for release in r.json():
if "genpolicy" in release.get("tag_name"):
is_target = (
"genpolicy" in release.get("tag_name") and
not release.get("draft") and
not release.get("prerelease")
)
if is_target:
# these should be newest to oldest
for asset in release["assets"]:
# download the file if it contains genpolicy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -577,8 +577,8 @@ def test_image_layers_python(self):
aci_policy.populate_policy_content_for_all_images()
layers = aci_policy.get_images()[0]._layers
expected_layers = [
"f4dbab29a5ddebfa8866d72df10d284ffb2b11292baf8d184b7bc1241d5074fd",
"c003cd912b804162760beb676e5b629a297d75fbdcffd2d3ee49bacc0b985a52"
"81f4183d118e68e8bb3c8845da3b0fe3cc331a63184b534ea0307d4d01c52418",
"3a1edaedd7e7e0072846d74219577c05b25498c233196d38ae0fe6cde8c2c92a"
]
self.assertEqual(len(layers), len(expected_layers))
for i in range(len(expected_layers)):
Expand Down
2 changes: 1 addition & 1 deletion src/confcom/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

logger.warn("Wheel is not available, disabling bdist_wheel hook")

VERSION = "1.2.3"
VERSION = "1.2.4"

# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand Down
Loading