Commit Graph

70 Commits

Author SHA1 Message Date
Alex Kavanagh 342e72244f Updates for caracal testing support
These updates, on the master branch, are to support testing the caracal
packages and support of the charms for caracal.  They do NOT lock the charms
down, and don't change the testing branches to stable branches.

Change-Id: I5549fc5d72659dd3434543d13001101af3b613f2
2024-02-24 19:53:07 +00:00
Corey Bryant 69e8fd81dc Add 2023.2 Bobcat support
* sync charm-helpers to classic charms
* change openstack-origin/source default to bobcat
* add mantic to metadata series
* align testing with bobcat
* add new bobcat bundles
* add bobcat bundles to tests.yaml
* add bobcat tests to osci.yaml
* update build-on and run-on bases
* drop kinetic
* add hatchling to wheelhouse
* update charmcraft_channel to 2.x/stable

Change-Id: I4776086c3bb35d0fc4bd3ff4f808559b73270426
2023-08-03 13:54:26 -04:00
Corey Bryant bacaeab8ac Enable jammy-antelope voting and drop kinetic-zed tests
* Voting was turned on for jammy-antelope in the
  project-template for charm-functional-jobs in zosci-config
* Voting for jammy-antelope bundles with non-standard names
  is turned on in individual charms
* Kinetic-zed bundles/tests are removed

Change-Id: I8cf89d0abcc196a83fbb8088b730ee74f774f6ee
2023-03-29 21:01:47 +00:00
Corey Bryant 03388e821f Add Antelope support
* sync charm-helpers to classic charms
* change openstack-origin/source default to antelope
* align testing with antelope
* add new antelope bundles
* add antelope bundles to tests.yaml
* add antelope tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases

Change-Id: I8487abc15cf61abfa18d09aa73064e139fa92560
2023-03-07 23:01:42 +00:00
Liam Young 8ee74b472d Fix charm for tox4 compatibility
Related-Bug: 2002788
Change-Id: I9b5c1258365da967581e45b19e875482e7e9b2cc
2023-01-17 09:33:01 +00:00
Corey Bryant dd9f5e53d6 Add Kinetic and Zed support
* sync charm-helpers to classic charms
* change openstack-origin/source default to zed
* align testing with zed
* add new zed bundles
* add zed bundles to tests.yaml
* add zed tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases
* add bindep.txt for py310
* sync tox.ini and requirements.txt for ruamel
* use charmcraft_channel 2.0/stable
* drop reactive plugin overrides
* move interface/layer env vars to charmcraft.yaml

Change-Id: Ie43538cc39e2115275802b328c9145df5955beb8
2022-08-31 18:49:12 +01:00
Alex Kavanagh a0330a930d Updates to enable jammy and finalise charmcraft builds
- Add 22.04 to charmcraft.yaml
- Update metadata to include jammy
- Remove impish from metadata
- Update osci.yaml to include py3.10 default job
- Modify tox.ini to remove py35,py36,py37 tox target and add py310
  target.
- ensure that the openstack-origin is yoga

Change-Id: I909c4299c94edbf2ba7d2052c1642d04902878f7
2022-04-04 15:48:45 +01:00
Alex Kavanagh c3718862fe Update to build using charmcraft
Due to a build problem with the reactive plugin, this change falls back
on overriding the steps and doing a manual build, but it also ensures
the CI system builds the charm using charmcraft.  Changes:

- add a build-requirements.txt
- modify charmcraft.yaml
- modify osci.yaml
    -> indicate build with charmcraft
- modify tox.ini
    -> tox -e build does charmcraft build/rename
    -> tox -e build-reactive does the reactive build
- modify bundles to use the <charm>.charm artifact in tests.
  and fix deprecation warning re: prefix
- tox inception to enable tox -e func-test in the CI

Change-Id: Icf3da0aa6e1820b10f211eb5ab779ff5d3d3f394
2022-02-01 18:42:59 +00:00
Corey Bryant 2b7879152d Add yoga bundles and release-tool syncs
* charm-helpers sync for classic charms
* sync from release-tools
* switch to release-specific zosci functional tests
* run focal-ussuri as smoke tests
* remove trusty, xenial, and groovy metadata/tests
* drop py35 and add py39

