Group Based Policy Automation - Antelope Support

Change-Id: Icc3dbc98be05305ac2d6f5bbb927363973c58c31
This commit is contained in:
sonianuj287 2024-03-10 13:11:31 +05:30 committed by AnujSoni
parent fe3f501895
commit 4f95f7deb2
3 changed files with 24 additions and 13 deletions

View File

@ -1,7 +1,7 @@
- project:
name: x/group-based-policy-automation
templates:
- openstack-python3-zed-jobs
- openstack-python3-antelope-jobs
- publish-to-pypi
# REVISIT: In the jobs below, the required-projects clause is needed on
# the master branch to select the correct version of the requirements
@ -14,26 +14,34 @@
- openstack-tox-pep8:
required-projects:
- name: openstack/requirements
override-checkout: stable/zed
override-checkout: stable/2023.1
- openstack-tox-py38:
required-projects:
- name: openstack/requirements
override-checkout: stable/zed
override-checkout: stable/2023.1
- openstack-tox-py39:
required-projects:
- name: openstack/requirements
override-checkout: stable/zed
override-checkout: stable/2023.1
- openstack-tox-py310:
required-projects:
- name: openstack/requirements
override-checkout: stable/2023.1
gate:
jobs:
- openstack-tox-pep8:
required-projects:
- name: openstack/requirements
override-checkout: stable/zed
override-checkout: stable/2023.1
- openstack-tox-py38:
required-projects:
- name: openstack/requirements
override-checkout: stable/zed
override-checkout: stable/2023.1
- openstack-tox-py39:
required-projects:
- name: openstack/requirements
override-checkout: stable/zed
override-checkout: stable/2023.1
- openstack-tox-py310:
required-projects:
- name: openstack/requirements
override-checkout: stable/2023.1

View File

@ -2,8 +2,9 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-e git+https://opendev.org/openstack/heat.git@stable/zed#egg=openstack-heat
-e git+https://opendev.org/x/python-group-based-policy-client.git@stable/zed#egg=python-group-based-policy-client
-e git+https://opendev.org/openstack/heat.git@stable/2023.1#egg=openstack-heat
-e git+https://opendev.org/x/python-group-based-policy-client.git@stable/2023.1#egg=python-group-based-policy-client
# Hacking already pins down pep8, pyflakes and flake8
hacking>=3.0.1,<3.1.0; # Apache-2.0
# remove this pyflakes from here once you bump the

10
tox.ini
View File

@ -1,12 +1,14 @@
[tox]
envlist = py36,py37,pep8
envlist = testenv
minversion = 3.1.0
skipsdist = True
skipsdist = False
[testenv]
# Note the hash seed is set to 0 until heat can be tested with a
# random hash seed successfully.
basepython = python3
basepython =
testenv: python3
setenv = VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
OS_TEST_PATH=gbpautomation/heat/tests
@ -14,7 +16,7 @@ setenv = VIRTUAL_ENV={envdir}
usedevelop = True
install_command = pip install {opts} {packages}
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/zed}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2023.1}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =