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
e54ac904
Unverified
Commit
e54ac904
authored
2 years ago
by
Martin Weise
Browse files
Options
Downloads
Patches
Plain Diff
Moved authentication service out of CI/CD
parent
360be7e4
No related branches found
No related tags found
2 merge requests
!163
Relase 1.3.0
,
!155
Added readme to authentication service and added eureka service
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-26
1 addition, 26 deletions
.gitlab-ci.yml
Makefile
+2
-9
2 additions, 9 deletions
Makefile
with
3 additions
and
35 deletions
.gitlab-ci.yml
+
1
−
26
View file @
e54ac904
...
@@ -31,13 +31,6 @@ build-metadata-db:
...
@@ -31,13 +31,6 @@ build-metadata-db:
script
:
script
:
-
"
make
build-metadata-db"
-
"
make
build-metadata-db"
build-authentication-service
:
stage
:
build-backend
needs
:
-
build-metadata-db
script
:
-
"
make
build-authentication-service"
build-identifier-service
:
build-identifier-service
:
stage
:
build-backend
stage
:
build-backend
needs
:
needs
:
...
@@ -104,27 +97,10 @@ build-analyse-service:
...
@@ -104,27 +97,10 @@ build-analyse-service:
script
:
script
:
-
"
make
build-analyse-service"
-
"
make
build-analyse-service"
test-backend-authentication
:
stage
:
test-backend
needs
:
-
build-authentication-service
script
:
-
"
make
test-authentication-service"
-
"
cat
./fda-authentication-service/report/target/site/jacoco-aggregate/index.html
|
grep
-o
'Total[^%]*%'
|
sed
's/<.*>/
/;
s/Total/Jacoco
Coverage
Total:/'"
artifacts
:
when
:
always
paths
:
-
./fda-authentication-service/report/target/site/jacoco-aggregate/
-
./fda-authentication-service/rest-service/target/surefire-reports/
expire_in
:
1 days
reports
:
junit
:
./fda-authentication-service/rest-service/target/surefire-reports/TEST-*.xml
coverage
:
'
/Total.*?([0-9]{1,3})%/'
test-identifier-service
:
test-identifier-service
:
stage
:
test-backend
stage
:
test-backend
needs
:
needs
:
-
build-
authentication
-service
-
build-
identifier
-service
script
:
script
:
-
"
make
test-identifier-service"
-
"
make
test-identifier-service"
-
"
cat
./fda-identifier-service/report/target/site/jacoco-aggregate/index.html
|
grep
-o
'Total[^%]*%'
|
sed
's/<.*>/
/;
s/Total/Jacoco
Coverage
Total:/'"
-
"
cat
./fda-identifier-service/report/target/site/jacoco-aggregate/index.html
|
grep
-o
'Total[^%]*%'
|
sed
's/<.*>/
/;
s/Total/Jacoco
Coverage
Total:/'"
...
@@ -312,7 +288,6 @@ build-docker:
...
@@ -312,7 +288,6 @@ build-docker:
stage
:
build-docker
stage
:
build-docker
needs
:
needs
:
-
build-metadata-db
-
build-metadata-db
-
build-authentication-service
-
build-identifier-service
-
build-identifier-service
-
build-container-service
-
build-container-service
-
build-database-service
-
build-database-service
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
2
−
9
View file @
e54ac904
...
@@ -4,14 +4,11 @@ TAG ?= latest
...
@@ -4,14 +4,11 @@ TAG ?= latest
all
:
all
:
build-backend
:
build-metadata-db build-database-service build-query-service build-table-service build-identifier-service
build-authentication-service
build-container-service build-discovery-service build-gateway-service build-metadata-service build-analyse-service
build-backend
:
build-metadata-db build-database-service build-query-service build-table-service build-identifier-service build-container-service build-discovery-service build-gateway-service build-metadata-service build-analyse-service
build-metadata-db
:
build-metadata-db
:
mvn
-f
./fda-metadata-db/pom.xml clean
install
mvn
-f
./fda-metadata-db/pom.xml clean
install
build-authentication-service
:
build-metadata-db
mvn
-f
./fda-authentication-service/pom.xml clean package
-DskipTests
build-identifier-service
:
build-metadata-db
build-identifier-service
:
build-metadata-db
mvn
-f
./fda-identifier-service/pom.xml clean package
-DskipTests
mvn
-f
./fda-identifier-service/pom.xml clean package
-DskipTests
...
@@ -147,11 +144,7 @@ release-search:
...
@@ -147,11 +144,7 @@ release-search:
release-metadata
:
release-metadata
:
docker push
"dbrepo/metadata-service:
${
TAG
}
"
docker push
"dbrepo/metadata-service:
${
TAG
}
"
test-backend
:
test-authentication-service test-container-service test-database-service test-discovery-service test-gateway-service test-query-service test-table-service test-identifier-service test-metadata-service test-semantics-service test-analyse-service
test-backend
:
test-container-service test-database-service test-discovery-service test-gateway-service test-query-service test-table-service test-identifier-service test-metadata-service test-semantics-service test-analyse-service
test-authentication-service
:
clean build-metadata-db build-authentication-service
docker pull rabbitmq:3-management-alpine
mvn
-f
./fda-authentication-service/pom.xml clean
test
verify
test-identifier-service
:
clean build-metadata-db build-identifier-service
test-identifier-service
:
clean build-metadata-db build-identifier-service
mvn
-f
./fda-identifier-service/pom.xml clean
test
verify
mvn
-f
./fda-identifier-service/pom.xml clean
test
verify
...
...
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