* Update charm-designate-bind from branch 'master'
to 655f36440f5964fac4b89899cd8677ab67c1a029
- Updates for caracal tox.ini
Update the tox.ini file(s) to use the constraints file from
zaza-openstack-tests.
Change-Id: I5972e75f101fe211e53983ef659346ff2f4780f4
* Update charm-designate-bind from branch 'master'
to 27f231b759fde3fcb3b18fe71d74536f457db20e
- 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: I22dfeba18dc13ee159892f1a55fb1c76112bf53d
* Update charm-designate-bind from branch 'master'
to 0f54198b8c45ba9bda1484b198a785e16acff52b
- 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
* update charmcraft_channel to 2.x/edge
Change-Id: I95ef12935e2ef0b48a45171fc7629e2680cfa1ed
* Update charm-designate-bind from branch 'master'
to 186cd47c267ed39585649c53f774e43c2254cb59
- Add allow-transfer option
The allow-transfer is disabled by default in this change.
This option enable allow-transfer in 'options' config.
Closes-Bug: #2003829
Change-Id: I7b45848d902550b75695f53b75d62b8ce73ad326
* Update charm-designate-bind from branch 'master'
to 76088020aa2e3fd0bcab12f2997e797b9f0d873f
- 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: I08d5503b3d49f35c812c5e503e8775e8b27044ce
* Update charm-designate-bind from branch 'master'
to 490a302815fea29601e42ea4e5e4f38a70034d0c
- Drop 'source' config key from support charms
- mysql-innodb-cluster
- rabbitmq-server
Change-Id: I1a009cd083a22ba86ba2fd4aec660d7729a283f7
Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/970
* Update charm-designate-bind from branch 'master'
to ca2f0a404c44fcbe8758fb491d23ff04a5ff7758
- Fix s390x and pp64el builds
Without this change s390x and pp64el fail to build cryptography.
Change-Id: Id831b255f755b7a0e4acda0a2623aabe31e52ac6
* Update charm-designate-bind from branch 'master'
to 57539ec87d557f4caa67f5b6cf752d6978323d19
- Build separately for each supported series and use binary builds
Charms for OpenStack Yoga supports both Ubuntu Focal and Jammy
which means Python 3.8 and Python 3.10. Managing dependencies
across those two versions is non-trivial and we need to build
the charm on the series the charm is supposed to support.
Switch to using a binary build which allows pip's dependency
resolution to work.
Change-Id: If7ccdcaa900a3276c6e8eb124cdb0f605b20d6c3
* Update charm-designate-bind from branch 'master'
to c2c174f539967e3a72bb1fdecdbe1134856ac04a
- 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: I2c98ab0f82aa6d6d0a43365cee04d6da34a39ce4
* Update charm-designate-bind from branch 'master'
to 315db68d18dd0c7d3a0796efa902143203e30c32
- Remove Jinja2/MarkupSafe from wheelhouse.txt
These were pins to cope with supporting python 3.4. However,
layer-basic (as of [1]) now does the right thing in terms of getting the
correct versions of Jinja2 and MarkupSafe for the version of Ubuntu that
the charm is being built on:
1 - https://github.com/juju-solutions/layer-basic/pull/199
Change-Id: I29533d4794d6fb0e045893c934cb4920cacb408e
* Update charm-designate-bind from branch 'master'
to bb172c5c03bf6dd4f5ba8c6209d4de85fe9bda8a
- 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
- Pin setuptools < 50.0 in src/wheelhouse.txt
Change-Id: I29b80b1e4797eb794c0e2611e732c376d99c270f
* Update charm-designate-bind from branch 'master'
to e7ada778b998246196e844a012159e93b4d7cd74
- 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: I1e798c9267085d50797b8988f50e99ac9184be33
* Update charm-designate-bind from branch 'master'
to 41d36e8b2eec2644070e42ff3bffa7a026816106
- Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Note that https://github.com/openstack/charms.openstack is used during tests
and he need `mock`, unfortunatelly it doesn't declare `mock` in its
requirements so it retrieve mock from other charm project (cross dependency).
So we depend on charms.openstack first and when
Ib1ed5b598a52375e29e247db9ab4786df5b6d142 will be merged then CI
will pass without errors.
Depends-On: Ib1ed5b598a52375e29e247db9ab4786df5b6d142
Change-Id: Ie62d7878f7b952f35ca854cc36ee55b62af5f8c1
* Update charm-designate-bind from branch 'master'
to 7a0fbd1634cd536305f59aa303c48b5785ffccf7
- Merge "Additional test updates"
- Additional test updates
* drop trusty/xenial metadata and function tests
* switch to release-specific zosci functional tests
* switch to yoga zosci unit test job
* add py39
Change-Id: Ie263f9a14edfe9d3ffdaaff996bbe6e34def21c5
* Update charm-designate-bind from branch 'master'
to 5205bceedf8efcda08d8e6b3c09d162a3872bb65
- Fix charm so that on focal it uses named service - 2
Pre-focal the service was called 'bind9'. On focal+ it is called
'named'. A previous commit [1] (also be me) didn't actually catch all of
the uses of bind9 as a service, so this concludes the set.
[1] Ida65c620fa81715d37e468217aea28f160cf31ee
Change-Id: Ifb5adfbb5a69a9b12ef9fb7c214b192642d11344
Closes-Bug: #1929770
* Update charm-designate-bind from branch 'master'
to f232f45f3fcda1a7db901785b5badde8a6b25f8c
- Merge "Fix charm so that on focal it uses named service"
- Fix charm so that on focal it uses named service
Pre-focal the service was called 'bind9'. On focal+ it is called
'named'. This patch introduces a number of changes to make this
possible:
* Modify existing charm class "DesignateBindCharm" to include a check
to see if the distro version is "focal" or higher; if so switch
the service name to 'named'.
Change-Id: Ida65c620fa81715d37e468217aea28f160cf31ee
Closes-Bug: #1929770
* Update charm-designate-bind from branch 'master'
to 27b96254609b0314cb0f770d32195aa21a698202
- Merge "Switch Helper to use c.openstack PatchHelper"
- Switch Helper to use c.openstack PatchHelper
This charms.openstack PatchHelper class is a better version of the
Helper class in test_lib_charm_openstack_designate_bind.py as it allows
patching by fully qualified class string. This simplifies the patching
in the tests.
Change-Id: I9a997550d58bd06c8a8af9752c0d418b4acbbbdd
* Update charm-designate-bind from branch 'master'
to 6fb7bb64c060725c4e1801dbf26455e277fdeb82
- Merge "Moving to OFTC"
- Moving to OFTC
Change-Id: I66ad4fef327abfaa74258d458ace9f509a72a0fb
Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
* Update charm-designate-bind from branch 'master'
to 2f62f331c2bbb9e7120db4986c74d38814367bf9
- Add impish to metadata.yaml
Change-Id: I7d926cc09629b93dc92a50f809699fd0afafbc53
* Update charm-designate-bind from branch 'master'
to 9c6ea514841e8fe44ec67aca2b8c4c3384e6755a
- Test bundles for focal-wallaby and hirsute-wallaby
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby support.
hisute-wallaby test is disabled (moved to dev) due to [1].
[1] https://github.com/juju-solutions/layer-basic/issues/194
Change-Id: I51d16d692b1456f157b54d35eec892c14946ea4d
* Update charm-designate-bind from branch 'master'
to 6a625665b604ffe6e4f6e34e1063bfeea738fd4a
- 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: Ic5d0d994cc3cbf5247bfd355c41793ea0b90f6cd
* Update charm-designate-bind from branch 'master'
to 2d0221fa60f1e6d3bb0a5af8d754ee09f2a9ff8d
- 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: Iec68b0bda37b2139a9c8a2acdd59b3725e11b4cd
* Update charm-designate-bind from branch 'master'
to 641b271791d0db7a9a33026ea0d96e30c3fec6d1
- 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: I61f14b54f8c9208b072d7e998103fa63fcf806ca
* Update charm-designate-bind from branch 'master'
to 9b92ae948cc1cf253b109f01d4fe29b0e6ecb3c0
- Merge "Add new osci.yaml"
- Add new osci.yaml
This change is preparatory to migration Ubuntu OpenStack CI
from Jenkins to Zuul
Change-Id: I16e82e0f295a9c0f6f21e4ff343e2f1afda1d82d
* Update charm-designate-bind from branch 'master'
to dda8a0dff8d5e3bac01126771307d4666d97c7dd
- Updates to pin charm-tools to 2.8.3
* Update requirements.txt to pin charm-tools to 2.8.3
* Update tox.ini to change the build parameters.
* This upgrades from <2.7 which adds reproducible charms
* Bug was fixed that controlled the default output directory
doesn't get 'builds' appended. The tox change puts it
back so that stable & master both build to the same
directory. This may be reviewed in the future.
Change-Id: If01db0736923dea0885c0fe6aa950a617d077750
* Update charm-designate-bind from branch 'master'
to 40f66dca81c4c1630b90264f7d5eed9b7d847353
- Rebuild to use charm-tools pre 2.8 release
Reverting to an earlier version of charm-tools to
resolve some building issues seen with latest 2.8.2
version.
Change-Id: I9b10a9c9d8af2ff0a8074dbef0c43f91ae9cf200
* Update charm-designate-bind from branch 'master'
to fd6d755cee18740264f103e5e36280882375ca1f
- Rebuild with udpated charm-tools 2.8.2
Validate the newest version of charm-tools: 2.8.2
https://github.com/juju/charm-tools/pull/598
Change-Id: I536b9e3ded71cb4a96f89c17671c9c24b9891efe
* Update charm-designate-bind from branch 'master'
to 9585f3b3b14ed92ab31aa1d1e22bfe9ba7323ea9
- Updates for testing period for 20.01 release
Includes updates to charmhelpers/charms.openstack for cert_utils
and unit-get for the install hook error on Juju 2.9
* 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: Ie5b8bcc0a8aa553ade1d7d65ca45c5926c72baab
* Update charm-designate-bind from branch 'master'
to 1f16c4afa0acf6952e397c2f3a4dc23df56611c0
- Merge "Updates for testing period for 20.01 release"
- 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: Ib9a01f611397ba6ba926cc8518e41f930b249fd7
* Update charm-designate-bind from branch 'master'
to c505f739d1869c2d054700eece35dd929c6d0f2f
- Remove Disco and Eoan bits
Change-Id: I6b123ee75d688daaed0d12f4da806b589cb6476a
* Update charm-designate-bind from branch 'master'
to 2a2004096c06b6e4a65be96f5510b70decf58d48
- Add Groovy to the test gate
Change-Id: I8c0a019a056e5decf53ef9652ece2c9ba10994a7
* Update charm-designate-bind from branch 'master'
- Rebuild reactive charms to pick up latest charm-helpers release.
v0.20.18 has been released and needs incorporating into the reactive charms.
Change-Id: I9c8b708d540ae3a7817a4d9f0aabcdf203d56cf1
* Update charm-designate-bind from branch 'master'
- Sync libraries & common files prior to freeze
* 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: I6c087653ed08ce17add35829a8c2f05a7f6837c9
* Update charm-designate-bind from branch 'master'
- Allow access from remote designate units
If allowed_nets is set ensure that the CIDR's for the remote
units on the dns-backend relation are also included in the
allow-query configuration stanza.
This ensures that designate can validate that zone updates
have been correctly transferred to all BIND servers.
Closes-Bug: 1806485
Depends-On: Icdb525c9886937597e35ab8126237a2850604832
Change-Id: I02ebe63ad2775a00eb0f2d0a9ff2499319940833
* Update charm-designate-bind from branch 'master'
- Misc tidy of lint
Remove upper bound on flake8 and tidy misc lint on codebase.
Note that one of the warning messages signalled that a parameter
was not used in a format call. This may or may not be correct
but this commit sticks with the existing behaviour.
Change-Id: Ifa178694a97997f992afa88f4a8f3bead09ced3b