- remove pip.sh
- unpin top level requirements
- update charm-tools version for pep8 test
- update osci.yaml tox_extra_args for compatibility
Signed-off-by: Rafael Lopez <rafael.lopez@canonical.com>
Change-Id: Iec9fbd296d6d5b5fa647739d5588218c28e0a773
- add *.charm to .gitignore
- add build-requirements.txt
- add charmcraft.yaml (build on 18.04, run on 18.04)
- modify osci.yaml to do build
- add rename.sh to clean-up naming of charms
- modify bundles to work with *.charm and use the charmhub
- modify tox.ini to include the build target
Note that this charm doesn't officially support xenial, but the bundle
has been left in the tests for debugging/test purposes. It Launchpad it
will be build on bionic to run on bionic.
This patch adds *.charm to the .gitignore to ensure that any built
artifacts are ignored.
Change-Id: Icd4942262a8dfcd3a194684571861121d92f8ed2
- charm-helpers sync for new charm-helpers changes
- update tox/pip.sh to ensure setuptools<50.0.0
Change-Id: If2397cf401d1bcec3ff7c622fa9e3477291fc7eb
* charm-helpers sync for classic charms
* charms.ceph sync for ceph charms
* rebuild for reactive charms
* sync tox.ini files as needed
* sync requirements.txt files to sync to standard
Change-Id: I1bf6a834b3678f631f6335af9f0e8b779f863c66
The bundle disco-stein was in the dev bundles because
a bug with the Python 3.7 syntax prevented the success of
the deployment of HA clusters. This bug is fixed, we can
reintegrate disco-stein in the gate bundles.
Other small additions:
- Removed unused Amluet test templates
- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.
LP Related-Bug: #1823718
Change-Id: I38ba1d762fede6c25b8b4c41919859e52eb097fd
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.
See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html
Note that python35-charm-jobs is retained since this charm is supported
on Xenial.
Change-Id: If3b1f9f6d5af0f8f64e9ffb50b0f2f8c5d112d40
Story: #2005924
Task: #34228
Convert amulet tests to zaza.
Add additional tests for new cold boot actions.
Use multi-model tests.yaml for different tests for bionic and xenial.
Change-Id: I5dadefa6092acecdaae194370a81b05a69b09909
It's broken at trusty and needs to be re-worked due to a lack of python3-mysqldb at trusty
This reverts commit 03f93dbc76.
Change-Id: I2b722014fc1ed5823635a6b45b3307326fd901af
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I68759b87fa4c7af04a95bb188d94f7ddc724ef7d
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
As of pip 10.0, --allow-unverified is not permitted.
Use of the flag in this repo was previously used to force
installation of python-apt to accommodate certain unit tests.
The unverified package, python-apt, is no longer necessary
for test execution.
Related-Bug: #1760720
Change-Id: Ia6e28d103a43123bc6e40b1922ea9a9ee8f438ba
- sync charmhelpers with fix-alpha helpers
- fix up code where the alpha comparisons are done
Change-Id: I61a6831f381664f9378a1b6a7a119cf3a2c026c2
Related-Bug: #1659575
Use the is_ip function from charmhelpers to correctly
detect and return IPv4 and IPv6 addresses.
Support DNS querying for IPv6 addresses using ipv6
argument (defaults to false).
Resync tox.ini from release tools to resolve libcharmstore
compatibility issues for 1.25.x testing.
Change-Id: I719ac7db350b2b257ae057acc4299a8e97501a7b
Partial-Bug: 1622780
All OpenStack Charms now contain identical tox.ini files,
not to be modified or made unique within each charm repo.
This is to ensure consistency across charm repos in tox
target naming, approach and purpose, also giving the
charm dev and test experience additional consistency.
Also create empty dirs with .keep files where necessary.
Some classic charms have actions and/or lib dirs, and some
do not. In all classic charms, flake will now check those
dirs to ensure lint coverage of existing or future content.
Change-Id: Ic1fd0f38b2bd68825bfc81768252162b27715afd
All OpenStack Charms now contain identical tox.ini files,
not to be modified or made unique within each charm repo.
This is to ensure consistency across charm repos in tox
target naming, approach and purpose, also giving the
charm dev and test experience additional consistency.
Change-Id: Iafb77627824d4f18d8a1f1f2a611db950870e81a
Switch to using bundletester for execution of functional tests,
leveraging tox to build out test virtualenvs.
Rename amulet tests inline with gate-* and dev-* naming standards.
Update README to refer to functional testing section of the charm
guide.
Add basic multi-unit test for Xenial.
Change-Id: I06a976d9fc6418f04f46f3c3cca83d2fb47f3ee4
During refactoring of the actions codebase, the backup
action managed to miss getting the default 'args' parameter.
Add args parameter so the the backup action is functional again.
Enable pep8 checking of actions, tidy up issues.
Use boolean action options as real booleans, not as strings.
Change-Id: Ia75dd90ac31dce4009fd44f8c1d582814134e3d9
Closes-Bug: 1583898
The new release of charm-tools no longer ships the charm
command; update minimum version requirement and switch
to using charm-proof instead, unblocking current pep8
failures across all charms.
Also pin the version of requests to 2.6.0 until theblues
(indirect dependency of charm-tools) sort out its
requirements versioning.
Change-Id: I5a429afce4f29b1591608a17dc5d5edfd45f8744
Modify the Makefile to point at the appropriate tox targets
so that tox and Make output can be equivalent. This involves
mapping the lint target to the pep8 target and the test target
to the py27 target.
Update tox.ini to not use site-packages as the PyYAML installed
version conflicts with pip requirements.
Change-Id: I4c236be7fad1ce15b561832b1368ca2a789bc38a
This charm was missed pre-migration to git/gerrit.
Add support for executing pep8 and unit tests using tox.
Change-Id: I5518e870c572ccc292d6fe4e9b7c910c7f3f0260