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
4b0b3c24
Commit
4b0b3c24
authored
5 years ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
use YAML anchors to remove copy paste for postgres compatibility tests
parent
77526774
No related branches found
No related tags found
Loading
Pipeline
#12117
passed
5 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+9
-18
9 additions, 18 deletions
.gitlab-ci.yml
with
9 additions
and
18 deletions
.gitlab-ci.yml
+
9
−
18
View file @
4b0b3c24
...
@@ -413,10 +413,9 @@ test_deploy_with_db_without_superadmin_rights:
...
@@ -413,10 +413,9 @@ test_deploy_with_db_without_superadmin_rights:
-
test 200 = $(curl --write-out %{http_code} --silent --output /dev/null -c cookie.txt http://localhost:8080/minerva/api/doLogin)
-
test 200 = $(curl --write-out %{http_code} --silent --output /dev/null -c cookie.txt http://localhost:8080/minerva/api/doLogin)
-
test 200 = $(curl --write-out %{http_code} --silent --output /dev/null --cookie cookie.txt http://localhost:8080/minerva/api/projects/)
-
test 200 = $(curl --write-out %{http_code} --silent --output /dev/null --cookie cookie.txt http://localhost:8080/minerva/api/projects/)
test_postgres_9_3_compatibility
:
.test_database_template
:
&test_database_definition
image
:
maven:3.6.0-jdk-8
image
:
maven:3.6.0-jdk-8
services
:
-
postgres:9.3
stage
:
test
stage
:
test
script
:
script
:
-
mkdir /etc/minerva/
-
mkdir /etc/minerva/
...
@@ -424,25 +423,17 @@ test_postgres_9_3_compatibility:
...
@@ -424,25 +423,17 @@ test_postgres_9_3_compatibility:
-
mvn -DskipTests=true clean install -pl persist -am
-
mvn -DskipTests=true clean install -pl persist -am
-
mvn test -pl persist
-
mvn test -pl persist
test_postgres_9_3_compatibility
:
<<
:
*test_database_definition
services
:
-
postgres:9.3
test_postgres_10_compatibility
:
test_postgres_10_compatibility
:
image
:
maven:3.6.0-jdk-8
<<
:
*test_database_definition
services
:
services
:
-
postgres:10
-
postgres:10
stage
:
test
script
:
-
mkdir /etc/minerva/
-
cp test-db-ci.properties /etc/minerva/db.properties
-
mvn -DskipTests=true clean install -pl persist -am
-
mvn test -pl persist
test_postgres_11_compatibility
:
test_postgres_11_compatibility
:
image
:
maven:3.6.0-jdk-8
<<
:
*test_database_definition
services
:
services
:
-
postgres:11
-
postgres:11
stage
:
test
script
:
-
mkdir /etc/minerva/
-
cp test-db-ci.properties /etc/minerva/db.properties
-
mvn -DskipTests=true clean install -pl persist -am
-
mvn test -pl persist
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