Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
a6c1c53d
Commit
a6c1c53d
authored
2 years ago
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
Context component:
- corrected requirements - updated CI/CD pipeline
parent
d1c13918
No related branches found
No related tags found
2 merge requests
!54
Release 2.0.0
,
!34
Context Scalability extensions using CockroachDB + Removal of Stateful database inside Device + other
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
common_requirements.in
+2
-0
2 additions, 0 deletions
common_requirements.in
src/context/.gitlab-ci.yml
+1
-2
1 addition, 2 deletions
src/context/.gitlab-ci.yml
src/context/requirements.in
+0
-6
0 additions, 6 deletions
src/context/requirements.in
with
3 additions
and
8 deletions
common_requirements.in
+
2
−
0
View file @
a6c1c53d
...
...
@@ -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
This diff is collapsed.
Click to expand it.
src/context/.gitlab-ci.yml
+
1
−
2
View file @
a6c1c53d
...
...
@@ -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}}")
...
...
This diff is collapsed.
Click to expand it.
src/context/requirements.in
+
0
−
6
View file @
a6c1c53d
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment