Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
starter-quiz
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
repos.quentin.fasler
projet semestre
starter-quiz
Commits
b87273e6
Commit
b87273e6
authored
1 year ago
by
quentin.fasler
Browse files
Options
Downloads
Patches
Plain Diff
rename bdd
parent
3de1c380
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#28910
passed
1 year ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-5
2 additions, 5 deletions
.gitlab-ci.yml
src/main/resources/application.properties
+1
-1
1 addition, 1 deletion
src/main/resources/application.properties
with
3 additions
and
6 deletions
.gitlab-ci.yml
+
2
−
5
View file @
b87273e6
...
...
@@ -3,11 +3,6 @@ image: maven:3.9.6-eclipse-temurin-21
stages
:
-
test
cache
:
paths
:
-
.m2/repository
test_job
:
stage
:
test
services
:
...
...
@@ -20,6 +15,8 @@ test_job:
before_script
:
-
apt-get update && apt-get install -y mariadb-client
-
mysql -h db -P 3307 -uroot -proot quiz < src/main/resources/quiz.sql
-
sed -i 's/localhost/db/g' src/main/resources/application.properties
script
:
-
mvn test
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/application.properties
+
1
−
1
View file @
b87273e6
spring.datasource.url
=
jdbc:mariadb://
db
:3307/quiz
spring.datasource.url
=
jdbc:mariadb://
localhost
:3307/quiz
spring.datasource.username
=
root
spring.datasource.password
=
root
spring.datasource.driver-class-name
=
org.mariadb.jdbc.Driver
...
...
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