aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci/prepare_env.py
AgeCommit message (Expand)AuthorFilesLines
2017-09-13Disable urllib3 warningsLinda Wang1-4/+5
2017-08-24Patch Read aarch64 architectureDelia Popescu1-1/+1
2017-08-23Read aarch64 architectureDelia Popescu1-1/+1
2017-07-12Switch to check_deployment instead of check_os.shjose.lausuch1-33/+5
2017-07-02Apply restrictive file permissionsCédric Ollivier1-4/+0
2017-06-30Define download_images.sh and check_os.sh as scriptsCédric Ollivier1-3/+2
2017-06-30Define console_scriptsCédric Ollivier1-3/+7
2017-06-22Remove calls to deployment handler in prepare envjose.lausuch1-2/+0
2017-06-21Fix command in prepare env to execute check_os.shjose.lausuch1-2/+2
2017-06-20Remove all references to /home/opnfv/repos/functestCédric Ollivier1-15/+16
2017-06-06Merge "Remove call to fetch_os_creds.sh"Jose Lausuch1-34/+10
2017-06-06Remove call to fetch_os_creds.shjose.lausuch1-34/+10
2017-06-01Use CONST to retrieve db_url rather than getter functionLinda Wang1-3/+14
2017-05-18Add a new directory to hold pre-downloaded imageshelenyao1-2/+9
2017-05-05Replace CONST.* by getattribute/setattrjose.lausuch1-66/+80
2017-05-04Delete functest.utils.functest_loggerCédric Ollivier1-2/+5
2017-03-20Enable functest offline by installing tempest system wideLinda Wang1-1/+1
2017-03-01Bugfix: fix the CI failure for compass and joidhelenyao1-25/+33
2017-02-27Add aarch64 custom configCristina Pauna1-36/+63
2017-02-25Merge "Bugfix:Added the adapter info for compass and joid"Jose Lausuch1-18/+23
2017-02-24Merge "Use new-style classes which inherit from object"Morgan Richomme1-1/+1
2017-02-23Bugfix:Added the adapter info for compass and joidhelenyao1-18/+23
2017-02-23Merge "Prepare env will exit when an error is raised"Jose Lausuch1-24/+27
2017-02-23Use new-style classes which inherit from objectLinda Wang1-1/+1
2017-02-22Prepare env will exit when an error is raisedhelenyao1-24/+27
2017-02-21Add deployment_handler printout to prepare envjose.lausuch1-1/+30
2017-02-16Revert "Add deployment_handler printout to prepare env"Jose Lausuch1-24/+0
2017-02-14Add deployment_handler printout to prepare envjose.lausuch1-0/+24
2017-02-09Refactoring of args and parser variableashishk19941-38/+33
2017-02-09Fix source_credentials in openstack_utilsCédric Ollivier1-4/+2
2017-02-02Add flavor creation in functest env preparejose.lausuch1-0/+9
2017-01-25Refactor Rally to adopt OOhelenyao1-5/+0
2017-01-18Merge "Rally keystone test scenarios for v3"Morgan Richomme1-15/+20
2017-01-16Rally keystone test scenarios for v3helenyao1-15/+20
2017-01-09Refactoring of args and parser variable in ci/run_tests, prepare_envashishk19941-11/+20
2016-12-21Refactor test run related modules using new constants providerSerenaFeng1-62/+61
2016-12-20Bugfix in passing parameters to logger_debug.ashishk19941-1/+5
2016-12-05Fix Pep8 issues related to \Morgan Richomme1-2/+1
2016-11-24Extracted all global parameters into functest_constants.pyhelenyao1-80/+78
2016-11-10change path for python ci filesMorgan Richomme1-0/+299
#39; # checkout the parent of the bellow patch. # Once the issue addressed by the patch is fixed # these two lines can be removed. git checkout 9bd1ee8e patch -p1 < ${PATCHES_DIR}/fix_zrpcd_make_dist.patch patch -p1 < ${PATCHES_DIR}/zrpcd_hardcoded_paths.patch autoreconf -i # ZRPC RPM ./configure --enable-zrpcd \ --enable-user=quagga --enable-group=quagga \ --enable-vty-group=quagga make dist cat > $rpmbuild/SOURCES/zrpcd.service <<EOF [Unit] Description=ZRPC daemon for quagga After=network.service [Service] ExecStart=/usr/sbin/zrpcd Type=simple ExecStartPre=-/usr/bin/mkdir /var/run/quagga/ ExecStartPre=/usr/bin/chown -R quagga:quagga /var/run/quagga/ PIDFile=/var/run/zrpcd.pid [Install] WantedBy=default.target EOF cp zrpcd-*.tar.gz $rpmbuild/SOURCES/ cp ${BUILD_ROOT}/rpm_specs/zrpc.spec $rpmbuild/SPECS/ rpmbuild --define "_topdir $rpmbuild" -ba $rpmbuild/SPECS/zrpc.spec } # Main parse_cmdline "$@" # Check env vars if [ -z "$QUAGGA_BUILD_DIR" ]; then echo "ERROR: You must set QUAGGA_BUILD_DIR env variable as the location to build!" exit 1 elif [ -z "$QUAGGA_RPMS_DIR" ]; then echo "WARN: QUAGGA_RPMS_DIR env var is not set, will default to QUAGGA_BUILD_DIR/rpmbuild" rpmbuild=${QUAGGA_BUILD_DIR}/rpmbuild else rpmbuild=${QUAGGA_RPMS_DIR} fi if [ -z "$BUILD_ROOT" ]; then echo "WARN: BUILD_ROOT env var not set, will default to $(pwd)" BUILD_ROOT=$(pwd) fi if [ -z "$PATCHES_DIR" ]; then echo "WARN: PATCHES_DIR env var not set, will default to ${BUILD_ROOT}/patches" PATCHES_DIR=${BUILD_ROOT}/patches fi if [ -n "$CLEAN" ]; then quagga_clean fi install_quagga_build_deps mkdir -p ${QUAGGA_BUILD_DIR} mkdir -p $rpmbuild $rpmbuild/SOURCES $rpmbuild/SPECS $rpmbuild/RPMS pushd $QUAGGA_BUILD_DIR > /dev/null case "$ARTIFACT" in thrift) build_thrift ;; capnproto) build_capnproto ;; quagga) build_quagga ;; zrpc) build_zrpc ;; *) build_thrift build_capnproto build_quagga build_zprc ;; esac popd > /dev/null