Change-Id: I4d6b684a1257cc6bbb703b4a98d90e9f71972d9f
2021-11-17 13:45:37 -05:00
Alex Kavanagh 59400c2e62 Add xena bundles
- add non-voting focal-xena bundle
- add non-voting impish-xena bundle
- rebuild to pick up charm-helpers changes
- update tox/pip.sh to ensure setuptools<50.0.0

Change-Id: I4054504258ed097d117a7215616f7f4044c6d010
2021-09-21 14:01:03 +01:00
Aurelien Lourot e0d0855d43 Sync release-tools
In order to fix ResolutionImpossible on tox invocation.

https://github.com/openstack-charmers/release-tools/issues/151
https://github.com/openstack-charmers/release-tools/pull/152

Change-Id: I2a2e4f9a5f3a13fa9a978078380fb419ef5d6704
2021-07-22 14:51:37 +02:00
Aurelien Lourot 3136ffcc19 Add impish to metadata.yaml
Change-Id: I5c8aa5d29bdbbb7fbbbb66c7d8f9d0dcc3252f46
2021-06-03 11:03:49 +02:00
Alex Kavanagh e467a174da Updates to flip all libraries back to master
This patchset updates all the requirements for charms.openstack,
charm-helpers, charms.ceph, zaza and zaza-openstack-tests back
to master branch.

Change-Id: Ib7a6e24d74a8bb76eb20d101c5b621e05d0cc153
2021-05-03 16:02:17 +01:00
Alex Kavanagh 841fbcdebc Test bundles for focal-wallaby and hirsute-wallaby
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby supporto.

hisute-wallaby test is disabled (moved to dev) due to [1].

[1] https://github.com/juju-solutions/layer-basic/issues/194

Change-Id: I218b3da58865add03ef1fd39988127f7ca0a2666
2021-04-15 18:17:04 +01:00
Alex Kavanagh 189d576062 21.04 libraries freeze for charms on master branch
* charm-helpers sync for classic charms
* build.lock file for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
  - ensure stable/21.04 branch for charms.openstack
  - ensure stable/21.04 branch for charm-helpers

Change-Id: I01d014e6e735bdf368df2b7254b563b961eaf226
2021-04-03 20:20:56 +01:00
Alex Kavanagh e0e4ab4c05 Add hirsute and remove trusty from metadata.yaml
This update adds the new hirsute Ubuntu release (21.04) and
removes trusty support (14.04 which is EOL at 21.04).

Change-Id: I7491d754ed327f3b8604f04db7847541f2d56251
2021-03-02 20:51:50 +00:00
Billy Olsen 000113fad6 Prune gate tests
Prune gate tests and move tests to dev_bundles.

Change-Id: Ib562d13ee7737ac066586867e52d292b8486f91a
2021-02-19 16:58:23 -07:00
Zuul 30d451a8cd Merge "Updates for testing period for 20.01 release" 2021-01-14 11:22:13 +00:00
Alex Kavanagh 34e3ca9ecf Updates for testing period for 20.01 release
* charm-helpers sync for classic charms
* rebuild for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
  - ensure master branch for charms.openstack
  - ensure master branch for charm-helpers

Change-Id: I335b204f7ca8888a0fc5e2465580c2ebbe24d2b0
2021-01-12 15:27:24 +00:00
Aurelien Lourot 506769e700 Remove Disco and Eoan bits
Change-Id: I8a97af8254a2660df8cb7138b1d47115d3914588
2021-01-12 13:50:18 +01:00
Liam Young 26ba0535ef Retrieve approle_secret_id from correct relation
The existing comment in the code expresses the correct intent:
"fetch current secret-id, if any, from relation with barbican principle"
but then attempts to retrieve the secret-id from the vault
relation.

Change-Id: Ie2694ba38e08fd9e864bf9d8fa0b63f0e185b8bd
Closes-Bug: #1871981
2020-12-17 19:57:56 +00:00
Aurelien Lourot 9a669fd1fe Sync release-tools
Sync release-tools boilerplate containing these changes
in order to pin pip < 20.3:
https://github.com/openstack-charmers/release-tools/pull/125
https://github.com/openstack-charmers/release-tools/pull/126

