awspub 0.0.6__tar.gz → 0.0.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. {awspub-0.0.6 → awspub-0.0.7}/PKG-INFO +1 -1
  2. {awspub-0.0.6 → awspub-0.0.7}/awspub/image.py +4 -0
  3. {awspub-0.0.6 → awspub-0.0.7}/pyproject.toml +1 -1
  4. {awspub-0.0.6 → awspub-0.0.7}/LICENSE +0 -0
  5. {awspub-0.0.6 → awspub-0.0.7}/awspub/__init__.py +0 -0
  6. {awspub-0.0.6 → awspub-0.0.7}/awspub/api.py +0 -0
  7. {awspub-0.0.6 → awspub-0.0.7}/awspub/cli/__init__.py +0 -0
  8. {awspub-0.0.6 → awspub-0.0.7}/awspub/common.py +0 -0
  9. {awspub-0.0.6 → awspub-0.0.7}/awspub/configmodels.py +0 -0
  10. {awspub-0.0.6 → awspub-0.0.7}/awspub/context.py +0 -0
  11. {awspub-0.0.6 → awspub-0.0.7}/awspub/exceptions.py +0 -0
  12. {awspub-0.0.6 → awspub-0.0.7}/awspub/image_marketplace.py +0 -0
  13. {awspub-0.0.6 → awspub-0.0.7}/awspub/s3.py +0 -0
  14. {awspub-0.0.6 → awspub-0.0.7}/awspub/snapshot.py +0 -0
  15. {awspub-0.0.6 → awspub-0.0.7}/awspub/tests/__init__.py +0 -0
  16. {awspub-0.0.6 → awspub-0.0.7}/awspub/tests/fixtures/config-invalid-s3-extra.yaml +0 -0
  17. {awspub-0.0.6 → awspub-0.0.7}/awspub/tests/fixtures/config-minimal.yaml +0 -0
  18. {awspub-0.0.6 → awspub-0.0.7}/awspub/tests/fixtures/config-valid-nonawspub.yaml +0 -0
  19. {awspub-0.0.6 → awspub-0.0.7}/awspub/tests/fixtures/config1.vmdk +0 -0
  20. {awspub-0.0.6 → awspub-0.0.7}/awspub/tests/fixtures/config1.yaml +0 -0
  21. {awspub-0.0.6 → awspub-0.0.7}/awspub/tests/fixtures/config2-mapping.yaml +0 -0
  22. {awspub-0.0.6 → awspub-0.0.7}/awspub/tests/fixtures/config2.yaml +0 -0
  23. {awspub-0.0.6 → awspub-0.0.7}/awspub/tests/fixtures/config3-duplicate-keys.yaml +0 -0
  24. {awspub-0.0.6 → awspub-0.0.7}/awspub/tests/test_api.py +0 -0
  25. {awspub-0.0.6 → awspub-0.0.7}/awspub/tests/test_cli.py +0 -0
  26. {awspub-0.0.6 → awspub-0.0.7}/awspub/tests/test_common.py +0 -0
  27. {awspub-0.0.6 → awspub-0.0.7}/awspub/tests/test_context.py +0 -0
  28. {awspub-0.0.6 → awspub-0.0.7}/awspub/tests/test_image.py +0 -0
  29. {awspub-0.0.6 → awspub-0.0.7}/awspub/tests/test_image_marketplace.py +0 -0
  30. {awspub-0.0.6 → awspub-0.0.7}/awspub/tests/test_s3.py +0 -0
  31. {awspub-0.0.6 → awspub-0.0.7}/awspub/tests/test_snapshot.py +0 -0
  32. {awspub-0.0.6 → awspub-0.0.7}/readme.rst +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: awspub
3
- Version: 0.0.6
3
+ Version: 0.0.7
4
4
  Summary: Publish images to AWS EC2
5
5
  Home-page: https://github.com/canonical/awspub
6
6
  License: GPL-3.0-or-later
@@ -189,6 +189,10 @@ class Image:
189
189
  """
190
190
  share_list = self._share_list_filtered(share_conf)
191
191
 
192
+ if not share_list:
193
+ logger.info("no valid accounts found for sharing in this partition, skipping")
194
+ return
195
+
192
196
  for region, image_info in images.items():
193
197
  ec2client: EC2Client = boto3.client("ec2", region_name=region)
194
198
  # modify image permissions
@@ -4,7 +4,7 @@ build-backend = "poetry_dynamic_versioning.backend"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "awspub"
7
- version = "0.0.6"
7
+ version = "0.0.7"
8
8
  description = "Publish images to AWS EC2"
9
9
 
10
10
  license = "GPL-3.0-or-later"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes