GithubHelp home page GithubHelp logo

python-driver-matrix's Introduction

Python Driver Matrix

Running locally

This repository contains wrappers for the python driver tests located in datastax's python driver's repository:

https://github.com/datastax/python-driver

The tests go basically as:

  1. Clone the python driver repository above
  2. Clone Scylla and build it
  3. Clone Scylla-CCM
  4. Configure and set Scylla-CCM to start a 1 node cluster
  5. Go to python-driver-matrix root directory

Keep in mind that all those repos should be under a same base directory

  1. Execute the main.py wrapper like:

    python3 main.py ../python-driver ../scylla --tests tests.integration.standard
    

Running locally

other option running with docker image:

export INSTALL_DIRECTORY=/home/fruch/Projects/scylla-next

# running with anything other then release, this should be added
# export CASSANDRA_DIR=/home/fruch/Projects/scylla-next/build/debug
./scripts/run_test.sh python main.py ../python-driver $INSTALL_DIRECTORY --tests tests.integration.standard --versions 3.9.0 --protocol 3

running with relocatable packages:

export SCYLLA_VERSION=unstable/master:265
./scripts/run_test.sh python main.py ../python-driver --tests tests.integration.standard --versions 3.9.0 --protocol 3 --scylla-version $SCYLLA_VERSION

Uploading docker images

when doing changes to requirements.txt, or any other change to docker image, it can be uploaded like this:

export DTEST_DOCKER_IMAGE=scylladb/scylla-dtest:python2.7-$(date +'%Y%m%d')
docker build ./scripts -t ${DTEST_DOCKER_IMAGE}
docker push ${DTEST_DOCKER_IMAGE}
echo "${DTEST_DOCKER_IMAGE}" > scripts/image

Note: you'll need permissions on the scylladb dockerhub organization for uploading images

python-driver-matrix's People

Contributors

dkropachev avatar lmr avatar larisau avatar fruch avatar roydahan avatar dependabot[bot] avatar amoskong avatar slivne avatar juliayakovlev avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.