Change-Id: Ia8c079306de072ef2ba1b2eb940038c0919da776
2020-12-11 13:52:48 +01:00
Aurelien Lourot 58bff2f880 Add Groovy to the test gate
Change-Id: I8b23e528b62f5120f689706cbf453e4578955bc4
2020-11-05 12:42:53 +01:00
Aurelien Lourot 91a8f7978f Add focal-victoria to the test gate
Change-Id: I739f599ca436c5255edd9ed5b0794f7abbfe4150
2020-08-28 14:24:06 +02:00
Aurelien Lourot 9dfa29ec4d Add Victoria test bundles
Change-Id: I90c2a984500e6552217ef222196503ebef193728
2020-08-06 12:13:53 +02:00
Alex Kavanagh 8c5766c51c Release sync for 20.08
- Classic charms: sync charm-helpers.
- Classic ceph based charms:  also sync charms.ceph
- Reactive charms: trigger a rebuild
- sync tox.ini
- sync requirements.txt and test-requirements.txt
- Remove vault HA in functional tests as etcd/easyrsa were not included.
  In order to have a faster gate, the HA on vault is dropped and it will
  be tested in the vault gate test and other scenario tests.

Change-Id: I2eacde1d08734c32731df3dfa43da738871792a8
2020-08-05 19:00:55 +01:00
Zuul ea85e43211 Merge "Remove inherited configuration options invalid for charm" 2020-07-21 11:34:53 +00:00
Alex Kavanagh ac51f7fc23 Updates for 20.08 cycle start for groovy and libs
- Adds groovy to the series in the metadata
- Classic charms: sync charm-helpers.
- Classic ceph based charms:  also sync charms.ceph
- Reactive charms: trigger a rebuild

Change-Id: I964b9608ab3b8a81352cc56eb1176e360aae9d9e
2020-06-02 14:27:21 +01:00
Marco Silva eeb791db53 Add HA testing for Barbican Vault
Changes to tests to deploy barbican and vault with haclustering.
It now deploys 3 units of vault and barbican, together with hacluster
for both applications.
Overlay added to ensure all tests run in HA.
DocImpact
Closes-Bug: #1876107
Implements: High availability testing

Change-Id: Ia7abdc682fd583e15feba68fc11cdb89ab7c41ff
2020-05-27 13:11:47 +01:00
Frode Nordahl c83001ca8a
Remove inherited configuration options invalid for charm
Change-Id: I6089eae63aca83fccb7c2ecb39b21455464835b3
Closes-Bug: #1879088
2020-05-16 23:15:10 +02:00
Alex Kavanagh c4eb001120 Enable focal and ussuri tests for gate
Change-Id: I0cacba2715338988ae37c846a7f854296b409388
2020-05-07 11:22:05 +01:00
David Ames f6546dda33 More robust hvac.Client post response handling
Pin the version of hvac for a consistent response type. Use the adpater
to get response code and json data.

Closes Bug: #1871981
Change-Id: Ia8517a75e7bc20f751eca83aaa84728cc62edee6
2020-04-29 12:16:22 -07:00
David Ames 4e1c539eaf Change in hvac.Client post response type
The hvac.Client post response is no longer an object with status_code and json
encoded data. It is a dictionary.

Change-Id: I1cacc8deda005cdbb2290d5ae821e4870608a41a
2020-04-24 21:37:21 +00:00
Alex Kavanagh 0b1183324b Remove disco support from the charm
Change-Id: I2d09bb7a6771b42722c096bf1a40218263bc8fb8
2020-02-18 12:33:43 +00:00
Liam Young 03a8c68302 Rebuild for 20.02 release
Remove disco

