diff options
| author | Iury Gregory Melo Ferreira <imelofer@redhat.com> | 2019-01-24 16:00:21 +0100 |
|---|---|---|
| committer | Iury Gregory Melo Ferreira <imelofer@redhat.com> | 2019-03-11 11:00:08 +0100 |
| commit | 2c349cc8930897052e66d29a70e1e7f1c4d40d79 (patch) | |
| tree | f03ffca77c084ae0ea34cda144b708bfa57f5a2f /tools | |
| parent | fdba8ed994bcbf1b3fc82803ccec49faf505b081 (diff) | |
| download | python-ironicclient-2c349cc8930897052e66d29a70e1e7f1c4d40d79.tar.gz | |
Move to zuulv3
To move ironicclient legacy jobs to zuulv3 the the following changes
were necessary:
- Change `tox.ini` to pass envrioment variables
- Clean `post_test_hook.sh` to avoid legacy variables (`$USER` and
`$BASE`), removing `generate_testr_results` function since we only
get `testrepository.subunit` in logs and the results of the tests
are present in job-output file.
- Convert `post_test_hook.sh` and `run_functional.sh` into
`playbooks/functional/run.yaml` to run after the setup.
Change-Id: I6a5b3f82c238083b66bdf6f379092260d367d82d
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/run_functional.sh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tools/run_functional.sh b/tools/run_functional.sh deleted file mode 100755 index cf89a82..0000000 --- a/tools/run_functional.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -FUNC_TEST_DIR=$(dirname $0)/../ironicclient/tests/functional/ -CONFIG_FILE=$FUNC_TEST_DIR/test.conf - -if [[ -n "$IRONIC_URL" ]]; then -cat <<END >$CONFIG_FILE -[functional] -api_version = 1 -auth_strategy=noauth -ironic_url=$IRONIC_URL -END -else -cat <<END >$CONFIG_FILE -[functional] -api_version = 1 -os_auth_url=$OS_AUTH_URL -os_identity_api_version=$OS_IDENTITY_API_VERSION -os_username=$OS_USERNAME -os_password=$OS_PASSWORD -os_project_name=$OS_PROJECT_NAME -os_user_domain_id=$OS_USER_DOMAIN_ID -os_project_domain_id=$OS_PROJECT_DOMAIN_ID -os_service_type=baremetal -os_endpoint_type=public -END -fi -tox -e functional |
