Commit Graph

70 Commits

Author SHA1 Message Date
OpenDev Sysadmins 1bc9499dce OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:49:21 +00:00
Ryan Beisner e133119e9b
Retire project
Leave README around for those that follow.

http://lists.openstack.org/pipermail/openstack-discuss/2019-February/003186.html
http://lists.openstack.org/pipermail/openstack-discuss/2018-November/000057.html

Change-Id: I050457c5b596f935840618013003d558c5f7651d
2019-02-27 10:32:25 +01:00
lijunjie bb9ad3ab2d Fix the misspelling of "openvswitch"
Change-Id: If8d65289e25e210bfd46dfcb307f58afc693d85f
2018-12-27 16:42:08 +08:00
Zuul e8b2084744 Merge "fix tox python3 overrides" 2018-10-12 10:50:50 +00:00
Ryan Beisner fdb32222a8 Update requirements
Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

Change-Id: I37b3abbf6bc9b7c0a859d7cc7e9af706072a0422
2018-10-04 16:22:37 -05:00
Doug Hellmann f7c55ca12e fix tox python3 overrides
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: I25766a658b7db8a8c03fb30fb5fb15fd04e2aaf8
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:40:37 -04:00
Liam Young a62f4a169f Pass all CS_ vars to tox env to pickup timeout
Change-Id: Ib38b58f9cb14bfcfb3ecda658e8daac207d18a87
2018-09-20 11:19:01 +00:00
Doug Hellmann 8316c09e49 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Iee5a90919a8d8392e2e5437fa2326477573b3473
Story: #2002586
Task: #24317
2018-09-11 13:19:08 -04:00
Chris MacNaughton 00740b85e3 Rebuild for sync charm-helpers to ensure rocky support
Change-Id: I5116daf1360a693898ac58dd16e3bc82dd805802
2018-07-13 16:14:21 +02:00
Zuul 4d91a04e46 Merge "Update links in README" 2018-07-12 17:00:22 +00:00
Ryan Beisner ecfeeda19b Update series metadata
Ensure that EOL releases are removed from metadata
and tests, and that the current dev release is enabled
in metadata.  Dev release tests are enabled separately
because of chickens and eggs.

Change-Id: I8aa2b47ed327b14720d7964fe0cd2520cbe8d62d
2018-07-11 14:07:23 -05:00
XiaojueGuan e12d39be95 Update links in README
Change the outdated links to the latest links in README

Change-Id: I12ebde9763f7580b85c843e1387d38355eddbb9f
2018-06-12 16:17:04 +08:00
Ryan Beisner 03a328f325 Remove deprecated functional test targets
Change-Id: Ic52c2af5f51936b036bc6d9246324dc823934dac
2018-05-09 16:37:42 -05:00
Ryan Beisner dbb33d4941 Update tox.ini to stop using unverified package
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: I6aca0d4c6a863d5cc5da556cff56e5fde5d335d3
2018-04-03 16:32:47 +00:00
David Ames eb7b91a2f0 Rebuild to pull in charms.openstack
Pull in the fix for internal, public and admin certificates in
charms.openstack.

Change-Id: I9722127aa687c6cc084c575ebc70dfa377bb2803
Closes-Bug: #1750915
2018-03-06 16:29:38 +01:00
Ryan Beisner 430026c621 Rebuild for sync charm-helpers
Change-Id: Ie8c8a3789b3d434dae19acca79e49f4510e56fab
2018-02-21 14:03:00 -06:00
David Ames ab4a45393f Rebuild for sync charm-helpers
Change-Id: Ie87aab584a16b8776340bcdaced93972548cf570
2018-01-19 10:19:44 -08:00
Ryan Beisner 0b082461f0 Add Bionic and remove Zesty series and tests
Bionic, being the next LTS, is important to enable for dev
and test as early as possible ahead of 18.02.

Zesty goes EOL in Jan 2018. The next stable charms release (18.02)
will not provide Zesty series support, as it was an interim
(non-LTS) release.

Change-Id: I34e8db0c9cda91704cae6fecbac885ba5d8831b7
2017-12-05 05:30:09 +00:00
Ryan Beisner 1e3c532751 Update requirements for git charmhelpers
Change-Id: Ia3bec343a0c5b89a2185df3cae79b312ac3c388f
2017-10-03 04:34:28 +00:00
Ryan Beisner 6054e9e649 Add Artful dev series metadata
Change-Id: I6687bd6f8fd92f75a53db895480bfe2f0b9f614e
2017-09-26 14:45:34 -04:00
Ryan Beisner 1265d73e67 Remove deprecated series metadata and tests
Change-Id: I89375457c8c7842eb6135eabe40fcd1f7800dbe8
2017-08-23 09:55:38 -05:00
Andrew McLeod ed3de15e5a Modify tests.yaml which specifies bundletester config params
with the following key:value pairs:

