commit python3-ipa for openSUSE:Factory
Hello community, here is the log from the commit of package python3-ipa for openSUSE:Factory checked in at 2019-03-06 15:50:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-ipa (Old) and /work/SRC/openSUSE:Factory/.python3-ipa.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python3-ipa" Wed Mar 6 15:50:41 2019 rev:14 rq:681952 version:3.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python3-ipa/python3-ipa.changes 2019-02-24 17:11:50.832488528 +0100 +++ /work/SRC/openSUSE:Factory/.python3-ipa.new.28833/python3-ipa.changes 2019-03-06 15:50:53.804439274 +0100 @@ -1,0 +2,15 @@ +Thu Feb 28 16:39:22 UTC 2019 - Sean Marlow <sean.marlow@suse.com> + +- Update to v3.1.1 (2019-02-28) + + Add new license directories for SLES test bsc#1127149. + +------------------------------------------------------------------- +Fri Feb 22 22:36:00 UTC 2019 - Sean Marlow <sean.marlow@suse.com> + +- Update to v3.1.0 (2019-02-22) + + Check for ssh key file separately in ec2. + + Add specific commands for GCE credentials setup. + + SSH user key in ec2utils config is user. + + Accept availability zones as ec2 region. + +------------------------------------------------------------------- Old: ---- python3-ipa-3.0.0.tar.gz New: ---- python3-ipa-3.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-ipa.spec ++++++ --- /var/tmp/diff_new_pack.Tyz38i/_old 2019-03-06 15:50:54.280439339 +0100 +++ /var/tmp/diff_new_pack.Tyz38i/_new 2019-03-06 15:50:54.284439340 +0100 @@ -18,7 +18,7 @@ %bcond_without test Name: python3-ipa -Version: 3.0.0 +Version: 3.1.1 Release: 0 Summary: Command line and API for testing custom images License: GPL-3.0-or-later ++++++ python3-ipa-3.0.0.tar.gz -> python3-ipa-3.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-3.0.0/CHANGES.md new/python3-ipa-3.1.1/CHANGES.md --- old/python3-ipa-3.0.0/CHANGES.md 2019-02-04 16:13:27.000000000 +0100 +++ new/python3-ipa-3.1.1/CHANGES.md 2019-02-28 17:32:05.000000000 +0100 @@ -1,3 +1,21 @@ +v3.1.1 (2019-02-28) +=================== + +- Add new license directories for SLES test. + [\#173](https://github.com/SUSE-Enceladus/ipa/pull/173) + +v3.1.0 (2019-02-22) +=================== + +- Check for ssh key file separately in ec2. + [\#169](https://github.com/SUSE-Enceladus/ipa/pull/169) +- Add specific commands for GCE credentials setup. + [\#170](https://github.com/SUSE-Enceladus/ipa/pull/170) +- SSH user key in ec2utils config is user. + [\#171](https://github.com/SUSE-Enceladus/ipa/pull/171) +- Accept availability zones as ec2 region. + [\#172](https://github.com/SUSE-Enceladus/ipa/pull/172) + v3.0.0 (2019-02-04) =================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-3.0.0/PKG-INFO new/python3-ipa-3.1.1/PKG-INFO --- old/python3-ipa-3.0.0/PKG-INFO 2019-02-04 16:14:28.000000000 +0100 +++ new/python3-ipa-3.1.1/PKG-INFO 2019-02-28 17:33:03.000000000 +0100 @@ -1,13 +1,12 @@ Metadata-Version: 2.1 Name: python3-ipa -Version: 3.0.0 +Version: 3.1.1 Summary: Package for automated testing of cloud images. Home-page: https://github.com/SUSE-Enceladus/ipa Author: SUSE Author-email: public-cloud-dev@susecloud.net License: GPLv3+ Description: [![Build Status](https://travis-ci.com/SUSE-Enceladus/ipa.svg?branch=master)](https://travis-ci.com/SUSE-Enceladus/ipa) - [![Codacy Badge](https://api.codacy.com/project/badge/Grade/845fb1620f334ae09488e8137dd6d256)](https://www.codacy.com/app/default-org/ipa?utm_source=github.com&utm_medium=referral&utm_content=SUSE-Enceladus/ipa&utm_campaign=Badge_Grade) [![Documentation Status](https://readthedocs.org/projects/ipa/badge/?version=latest)](https://ipa.readthedocs.io/en/latest/?badge=latest) [![Py Versions](https://img.shields.io/pypi/pyversions/python3-ipa.svg)](https://pypi.org/project/python3-ipa/) [![License](https://img.shields.io/pypi/l/python3-ipa.svg)](https://pypi.org/project/python3-ipa/) @@ -151,6 +150,6 @@ Classifier: Programming Language :: Python :: 3.7 Requires-Python: >=3.4 Description-Content-Type: text/markdown -Provides-Extra: tox Provides-Extra: dev +Provides-Extra: tox Provides-Extra: test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-3.0.0/README.md new/python3-ipa-3.1.1/README.md --- old/python3-ipa-3.0.0/README.md 2019-02-04 16:13:27.000000000 +0100 +++ new/python3-ipa-3.1.1/README.md 2019-02-28 17:32:05.000000000 +0100 @@ -1,5 +1,4 @@ [![Build Status](https://travis-ci.com/SUSE-Enceladus/ipa.svg?branch=master)](https://travis-ci.com/SUSE-Enceladus/ipa) -[![Codacy Badge](https://api.codacy.com/project/badge/Grade/845fb1620f334ae09488e8137dd6d256)](https://www.codacy.com/app/default-org/ipa?utm_source=github.com&utm_medium=referral&utm_content=SUSE-Enceladus/ipa&utm_campaign=Badge_Grade) [![Documentation Status](https://readthedocs.org/projects/ipa/badge/?version=latest)](https://ipa.readthedocs.io/en/latest/?badge=latest) [![Py Versions](https://img.shields.io/pypi/pyversions/python3-ipa.svg)](https://pypi.org/project/python3-ipa/) [![License](https://img.shields.io/pypi/l/python3-ipa.svg)](https://pypi.org/project/python3-ipa/) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-3.0.0/ipa/__init__.py new/python3-ipa-3.1.1/ipa/__init__.py --- old/python3-ipa-3.0.0/ipa/__init__.py 2019-02-04 16:13:27.000000000 +0100 +++ new/python3-ipa-3.1.1/ipa/__init__.py 2019-02-28 17:32:05.000000000 +0100 @@ -22,4 +22,4 @@ __author__ = """SUSE""" __email__ = 'public-cloud-dev@susecloud.net' -__version__ = '3.0.0' +__version__ = '3.1.1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-3.0.0/ipa/ipa_ec2.py new/python3-ipa-3.1.1/ipa/ipa_ec2.py --- old/python3-ipa-3.0.0/ipa/ipa_ec2.py 2019-02-04 16:13:27.000000000 +0100 +++ new/python3-ipa-3.1.1/ipa/ipa_ec2.py 2019-02-28 17:32:05.000000000 +0100 @@ -98,7 +98,9 @@ # Get command line values that are not None cmd_line_values = self._get_non_null_values(locals()) + self.zone = None self.account_name = account_name + if not self.account_name: self.logger.debug( 'No account provided. To use the EC2 config file an ' @@ -109,6 +111,9 @@ raise EC2CloudException( 'Region is required to connect to EC2.' ) + elif self.region[-1].isalpha(): + self.zone = self.region + self.region = self.region[:-1] config_file = self.cloud_config or EC2_CONFIG_FILE @@ -136,10 +141,21 @@ self.secret_access_key = self.ec2_config['secret_access_key'] self.security_group_id = self.ec2_config['security_group_id'] self.ssh_key_name = self.ec2_config['ssh_key_name'] - self.ssh_private_key_file = self.ec2_config['ssh_private_key'] - self.ssh_user = self.ec2_config['ssh_user'] or EC2_DEFAULT_USER self.subnet_id = self.ec2_config['subnet_id'] + self.ssh_user = ( + cmd_line_values.get('ssh_user') or + ec2_config.get('user') or + self.ipa_config.get('ssh_user') or + EC2_DEFAULT_USER + ) + + self.ssh_private_key_file = ( + cmd_line_values.get('ssh_private_key_file') or + ec2_config.get('ssh_private_key') or + self.ipa_config.get('ssh_private_key_file') + ) + if not self.ssh_private_key_file: raise EC2CloudException( 'SSH private key file is required to connect to instance.' @@ -244,6 +260,9 @@ ] } + if self.zone: + kwargs['Placement'] = {'AvailabilityZone': self.zone} + if self.ssh_key_name: kwargs['KeyName'] = self.ssh_key_name else: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-3.0.0/package/python3-ipa.spec new/python3-ipa-3.1.1/package/python3-ipa.spec --- old/python3-ipa-3.0.0/package/python3-ipa.spec 2019-02-04 16:13:27.000000000 +0100 +++ new/python3-ipa-3.1.1/package/python3-ipa.spec 2019-02-28 17:32:05.000000000 +0100 @@ -18,7 +18,7 @@ %bcond_without test Name: python3-ipa -Version: 3.0.0 +Version: 3.1.1 Release: 0 Summary: Command line and API for testing custom images License: GPL-3.0-or-later diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-3.0.0/python3_ipa.egg-info/PKG-INFO new/python3-ipa-3.1.1/python3_ipa.egg-info/PKG-INFO --- old/python3-ipa-3.0.0/python3_ipa.egg-info/PKG-INFO 2019-02-04 16:14:28.000000000 +0100 +++ new/python3-ipa-3.1.1/python3_ipa.egg-info/PKG-INFO 2019-02-28 17:33:03.000000000 +0100 @@ -1,13 +1,12 @@ Metadata-Version: 2.1 Name: python3-ipa -Version: 3.0.0 +Version: 3.1.1 Summary: Package for automated testing of cloud images. Home-page: https://github.com/SUSE-Enceladus/ipa Author: SUSE Author-email: public-cloud-dev@susecloud.net License: GPLv3+ Description: [![Build Status](https://travis-ci.com/SUSE-Enceladus/ipa.svg?branch=master)](https://travis-ci.com/SUSE-Enceladus/ipa) - [![Codacy Badge](https://api.codacy.com/project/badge/Grade/845fb1620f334ae09488e8137dd6d256)](https://www.codacy.com/app/default-org/ipa?utm_source=github.com&utm_medium=referral&utm_content=SUSE-Enceladus/ipa&utm_campaign=Badge_Grade) [![Documentation Status](https://readthedocs.org/projects/ipa/badge/?version=latest)](https://ipa.readthedocs.io/en/latest/?badge=latest) [![Py Versions](https://img.shields.io/pypi/pyversions/python3-ipa.svg)](https://pypi.org/project/python3-ipa/) [![License](https://img.shields.io/pypi/l/python3-ipa.svg)](https://pypi.org/project/python3-ipa/) @@ -151,6 +150,6 @@ Classifier: Programming Language :: Python :: 3.7 Requires-Python: >=3.4 Description-Content-Type: text/markdown -Provides-Extra: tox Provides-Extra: dev +Provides-Extra: tox Provides-Extra: test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-3.0.0/setup.cfg new/python3-ipa-3.1.1/setup.cfg --- old/python3-ipa-3.0.0/setup.cfg 2019-02-04 16:14:28.000000000 +0100 +++ new/python3-ipa-3.1.1/setup.cfg 2019-02-28 17:33:03.000000000 +0100 @@ -1,5 +1,5 @@ [bumpversion] -current_version = 3.0.0 +current_version = 3.1.1 commit = True tag = False diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-3.0.0/setup.py new/python3-ipa-3.1.1/setup.py --- old/python3-ipa-3.0.0/setup.py 2019-02-04 16:13:27.000000000 +0100 +++ new/python3-ipa-3.1.1/setup.py 2019-02-28 17:32:05.000000000 +0100 @@ -43,7 +43,7 @@ setup( name='python3-ipa', - version='3.0.0', + version='3.1.1', description="Package for automated testing of cloud images.", long_description=readme, long_description_content_type="text/markdown", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-3.0.0/usr/share/lib/ipa/tests/SLES/SAP/test_sles_sap_license.py new/python3-ipa-3.1.1/usr/share/lib/ipa/tests/SLES/SAP/test_sles_sap_license.py --- old/python3-ipa-3.0.0/usr/share/lib/ipa/tests/SLES/SAP/test_sles_sap_license.py 2019-02-04 16:13:27.000000000 +0100 +++ new/python3-ipa-3.1.1/usr/share/lib/ipa/tests/SLES/SAP/test_sles_sap_license.py 2019-02-28 17:32:05.000000000 +0100 @@ -12,7 +12,8 @@ license_dirs = [ '/etc/YaST2/licenses/ha/', - '/etc/YaST2/licenses/SLES_SAP/' + '/etc/YaST2/licenses/SLES_SAP/', + '/usr/share/licenses/product/SLES_SAP/' ] result = confirm_sles_license_content(license_dirs) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-ipa-3.0.0/usr/share/lib/ipa/tests/SLES/test_sles_license.py new/python3-ipa-3.1.1/usr/share/lib/ipa/tests/SLES/test_sles_license.py --- old/python3-ipa-3.0.0/usr/share/lib/ipa/tests/SLES/test_sles_license.py 2019-02-04 16:13:27.000000000 +0100 +++ new/python3-ipa-3.1.1/usr/share/lib/ipa/tests/SLES/test_sles_license.py 2019-02-28 17:32:05.000000000 +0100 @@ -4,7 +4,9 @@ def test_sles_license(host, confirm_sles_license_content): license_dirs = [ '/etc/YaST2/licenses/base/', - '/etc/YaST2/licenses/SLES/' + '/etc/YaST2/licenses/SLES/', + '/usr/share/licenses/product/base/', + '/usr/share/licenses/product/SLES/' ] result = confirm_sles_license_content(license_dirs)
participants (1)
-
root