Skip to content

Commit

Permalink
Merge pull request #3509 from d34dh0r53/ri_675-pin-osa-test-master
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 authored Feb 28, 2019
2 parents 6cd89ce + 85980a7 commit 1997378
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions gating/gating_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ 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:-d90acf00b639496cd0669153534fe5588875f3ee}
export OSA_UPPER_CONSTRAINTS=${OSA_UPPER_CONSTRAINTS:-377fde64ac16dc94da2e29e16a4102adcc081a6e}
10 changes: 8 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,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:master}
OSA_TEST_RELEASE=master
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 @@ -90,6 +91,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 1997378

Please sign in to comment.