Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add constraints file(s) for testing environments. #1184

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions constraints/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Constraints

This directory holds the pip constraints used by the different testing
environments used by Charmed OpenStack.

It's worth emphasize that these constraints are used for testing environments,
that means used in tox.ini files, but never to build charms.

## Naming scheme

The constraints files follow the following nomenclature:

constraints-$RELEASE.txt

`$RELEASE` represents the OpenStack release, with the special exception of
`master` that's used to apply constraints to the `master` and `main` branches.

For example for the case of OpenStack 2023.1 (Antelope), the constraints file
would be named `constraints-2023.1.txt`.
9 changes: 9 additions & 0 deletions constraints/constraints-2024.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# NOTE: this constraints file can be (and will be) consumed by downstream.
#
# Known consumers:
# * zosci-config: job definitions that declare what juju version (snap channel)
# is used in tandem with this constraints file to lockdown python-libjuju
# version.
# * zaza-openstack-tests
#
juju>=3.1.0,<3.2.0
9 changes: 9 additions & 0 deletions constraints/constraints-master.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# NOTE: this constraints file can be (and will be) consumed by downstream.
#
# Known consumers:
# * zosci-config: job definitions that declare what juju version (snap channel)
# is used in tandem with this constraints file to lockdown python-libjuju
# version.
# * zaza-openstack-tests
#
juju>=3.1.0,<3.2.0
Loading