Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Commits
a777d28f
Verified
Commit
a777d28f
authored
1 year ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Added more services
parent
82c78c1a
No related branches found
No related tags found
4 merge requests
!231
CI: Remove build for log-service
,
!228
Better error message handling in the frontend
,
!223
Release of version 1.4.0
,
!190
Resolve "More env variables for Azure deployment"
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+23
-17
23 additions, 17 deletions
.gitlab-ci.yml
with
23 additions
and
17 deletions
.gitlab-ci.yml
+
23
−
17
View file @
a777d28f
...
...
@@ -31,7 +31,7 @@ build-analyse-service:
image
:
python:3.9-slim
stage
:
build-backend
script
:
-
"
mvn
-
f
./dbrepo-analyse-service/
pom.xml
clean
test
verify
"
-
"
pip
install
-
r
./dbrepo-analyse-service/
requirements.txt
"
build-search-sync-agent
:
image
:
maven:3-openjdk-17
...
...
@@ -40,6 +40,25 @@ build-search-sync-agent:
-
"
mvn
-f
./dbrepo-metadata-service/pom.xml
clean
install
-DskipTests"
-
"
mvn
-f
./dbrepo-search-sync-agent/pom.xml
clean
package
-DskipTests"
build-frontend
:
image
:
node:14-alpine
stage
:
build-frontend
script
:
-
"
yarn
--cwd
./dbrepo-ui
install
--legacy-peer-deps"
-
"
yarn
--cwd
./dbrepo-ui
run
build"
build-docker
:
image
:
docker:24-dind
stage
:
build-docker
needs
:
-
build-metadata-service
-
build-analyse-service
script
:
-
cp .env.unix.example .env
-
"
docker
build
-t
dbrepo-metadata-service:build
--target
build
dbrepo-metadata-service"
-
"
docker
build
-t
dbrepo-search-sync-agent:build
--target
build
dbrepo-search-sync-agent"
-
"
docker
compose
build
--parallel"
test-metadata-service
:
stage
:
test-backend
needs
:
...
...
@@ -75,11 +94,13 @@ test-search-sync-agent:
coverage
:
'
/Total.*?([0-9]{1,3})%/'
test-analyse-service
:
image
:
python:3.9-slim
stage
:
test-backend
needs
:
-
build-analyse-service
script
:
-
"
make
test-analyse-service"
-
"
pip
install
-r
./dbrepo-analyse-service/requirements.txt"
-
"
cd
./dbrepo-analyse-service/
&&
coverage
run
-m
pytest
test/test_determine_dt.py
test/test_determine_pk.py
--junitxml=report.xml
&&
coverage
html
&&
coverage
report
>
./coverage.txt"
-
"
cat
./dbrepo-analyse-service/coverage.txt
|
grep
-o
'TOTAL[^%]*%'"
artifacts
:
when
:
always
...
...
@@ -108,21 +129,6 @@ test-frontend:
path
:
./dbrepo-ui/coverage/cobertura-coverage.xml
coverage
:
'
/TOTAL.*?([0-9]{1,3})%/'
build-docker
:
stage
:
build-docker
needs
:
-
build-metadata-service
-
build-analyse-service
script
:
-
bash .scripts/docker-prune.sh
-
cp .env.unix.example .env
-
make build-docker
build-frontend
:
stage
:
build-frontend
script
:
-
make build-frontend
scan-analyse-service
:
stage
:
scan-docker
needs
:
...
...
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