Skip to content

Commit

Permalink
Merge pull request #3516 from d34dh0r53/ri_675-pin-osa-test-pike
Browse files Browse the repository at this point in the history
[RI-675] Pin OSA_TEST_RELEASE and OSA_UPPER_CONSTRAINTS
  • Loading branch information
Jesse Pretorius committed Mar 2, 2019
2 parents 45279b4 + fd72a14 commit b9161d8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions gating/gating_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ export RE_HOOK_ARTIFACT_DIR="${RE_HOOK_ARTIFACT_DIR:-/tmp/artifacts}"
export RE_HOOK_RESULT_DIR="${RE_HOOK_RESULT_DIR:-/tmp/results}"
export RE_JOB_NAME="${RE_JOB_NAME:-${RE_JOB_TRIGGER}_rpc-openstack-master-${RE_JOB_IMAGE}_no_artifacts-${RE_JOB_SCENARIO}-${RE_JOB_ACTION}}"
export RE_JOB_PROJECT_NAME="${RE_JOB_PROJECT_NAME:-}"

# OSA Tests SHA
# # These variables pin the SHA for the OSA Testing repository
export OSA_TEST_RELEASE=${OSA_TEST_RELEASE:-stable/pike}
export OSA_UPPER_CONSTRAINTS=${OSA_UPPER_CONSTRAINTS:-stable/pike}

10 changes: 8 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ setenv =
# NOTE(cloudnull): This should be set to "master" as soon the gate is capable of
# setting this option.
OSA_RELEASE_BRANCH={env:OSA_RELEASE_BRANCH:stable/pike}
OSA_TEST_RELEASE=stable/pike
UPPER_CONSTRAINTS_FILE=https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h={env:OSA_TEST_RELEASE:master}
OSA_TEST_RELEASE={env:OSA_TEST_RELEASE:master}
OSA_UPPER_CONSTRAINTS={env:OSA_UPPER_CONSTRAINTS:master}
UPPER_CONSTRAINTS_FILE=https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h={env:OSA_UPPER_CONSTRAINTS:master}
OSA_TEST_DEPS=https://git.openstack.org/cgit/openstack/openstack-ansible-tests/plain/test-ansible-deps.txt?h={env:OSA_TEST_RELEASE:master}
OSA_ROLE_REQUIREMENTS=https://git.openstack.org/cgit/openstack/openstack-ansible/plain/ansible-role-requirements.yml?h={env:OSA_RELEASE_BRANCH:master}
basepython = python2.7
Expand Down Expand Up @@ -76,6 +77,11 @@ commands =
pushd {toxinidir}/tests/common; \
git checkout {env:OSA_TEST_RELEASE:master}; \
popd; \
else \
pushd {toxinidir}/tests/common; \
git fetch origin; \
git checkout {env:OSA_TEST_RELEASE:master}; \
popd; \
fi"


Expand Down

0 comments on commit b9161d8

Please sign in to comment.