A running Rancher Environment.
To run from scratch:
If you have a running Rancher environment set CATTLE_TEST_URL
environment variable.
If that variable is not set, the tests will attempt to provision one.
To run:
git clone git@github.com:rancher/validation-tests.git
cd validation-tests
./scripts/test
For bugs, questions, comments, corrections, suggestions, etc., open an issue in
rancher/rancher with a title starting with [Validation-Tests]
.
Or just click here to create a new issue.
PLEASE READ BELOW FOR RUNNING V2 TESTS:
Environment global variables required for v2 version of tests (upgrade support) to work:
TEST_ROOT_DIR= Example: /Users/aruneli/rancher/validation-tests/v2 RANCHER_SERVER_VERSION= Example: 0.37.0 CATTLE_TEST_URL= Example: http://104.197.121.156:8080 RANCHER_SERVER=
ssh-copy-id should be available in client running tests
Copyright (c) 2014-2015 Rancher Labs, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.