- reset_timeout: 600

Change-Id: I828b0473dfa6f2f52a9a86d950d342885dc0248f
2017-08-09 14:29:01 -06:00
Alex Kavanagh a4f791f16e Update charm icon
Change-Id: I5daf27adfc99a71a803d47aa99997c89020da750
Closes-Bug: #1686691
2017-08-02 18:28:13 +01:00
David Ames d09c94079a Update tests to use keystoneauth1
With keystoneauth1 sessions the service catalog search function,
url_for takes argument interface, no longer named endpoint_type.
This change updates tests to use this argument name.

Change-Id: Ibc2bf7b92ff2bfadfeb860d2151666bee5ec347d
2017-07-24 14:58:00 -07:00
James Page 5ce30ee9cb Updates for pike b1
Add amulet tests for pike, but leave disabled for now.

Required charmhelpers support for Pike picked up during rebuild.

Change-Id: Id7cb699dd9d1ca806e862917137f6d1d69c6fef8
2017-05-25 14:06:15 +01:00
Alex Kavanagh 7005536b4b Use charms.openstack charmhelpers test_mocks
Every reactive charm that uses charms.openstack and implements unit
testing needs to mock charmhelpers, as otherwise the tests blow up.
This patch uses the mocking of charmhelpers in charms.openstack so that
a charm layer can just import test_mocks and charmhelpers will be mocked
out along with setting up a default
charmhelpers.c.o.u.OPENSTACK_RELEASES so that when an OpenStackCharm()
derived charm class won't fail on definition.

Change-Id: I453d1f57d723a2519f6191f585fa378150fc61d8
Related-Bug: #1693017
Depends-On: I5ac40617ee30e5f421ec16fc7592177a5e6aa166
2017-05-25 12:56:03 +01:00
David Ames b9e71a6487 Enable Zesty-Ocata Amulet Tests
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes

Change-Id: I44f8b8cae9ce3248c85ec2d9a679da418723044e
2017-05-03 15:19:18 -07:00
Ryan Beisner da22f751a3 Remove completed TODOs
Change-Id: Iab9c319baa491cb67e0ef72f359587fa5dc33038
2016-12-08 21:05:26 +00:00
Ryan Beisner a16e4c8c2d Update Amulet defs, series metadata and c-h sync
- Sync charm helpers if applicable.

- Fix test executable hashbags for virtualenv prep.

- Add Yakkety-Newton Amulet test definitions.

- Prep Xenial-Ocata Amulet test definitions (not yet enabled).

- Prep Zesty-Ocata Amulet test definitions (not yet enabled).

- Remove Precise charm series metadata if present.

- Remove Precise Amulet test definitions if present.

Change-Id: I12f3c996ee0478e8de59c3c32a4c1730523b5949
2016-12-03 16:51:08 +00:00
Ryan Beisner 57460f71ea Update tox.ini for py27 requirement
Reactive source charms are Python3-only, but have py27 unit tests
declared in project-config.

The Tox tool recently changed behavior.  It used to pass when a tox
target was missing commands.  Now it fails in that case.

This commit places a py27 no-op shim to allow gate tests to pass,
effectively restoring the original behavior for these py3x-only repos.

Change-Id: I3b53e36874805f453b29de28b76184aaf2da5c97
Partial-Bug: 1642981
2016-11-28 18:21:25 -06:00
Jenkins ec59422479 Merge "Update amulet test definitions for Newton" 2016-10-12 20:16:42 +00:00
Ryan Beisner 8ca61382ab Update amulet test definitions for Newton
- Remove Precise-Icehouse Amulet test definitions if they exist.

- Add Xenial-Newton Amulet test definitions.

- Add Yakkety-Newton Amulet test definitions.

- Use the percona-cluster charm in tests instead of the mysql charm.

Change-Id: Ic01e735deb427b1f73280070058cc9f4730c2fed
2016-10-12 12:56:20 -05:00
James Page cea8c5c3d1 Update active status message
Align active status message with other OpenStack related charms,
ensuring a consistent user experience and aligning with monitoring
code checks in amulet functional test helpers.