Change-Id: I22742fb346399ceaa2088a269c04dbd2ebf32fc4
2020-02-06 07:12:15 +00:00
Frode Nordahl e23f232a68
Use system CA bundle when verifying Vault certificate
Change-Id: I39d761dfbe1500f06abd617dd97eced671971b7d
Closes-Bug: #1859092
2020-01-13 21:16:20 +01:00
Zuul d7c8e6feb4 Merge "Enable functional tests for bionic-train" 2019-12-19 12:45:28 +00:00
Edward Hope-Morley 4a1517d2fb Support trying all available tokens
Since the relation with vault maybe contain more than one
token and we have no way to know if they are valid, we
support trying them all until we get a good one and raise
the error only if we tried them all unsuccessfully and
have no current secret-id otherwise return current
secret-id.

Change-Id: I2ee5ffe5d53e874efb3fabc6a880bf95b00a44f9
Partial-Bug: #1849323
2019-12-11 14:36:33 +00:00
Corey Bryant b33d6b4b5b Enable functional tests for bionic-train
This patch also updates the smoke test to run bionic-train.

Change-Id: Ib6ec26f780bd895731a47db57eda9218de7c8001
2019-10-24 13:35:20 -04:00
Ryan Beisner c8b24309e2
Sync charm/ceph helpers, tox, and requirements
Change-Id: I396744698a7f246cb388c726290504cbf7245a4b
2019-09-30 20:59:12 -05:00
Camille Rodriguez c79d28a030 Add disco-stein bundle to gate tests
This project already has disco-stein tests enabled, but since these
changes are part of a batch change on all the charms, I am keeping
the same title for all.

Changes for barbican-vault:
- 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.

Change-Id: Icb0fadfaa140d0fd295b432a867794f9ec7edcf5
2019-08-26 14:55:30 -04:00
Zuul c9578940a4 Merge "Enable bundle specific tox zaza target" 2019-08-23 12:26:01 +00:00
Frode Nordahl 3a13c3cb76
Rebuild for sync layer-openstack
Also explicitly set ``include_system_packages`` to False.

While that setting is now the a default we consume from
``layer-basic`` it is more clear for the causual reader
of the charm source code.

Remove redundant entries from ``wheelhouse.txt``.

Change-Id: I076da27fd1ab30bc945e1f8474231a1064a5b61c
2019-08-22 09:07:23 +02:00
Chris MacNaughton d4a44764f9 Enable bundle specific tox zaza target
Change-Id: I24f33d52b75953bcc798f9455a26af993b24f950
2019-08-21 11:23:44 +00:00
Chris MacNaughton cc153ae5cd 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: I2c09f48895043bb73e5c32d986ecf38212d81cd7
2019-08-19 22:13:09 +00:00
Frode Nordahl 425d479286
Distribute direct charm dependencies
Do not rely on system installed Python packages but distribute the
direct charm dependencies as part of the charms wheelhouse.

As the span of distributions we need to support with reactive
charms widens we will run into compability problems with the
current model.

For further reference see juju/charm-helpers#341 and
juju-solutions/layer-basic#135

Change-Id: I29304997cdbe3987fb0e55d3ea67b20550653704
2019-08-16 06:56:43 +02:00
Frode Nordahl 579360e3e4 Update functional test definitions
Change-Id: Id01e7e253b5164c631fd66d4eb629498da18f8ba
2019-07-17 15:27:51 +02:00
Chris MacNaughton 3275126466 Retarget Zaza to master now that split has landed
This change is required as Zaza underwent a split of the openstack
tests from the Zaza project, so we had to track the working branch
until that change landed. As it has landed, it is now time to use
Zaza from master again

Change-Id: Ic4d52185874ae5fc467de401ad91112f6fb84ee9
2019-05-24 08:49:13 +02:00
Chris MacNaughton 2764e514a1 Migrate to split zaza - zaza.openstack
This change adds in zaza.openstack, as well as changing the
branch target of zaza to a branch with zaza.openstack
removed, allowing us to validate the new library

Change-Id: I72e19b9dafa712395c18c756e1304a812597c8a6
2019-05-09 12:29:37 +02:00
Chris MacNaughton 38d4a4bf21 Migrate Zaza tests to independant OpenStack Charms specific library
Change-Id: I4edcecf076d1659aad5c62ad7ef0573f8226f00c
2019-04-26 14:05:34 +02:00