From e2337acd0aed374f8d56f0477abba19dc6f95ba6 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 9 Apr 2014 08:12:50 -0700 Subject: Update cross-test directions Update the directions for configuring a cross-test job for users of oslo.test. Change-Id: Ic0e6261aee63456c2e86aed1927f3ad46c125775 --- README.rst | 56 ++++++-------------------------------------------------- 1 file changed, 6 insertions(+), 50 deletions(-) diff --git a/README.rst b/README.rst index 43b08cf..a516a3c 100644 --- a/README.rst +++ b/README.rst @@ -10,60 +10,16 @@ OpenStack test framework and test fixtures Cross-testing With Other Projects ================================= -The oslotest package is cross-tested against its consuming projects to -ensure that no changes to the library break the tests in those other -projects. +The oslotest package can be cross-tested against its consuming +projects to ensure that no changes to the library break the tests in +those other projects. In the Gate ----------- -To add your project to the list for cross-testing, update -``modules/openstack_project/files/jenkins_job_builder/config/projects.yaml`` -in the openstack-infra/config git repository and add sections like: - -:: - - - '{pipeline}-oslo.test-dsvm-{name}{branch-designator}': - pipeline: check - node: 'devstack-precise || devstack-precise-check' - branch-designator: '' - branch-override: default - - '{pipeline}-oslo.test-dsvm-{name}{branch-designator}': - pipeline: gate - node: devstack-precise - branch-designator: '' - branch-override: default - -to the ``jobs`` list for your project. Refer to -https://review.openstack.org/#/c/76381 for an example. - -Then update ``modules/openstack_project/files/zuul/layout.yaml`` by -adding the new check test to the global list of jobs (to make it -non-voting to start), and then to your project and to oslo.test. - -:: - - - name: check-oslo.test-dsvm-oslo.messaging - voting: false - -:: - - - name: openstack/oslo.messaging - ... - check: - ... - - check-oslo.test-dsvm-oslo.messaging - ... - -:: - - - name: openstack/oslo.test - ... - check: - ... - - check-oslo.test-dsvm-oslo.messaging - ... - +Refer to the instructions in +https://wiki.openstack.org/wiki/Oslo/UsingALibrary for setting up +cross-test jobs in the gate. Locally ------- -- cgit v1.2.1