Change-Id: I97324c80e0c5a4ea406c9a53b1bb80a7e4234661
Closes-Bug: 1632095
2016-10-12 14:59:28 +01:00
Jenkins 6c96dde8bd Merge "Switch charm to new format" 2016-10-05 11:20:22 +00:00
Liam Young a8091a7886 Switch charm to new format
This charm was written when the reactive framework was in its infancy
and the layers for Openstack had not been written. This change
updates the charm to use the new layout and removes code which now
resides in a shared layer. The unit tests have also been updated and
extended.

Change-Id: Ib75710021aa48fb739c6fbca8ef52bf296d2a26a
2016-10-04 15:03:29 +01:00
David Ames 3428bbbc64 Pre-release charm-helpers sync 16.10
Get each charm up to date with lp:charm-helpers for release testing.

Change-Id: I3a5e6568cb449c59edf349fb28021c8914b494c3
2016-09-30 09:18:47 -07:00
James Page cfc38a0086 Add charm series data to metadata.yaml
This optimizes the publication process to the charm store, and
ensures that the charm code and version is consistent across all
supported Ubuntu series.

Change-Id: I475ea4ad8376cdcc0713512790a8a87209a724a8
2016-09-14 09:41:15 +01:00
Ryan Beisner df3b561830 Update tox.ini files from release-tools gold copy
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: I07aafbb613d13084eb5d88877659f1690f794040
2016-09-09 19:22:17 +00:00
James Page 2bd3afaa98 Use bundletester for amulet test execution
Switch to using bundletester for execution of functional tests,
leveraging tox to build out test virtualenvs.

Rename amulet tests inline with gate-* and dfs-* naming standards.

Update README to refer to functional testing section of the charm
guide.

Change-Id: I99d4adf310a19aa5dc86a2930df50870f2420f22
2016-07-20 11:14:53 +01:00
David Ames 57f2542a1c Pre-release charm-helpers sync
To begin release testing get each charm up to date with lp:charm-helpers

Change-Id: I54c43b254b1e4fe11cadb90c604c83750164ffba
2016-07-15 10:41:53 -07:00
James Page 816605d725 Resync charmhelpers for licensing change
The charm-helpers project have re-licensed to Apache 2.0
inline with the agreed licensing approach to intefaces,
layers and charms generally.

Resync helpers to bring charmhelpers inline with charm
codebase.

Change-Id: I5a6f9d970e614f4a62bc63bfafe85e6d0bd87e15
2016-07-06 16:41:52 +01:00
James Page 08de6632d0 Re-license charm as Apache-2.0
All contributions to this charm where made under Canonical
copyright; switch to Apache-2.0 license as agreed so we
can move forward with official project status.

Change-Id: I1135f2cc3d4da7f9ab5cdd5535053ccc0a4f897a
2016-07-01 18:03:05 +01:00
James Page 5931ec087c Refresh Amulet tests
Enable tests for later Ubuntu and OpenStack release
versions; tidy headers in each test target; update
base deployment task to support multiple ODL
releases as Helium is not Java 8 compatible, blocking
testing on Ubuntu 16.04.

Change-Id: Idf9f0cf46e4c5a5c9914e203a4f8acf23a62edd9
2016-04-18 12:57:27 +01:00
Liam Young e6675d4a88 Charmhelper sync before 1604 testing
Change-Id: I6c5f2251efd01a6aa871c3dd0459fe04472d41ee
2016-04-12 19:06:04 +00:00
James Page 483fb8b257 Update to charm-tools >= 2.0.0
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: Ifb8974dbd681d3117152a8f7a7bfc889d6c3f315
2016-03-23 09:30:17 +00:00
Billy Olsen 26078d6ac7 Use tox in Makefile targets
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.

Change-Id: Ibd881d74cbc10b16d4fa8a8ddb8aee01806e56c6
2016-03-15 20:13:49 -07:00
James Page 0a046d144b charm-helpers: resync
Also updates the base amulet deployment to use correct locations for
other charms and makes use of AMULET_ODL_LOCATION.

Change-Id: I36450bd175f3435e03050c91bcde873c7da497bf
2016-03-10 12:20:39 +00:00
uoscibot aa4addb561 Adapt imports and metadata for github move 2016-02-29 10:49:38 +00:00
James Page 3a3db38cf4 Add gitreview prior to migration to openstack 2016-02-24 21:53:35 +00:00
James Page f529888796 Refactor tox a bit 2016-02-16 07:23:02 +00:00