Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
minerva
core
Commits
9af8b17d
Commit
9af8b17d
authored
1 year ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
run in screen
parent
e43b20f9
No related branches found
No related tags found
2 merge requests
!1700
Resolve "introduce new frontend to the jar file build process"
,
!1655
Resolve "fix install tests"
Pipeline
#85382
failed
1 year ago
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
with
3 additions
and
3 deletions
.gitlab-ci.yml
+
3
−
3
View file @
9af8b17d
...
@@ -491,7 +491,7 @@ test_install_debian_package:
...
@@ -491,7 +491,7 @@ test_install_debian_package:
-
echo debconf minerva/db/app-user select minerva_user@localhost | debconf-set-selections
-
echo debconf minerva/db/app-user select minerva_user@localhost | debconf-set-selections
-
DEBIAN_FRONTEND=noninteractive apt-get install -y ./$debian_file
-
DEBIAN_FRONTEND=noninteractive apt-get install -y ./$debian_file
-
screen -d -m java -jar /usr/share/minerva/minerva.jar
-
screen -d -m java -jar /usr/share/minerva/minerva.jar
#we need to wait a bit
for tomcat
start
#we need to wait a bit
- app needs to
start
-
sleep
15
-
sleep
15
-
wget http://localhost:8080/minerva/
-
wget http://localhost:8080/minerva/
#test if we can login and list projects
#test if we can login and list projects
...
@@ -511,7 +511,7 @@ test_deploy_with_db_without_superadmin_rights:
...
@@ -511,7 +511,7 @@ test_deploy_with_db_without_superadmin_rights:
-
tags
-
tags
script
:
script
:
-
apt-get update
-
apt-get update
-
DEBIAN_FRONTEND=noninteractive apt-get install -y postgresql-client
-
DEBIAN_FRONTEND=noninteractive apt-get install -y postgresql-client
screen
-
mkdir -p /etc/minerva
-
mkdir -p /etc/minerva
-
echo "database.uri=jdbc:postgresql://postgres:5432/test" > /etc/minerva/db.properties
-
echo "database.uri=jdbc:postgresql://postgres:5432/test" > /etc/minerva/db.properties
-
echo "database.username=test" >> /etc/minerva/db.properties
-
echo "database.username=test" >> /etc/minerva/db.properties
...
@@ -520,7 +520,7 @@ test_deploy_with_db_without_superadmin_rights:
...
@@ -520,7 +520,7 @@ test_deploy_with_db_without_superadmin_rights:
-
PGPASSWORD=$POSTGRES_PASSWORD psql -h postgres -U $POSTGRES_USER $POSTGRES_DB < tmp.sql
-
PGPASSWORD=$POSTGRES_PASSWORD psql -h postgres -U $POSTGRES_USER $POSTGRES_DB < tmp.sql
-
mkdir -p /usr/share/minerva/data/
-
mkdir -p /usr/share/minerva/data/
-
mv minerva.jar /usr/share/minerva/
-
mv minerva.jar /usr/share/minerva/
-
java -jar /usr/share/minerva/minerva.jar
-
screen -d -m
java -jar /usr/share/minerva/minerva.jar
-
sleep
15
-
sleep
15
-
curl http://localhost:8080/minerva/
-
curl http://localhost:8080/minerva/
#test if we can login and list projects
#test if we can login and list projects
...
...
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