scylladb / python-driver-matrix

3 stars 11 forks source link

Python Driver Matrix

Prerequisites

Installing dependencies

Following commands will install all project dependencies using Pipenv

Repositories dependencies

All repositories should be under the same base folder

  git clone git@github.com:datastax/python-driver.git datastax-python-driver &
  git clone git@github.com:scylladb/python-driver.git scylla-python-driver &
  git clone git@github.com:scylladb/scylla.git scylla &
  git clone git@github.com:scylladb/scylla-ccm.git scylla-ccm &
  git git@github.com:scylladb/python-driver-matrix.git python-driver-matrix &
  wait

Running locally

Uploading docker images

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

    export MATRIX_DOCKER_IMAGE=scylladb/scylla-python-driver-matrix:python3.9-$(date +'%Y%m%d')
    docker build ./scripts -t ${MATRIX_DOCKER_IMAGE}
    docker push ${MATRIX_DOCKER_IMAGE}
    echo "${MATRIX_DOCKER_IMAGE}" > scripts/image

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