Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TuneSphere
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
genie-logicielle
TuneSphere
Commits
7f7ddefe
Commit
7f7ddefe
authored
5 months ago
by
thibault.capt
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
d27e4ec9
No related branches found
No related tags found
No related merge requests found
Pipeline
#37293
failed
5 months ago
Stage: dependencies
Stage: quality
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-10
7 additions, 10 deletions
.gitlab-ci.yml
with
7 additions
and
10 deletions
.gitlab-ci.yml
+
7
−
10
View file @
7f7ddefe
...
@@ -68,12 +68,14 @@ test-backend:
...
@@ -68,12 +68,14 @@ test-backend:
image
:
maven:3.6.3-openjdk-17
image
:
maven:3.6.3-openjdk-17
services
:
services
:
-
name
:
postgres:13
-
name
:
postgres:13
alias
:
postgres
needs
:
[
"
install-backend"
]
needs
:
[
"
install-backend"
]
variables
:
variables
:
POSTGRES_USER
:
"
username"
POSTGRES_USER
:
username
POSTGRES_PASSWORD
:
"
password"
POSTGRES_PASSWORD
:
password
POSTGRES_DB
:
"
db_tunesphere"
POSTGRES_DB
:
db_tunesphere
SPRING_DATASOURCE_URL
:
jdbc:postgresql://postgres:5432/db_tunesphere
SPRING_DATASOURCE_USERNAME
:
username
SPRING_DATASOURCE_PASSWORD
:
password
script
:
script
:
-
cd ./backend/
-
cd ./backend/
-
sleep
15
# Wait postgres
-
sleep
15
# Wait postgres
...
@@ -106,9 +108,4 @@ deploy:
...
@@ -106,9 +108,4 @@ deploy:
script
:
script
:
-
echo "Deploying both frontend and backend"
-
echo "Deploying both frontend and backend"
-
echo "Deploying frontend dist/ folder"
-
echo "Deploying frontend dist/ folder"
-
echo "Deploying backend JAR to server"
-
echo "Deploying backend JAR to server"
\ No newline at end of file
services
:
-
name
:
postgres:13
alias
:
postgres
\ No newline at end of file
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