Skip to content
Snippets Groups Projects
Commit a6c1c53d authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Context component:

- corrected requirements
- updated CI/CD pipeline
parent d1c13918
No related branches found
No related tags found
2 merge requests!54Release 2.0.0,!34Context Scalability extensions using CockroachDB + Removal of Stateful database inside Device + other
......@@ -2,8 +2,10 @@ coverage==6.3
grpcio==1.47.*
grpcio-health-checking==1.47.*
grpcio-tools==1.47.*
prettytable==3.5.0
prometheus-client==0.13.0
protobuf==3.20.*
pytest==6.2.5
pytest-benchmark==3.4.1
python-dateutil==2.8.2
pytest-depends==1.0.1
......@@ -51,7 +51,7 @@ unit test context:
- if docker network list | grep teraflowbridge; then echo "teraflowbridge is already created"; else docker network create -d bridge teraflowbridge; fi
- if docker container ls | grep crdb; then docker rm -f crdb; else echo "CockroachDB container is not in the system"; fi
- if docker volume ls | grep crdb; then docker volume rm -f crdb; else echo "CockroachDB volume is not in the system"; fi
- if docker container ls | grep $IMAGE_NAME; then docker rm -f $IMAGE_NAME; else echo "$IMAGE_NAME image is not in the system"; fi
- if docker container ls | grep $IMAGE_NAME; then docker rm -f $IMAGE_NAME; else echo "$IMAGE_NAME container is not in the system"; fi
script:
- docker pull "$CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_TAG"
- docker pull "cockroachdb/cockroach:latest-v22.2"
......@@ -62,7 +62,6 @@ unit test context:
--env COCKROACH_USER=tfs
--env COCKROACH_PASSWORD=tfs123
--volume "crdb:/cockroach/cockroach-data"
--volume "~/init-scripts:/docker-entrypoint-initdb.d"
cockroachdb/cockroach:latest-v22.2 start-single-node
- sleep 10
- CRDB_ADDRESS=$(docker inspect crdb --format "{{.NetworkSettings.Networks.teraflowbridge.IPAddress}}")
......
Flask==2.1.3
Flask-RESTful==0.3.9
psycopg2-binary==2.9.3
pytest-depends==1.0.1
redis==4.1.2
requests==2.27.1
SQLAlchemy==1.4.40
sqlalchemy-cockroachdb==1.4.3
SQLAlchemy-Utils==0.38.3
prettytable==3.5.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment