Include proper commit in rally_upper_constraints_url

Currently, rally_upper_constraints_url always points to master branch.
It is not a valid behavior because u-c from master may not work for
stable branches.
This change fixes rally_upper_constraints_url.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/887592

Change-Id: I016e457c0e4b7819d6d65af3bc35e06061f92d1c
This commit is contained in:
Damian Dabrowski 2023-07-03 19:00:01 +02:00 committed by Damian Dąbrowski
parent ef5732cb0e
commit c65b91b490

View File

@ -48,7 +48,7 @@ rally_openstack_git_install_branch: master
# NOTE(mnaser): This uses the Rally upper-constraints because it
# is branchless and maintains it's own constraints,
# outside of requirements.
rally_upper_constraints_url: "{{ rally_openstack_git_repo }}/raw/branch/master/upper-constraints.txt"
rally_upper_constraints_url: "{{ rally_openstack_git_repo }}/raw/{{ rally_openstack_git_install_branch }}/upper-constraints.txt"
rally_git_constraints:
- "--constraint {{ rally_upper_constraints_url }}"
rally_pip_packages: