Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ega-data-api
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EGA
ega-data-api
Commits
be88bd05
Unverified
Commit
be88bd05
authored
2 years ago
by
Emilio Garcia
Browse files
Options
Downloads
Patches
Plain Diff
EE-2416 Add services, remove hardcoded versions
parent
51a14691
No related branches found
No related tags found
No related merge requests found
Pipeline
#276314
passed with stage
in 1 minute and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
startall.sh
+42
-7
42 additions, 7 deletions
startall.sh
with
42 additions
and
7 deletions
startall.sh
+
42
−
7
View file @
be88bd05
...
...
@@ -9,11 +9,13 @@ DIR=$(pwd)
RUNDIR
=
$DIR
/local_run
LOG_DIR
=
$RUNDIR
/logs
VERSION
=
1.2.1-SNAPSHOT
mkdir
-p
$LOG_DIR
echo
"Building project with maven in background..."
mvn clean
install
>
/dev/null
echo
"Done
\n
"
echo
"Done
compiling.
"
#-------------------------------
...
...
@@ -23,7 +25,7 @@ cd ega-data-api-netflix/ega-data-api-config
mvn package spring-boot:repackage
>
/dev/null
cd
$DIR
nohup
java
-jar
ega-data-api-netflix/ega-data-api-config/target/ega-data-api-config-
1.2.1-SNAPSHOT
.jar
>
$LOG_DIR
/config.logs 2>&1 &
nohup
java
-jar
ega-data-api-netflix/ega-data-api-config/target/ega-data-api-config-
$VERSION
.jar
>
$LOG_DIR
/config.logs 2>&1 &
echo
"config:
$!
"
>
$RUNDIR
/process_ids.txt
...
...
@@ -34,7 +36,7 @@ cd ega-data-api-netflix/ega-data-api-eureka
mvn package spring-boot:repackage
>
/dev/null
cd
$DIR
nohup
java
-jar
ega-data-api-netflix/ega-data-api-eureka/target/ega-data-api-eureka-
1.2.1-SNAPSHOT
.jar
>
$LOG_DIR
/eureka.logs 2>&1 &
nohup
java
-jar
ega-data-api-netflix/ega-data-api-eureka/target/ega-data-api-eureka-
$VERSION
.jar
>
$LOG_DIR
/eureka.logs 2>&1 &
echo
"eureka:
$!
"
>>
$RUNDIR
/process_ids.txt
...
...
@@ -45,7 +47,7 @@ cd ega-data-api-key
mvn package spring-boot:repackage
>
/dev/null
cd
$DIR
nohup
java
-jar
ega-data-api-key/target/ega-data-api-key-
1.2.1-SNAPSHOT
.jar
>
$LOG_DIR
/key.logs 2>&1 &
nohup
java
-jar
ega-data-api-key/target/ega-data-api-key-
$VERSION
.jar
>
$LOG_DIR
/key.logs 2>&1 &
echo
"key:
$!
"
>>
$RUNDIR
/process_ids.txt
...
...
@@ -56,19 +58,52 @@ cd ega-data-api-filedatabase
mvn package spring-boot:repackage
>
/dev/null
cd
$DIR
nohup
java
-jar
ega-data-api-filedatabase/target/ega-data-api-filedatabase-
1.2.1-SNAPSHOT
.jar
>
$LOG_DIR
/file.logs 2>&1 &
nohup
java
-jar
ega-data-api-filedatabase/target/ega-data-api-filedatabase-
$VERSION
.jar
>
$LOG_DIR
/file.logs 2>&1 &
echo
"filedatabase:
$!
"
>>
$RUNDIR
/process_ids.txt
#-------------------------------
echo
"Launching res server..."
cd
ega-data-api-res
mvn package spring-boot:repackage
>
/dev/null
cd
$DIR
nohup
java
-jar
ega-data-api-res/target/ega-data-api-res-
$VERSION
.jar
>
$LOG_DIR
/res.logs 2>&1 &
echo
"res:
$!
"
>>
$RUNDIR
/process_ids.txt
#-------------------------------
echo
"Launching dataedge server..."
cd
ega-data-api-dataedge
mvn package spring-boot:repackage
>
/dev/null
cd
$DIR
nohup
java
-jar
ega-data-api-dataedge/target/ega-data-api-dataedge-
$VERSION
.jar
>
$LOG_DIR
/dataedge.logs 2>&1 &
echo
"dataedge:
$!
"
>>
$RUNDIR
/process_ids.txt
#-------------------------------
echo
"Launching htsget server..."
cd
ega-data-api-htsget
mvn package spring-boot:repackage
>
/dev/null
cd
$DIR
nohup
java
-jar
ega-data-api-htsget/target/ega-data-api-htsget-
$VERSION
.jar
>
$LOG_DIR
/htsget.logs 2>&1 &
echo
"htsget:
$!
"
>>
$RUNDIR
/process_ids.txt
#-------------------------------
echo
""
echo
"All processes started
:
(
process
: PID)"
echo
"All processes started (
Name
: PID)"
cat
$RUNDIR
/process_ids.txt
echo
""
echo
"Logs:
$LOG_DIR
"
ls
-ltrh
$LOG_DIR
echo
"
\n
"
echo
""
read
-n
1
-r
-s
-p
$'Press enter to exit...'
#-------------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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