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
a8deb58a
Commit
a8deb58a
authored
1 year ago
by
Carlos Natalino Da Silva
Browse files
Options
Downloads
Patches
Plain Diff
Fixing part of the commands to execute REDIS.
parent
0b82fc35
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!142
Release TeraFlowSDN 2.1
,
!138
Fixing the tests of the optical cybersecurity components
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/opticalattackdetector/.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
src/opticalattackdetector/.gitlab-ci.yml
with
2 additions
and
2 deletions
src/opticalattackdetector/.gitlab-ci.yml
+
2
−
2
View file @
a8deb58a
...
...
@@ -52,9 +52,9 @@ unit_test opticalattackdetector:
-
if docker container ls | grep redis; then docker rm -f redis; else echo "redis image is not in the system"; fi
-
if docker container ls | grep dbscanserving; then docker rm -f dbscanserving; else echo "dbscanserving image is not in the system"; fi
script
:
-
export REDIS_PASSWORD=
`
uuidgen
`
-
export REDIS_PASSWORD=
$(
uuidgen
)
-
docker pull "redis:7.0-alpine"
-
docker run --name redis -d --network=teraflowbridge -p 6379:6379 -e REDIS_PASSWORD=$
{
REDIS_PASSWORD
}
--rm redis:7.0-alpine "redis-server --requirepass $(REDIS_PASSWORD)"
-
docker run --name redis -d --network=teraflowbridge -p 6379:6379 -e REDIS_PASSWORD=$
(
REDIS_PASSWORD
)
--rm redis:7.0-alpine "redis-server --requirepass $(REDIS_PASSWORD)"
-
REDIS_ADDRESS=$(docker inspect redis --format "{{.NetworkSettings.Networks.teraflowbridge.IPAddress}}")
-
docker pull "$CI_REGISTRY_IMAGE/dbscanserving:$IMAGE_TAG"
-
docker run --name dbscanserving -d -p 10008:10008 --network=teraflowbridge --rm $CI_REGISTRY_IMAGE/dbscanserving:$IMAGE_TAG
...
...
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