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
580088c1
Commit
580088c1
authored
2 years ago
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
CI/CD pipeline
- corrected dependencies in service component
parent
32447f07
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!54
Release 2.0.0
,
!34
Context Scalability extensions using CockroachDB + Removal of Stateful database inside Device + other
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/service/.gitlab-ci.yml
+2
-60
2 additions, 60 deletions
src/service/.gitlab-ci.yml
with
2 additions
and
60 deletions
src/service/.gitlab-ci.yml
+
2
−
60
View file @
580088c1
...
...
@@ -30,40 +30,13 @@ build service:
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"
&&
($CI_MERGE_REQUEST_TARGET_BRANCH_NAME
==
"develop"
||
$CI_MERGE_REQUEST_TARGET_BRANCH_NAME
==
$CI_DEFAULT_BRANCH)'
-
if
:
'
$CI_PIPELINE_SOURCE
==
"push"
&&
$CI_COMMIT_BRANCH
==
"develop"'
-
changes
:
# Common-triggers
-
src/common/**/*.py
-
proto/*.proto
-
.gitlab-ci.yml
# Context-triggers
-
src/context/**/*.{py,in,yml}
-
src/context/Dockerfile
-
src/context/tests/*.py
-
src/context/tests/Dockerfile
-
manifests/contextservice.yaml
# Device-triggers
-
src/device/**/*.{py,in,yml}
-
src/device/Dockerfile
-
src/device/tests/*.py
-
src/device/tests/Dockerfile
-
manifests/deviceservice.yaml
# PathComp-triggers
-
src/pathcomp/.gitlab-ci.yml
-
src/pathcomp/frontend/**/*.{py,in,yml}
-
src/pathcomp/frontend/Dockerfile
-
src/pathcomp/frontend/tests/*.py
-
src/pathcomp/backend/**/*.{c,h,conf}
-
src/pathcomp/backend/Makefile
-
src/pathcomp/backend/Dockerfile
-
manifests/pathcompservice.yaml
# Service-triggers
-
src/$IMAGE_NAME/**/*.{py,in,yml}
-
src/$IMAGE_NAME/Dockerfile
-
src/$IMAGE_NAME/tests/*.py
-
manifests/${IMAGE_NAME}service.yaml
-
.gitlab-ci.yml
# Apply unit test to the component
unit_test service
:
...
...
@@ -73,10 +46,6 @@ unit_test service:
stage
:
unit_test_stage3
needs
:
-
build service
-
unit_test context
-
unit_test device
-
unit_test pathcomp-backend
-
unit_test pathcomp-frontend
before_script
:
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
-
if docker network list | grep teraflowbridge; then echo "teraflowbridge is already created"; else docker network create --driver=bridge teraflowbridge; fi
...
...
@@ -214,40 +183,13 @@ unit_test service:
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"
&&
($CI_MERGE_REQUEST_TARGET_BRANCH_NAME
==
"develop"
||
$CI_MERGE_REQUEST_TARGET_BRANCH_NAME
==
$CI_DEFAULT_BRANCH)'
-
if
:
'
$CI_PIPELINE_SOURCE
==
"push"
&&
$CI_COMMIT_BRANCH
==
"develop"'
-
changes
:
# Common-triggers
-
src/common/**/*.py
-
proto/*.proto
-
.gitlab-ci.yml
# Context-triggers
-
src/context/**/*.{py,in,yml}
-
src/context/Dockerfile
-
src/context/tests/*.py
-
src/context/tests/Dockerfile
-
manifests/contextservice.yaml
# Device-triggers
-
src/device/**/*.{py,in,yml}
-
src/device/Dockerfile
-
src/device/tests/*.py
-
src/device/tests/Dockerfile
-
manifests/deviceservice.yaml
# PathComp-triggers
-
src/pathcomp/.gitlab-ci.yml
-
src/pathcomp/frontend/**/*.{py,in,yml}
-
src/pathcomp/frontend/Dockerfile
-
src/pathcomp/frontend/tests/*.py
-
src/pathcomp/backend/**/*.{c,h,conf}
-
src/pathcomp/backend/Makefile
-
src/pathcomp/backend/Dockerfile
-
manifests/pathcompservice.yaml
# Service-triggers
-
src/$IMAGE_NAME/**/*.{py,in,yml}
-
src/$IMAGE_NAME/Dockerfile
-
src/$IMAGE_NAME/tests/*.py
-
manifests/${IMAGE_NAME}service.yaml
-
.gitlab-ci.yml
artifacts
:
when
:
always
...
...
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