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
cdb5345b
Commit
cdb5345b
authored
1 year ago
by
Carlos Natalino Da Silva
Browse files
Options
Downloads
Patches
Plain Diff
Fixing indentation of the YAML file.
parent
79a93797
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/opticalattackmanager/.gitlab-ci.yml
+4
-4
4 additions, 4 deletions
src/opticalattackmanager/.gitlab-ci.yml
with
4 additions
and
4 deletions
src/opticalattackmanager/.gitlab-ci.yml
+
4
−
4
View file @
cdb5345b
...
@@ -56,7 +56,7 @@ unit_test opticalattackmanager:
...
@@ -56,7 +56,7 @@ unit_test opticalattackmanager:
-
docker ps -a
-
docker ps -a
-
docker logs $IMAGE_NAME
-
docker logs $IMAGE_NAME
-
docker exec -i $IMAGE_NAME bash -c "coverage run -m pytest --log-level=DEBUG --verbose $IMAGE_NAME/tests/test_unitary.py --junitxml=/home/${IMAGE_NAME}/results/${IMAGE_NAME}_report.xml; coverage report --include='${IMAGE_NAME}/*' --show-missing"
-
docker exec -i $IMAGE_NAME bash -c "coverage run -m pytest --log-level=DEBUG --verbose $IMAGE_NAME/tests/test_unitary.py --junitxml=/home/${IMAGE_NAME}/results/${IMAGE_NAME}_report.xml; coverage report --include='${IMAGE_NAME}/*' --show-missing"
-
ls -la
/home
/$
{
IMAGE_NAME
}/resul
ts
/
-
ls -la
src
/$IMAGE_NAME
/tes
ts
coverage
:
'
/TOTAL\s+\d+\s+\d+\s+(\d+%)/'
coverage
:
'
/TOTAL\s+\d+\s+\d+\s+(\d+%)/'
after_script
:
after_script
:
-
docker rm -f $IMAGE_NAME
-
docker rm -f $IMAGE_NAME
...
@@ -74,9 +74,9 @@ unit_test opticalattackmanager:
...
@@ -74,9 +74,9 @@ unit_test opticalattackmanager:
-
manifests/${IMAGE_NAME}service.yaml
-
manifests/${IMAGE_NAME}service.yaml
-
.gitlab-ci.yml
-
.gitlab-ci.yml
artifacts
:
artifacts
:
when
:
always
when
:
always
reports
:
reports
:
junit
:
src/$IMAGE_NAME/tests/${IMAGE_NAME}_report.xml
junit
:
src/$IMAGE_NAME/tests/${IMAGE_NAME}_report.xml
# Deployment of the service in Kubernetes Cluster
# Deployment of the service in Kubernetes Cluster
# deploy opticalattackmanager:
# deploy opticalattackmanager:
...
...
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