Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Kotahi
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Omo Oaiya
Kotahi
Commits
7bc43d59
Commit
7bc43d59
authored
4 years ago
by
Ilia Eriomenco
Browse files
Options
Downloads
Patches
Plain Diff
ci: returned variables in all tests sections in eLife pipeline
parent
c05b2d3c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.elife.yml
+126
-6
126 additions, 6 deletions
.gitlab-ci.elife.yml
with
126 additions
and
6 deletions
.gitlab-ci.elife.yml
+
126
−
6
View file @
7bc43d59
...
...
@@ -104,18 +104,28 @@ deploy:
# script:
# - *run_script_template
.vars_template
:
&vars_insert
## TODO: when insert this template get an error: "(node:965) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string"
# .vars_template: &vars_insert
# variables:
# GIT_STRATEGY: none
# POSTGRES_USER: kotahidev
# POSTGRES_PASSWORD: kotahidev
# PGUSER: kotahidev
# PGPASSWORD: kotahidev
test-chrome
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
variables
:
GIT_STRATEGY
:
none
# setup data for postgres image
POSTGRES_USER
:
kotahidev
POSTGRES_PASSWORD
:
kotahidev
# used by psql
PGUSER
:
kotahidev
PGPASSWORD
:
kotahidev
test-chrome
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
<<
:
*vars_insert
# this is used to ignore self signed certs
#START_SERVER_AND_TEST_INSECURE: 1
services
:
-
postgres
script
:
...
...
@@ -131,6 +141,16 @@ test-chrome:
test-chrome-samsung
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
variables
:
GIT_STRATEGY
:
none
# setup data for postgres image
POSTGRES_USER
:
kotahidev
POSTGRES_PASSWORD
:
kotahidev
# used by psql
PGUSER
:
kotahidev
PGPASSWORD
:
kotahidev
# this is used to ignore self signed certs
#START_SERVER_AND_TEST_INSECURE: 1
services
:
-
postgres
script
:
...
...
@@ -143,6 +163,16 @@ test-chrome-samsung:
test-chrome-samsung-tablet
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
variables
:
GIT_STRATEGY
:
none
# setup data for postgres image
POSTGRES_USER
:
kotahidev
POSTGRES_PASSWORD
:
kotahidev
# used by psql
PGUSER
:
kotahidev
PGPASSWORD
:
kotahidev
# this is used to ignore self signed certs
#START_SERVER_AND_TEST_INSECURE: 1
services
:
-
postgres
script
:
...
...
@@ -155,6 +185,16 @@ test-chrome-samsung-tablet:
test-chrome-iPhone
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
variables
:
GIT_STRATEGY
:
none
# setup data for postgres image
POSTGRES_USER
:
kotahidev
POSTGRES_PASSWORD
:
kotahidev
# used by psql
PGUSER
:
kotahidev
PGPASSWORD
:
kotahidev
# this is used to ignore self signed certs
#START_SERVER_AND_TEST_INSECURE: 1
services
:
-
postgres
script
:
...
...
@@ -167,6 +207,16 @@ test-chrome-iPhone:
test-chrome-iPhone-tablet
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
variables
:
GIT_STRATEGY
:
none
# setup data for postgres image
POSTGRES_USER
:
kotahidev
POSTGRES_PASSWORD
:
kotahidev
# used by psql
PGUSER
:
kotahidev
PGPASSWORD
:
kotahidev
# this is used to ignore self signed certs
#START_SERVER_AND_TEST_INSECURE: 1
services
:
-
postgres
script
:
...
...
@@ -179,6 +229,16 @@ test-chrome-iPhone-tablet:
test-chrome-hd-laptop
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
variables
:
GIT_STRATEGY
:
none
# setup data for postgres image
POSTGRES_USER
:
kotahidev
POSTGRES_PASSWORD
:
kotahidev
# used by psql
PGUSER
:
kotahidev
PGPASSWORD
:
kotahidev
# this is used to ignore self signed certs
#START_SERVER_AND_TEST_INSECURE: 1
services
:
-
postgres
script
:
...
...
@@ -191,6 +251,16 @@ test-chrome-hd-laptop:
test-firefox
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
variables
:
GIT_STRATEGY
:
none
# setup data for postgres image
POSTGRES_USER
:
kotahidev
POSTGRES_PASSWORD
:
kotahidev
# used by psql
PGUSER
:
kotahidev
PGPASSWORD
:
kotahidev
# this is used to ignore self signed certs
#START_SERVER_AND_TEST_INSECURE: 1
services
:
-
postgres
script
:
...
...
@@ -203,6 +273,16 @@ test-firefox:
test-firefox-samsung
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
variables
:
GIT_STRATEGY
:
none
# setup data for postgres image
POSTGRES_USER
:
kotahidev
POSTGRES_PASSWORD
:
kotahidev
# used by psql
PGUSER
:
kotahidev
PGPASSWORD
:
kotahidev
# this is used to ignore self signed certs
#START_SERVER_AND_TEST_INSECURE: 1
services
:
-
postgres
script
:
...
...
@@ -215,6 +295,16 @@ test-firefox-samsung:
test-firefox-samsung-tablet
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
variables
:
GIT_STRATEGY
:
none
# setup data for postgres image
POSTGRES_USER
:
kotahidev
POSTGRES_PASSWORD
:
kotahidev
# used by psql
PGUSER
:
kotahidev
PGPASSWORD
:
kotahidev
# this is used to ignore self signed certs
#START_SERVER_AND_TEST_INSECURE: 1
services
:
-
postgres
script
:
...
...
@@ -227,6 +317,16 @@ test-firefox-samsung-tablet:
test-firefox-iPhone
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
variables
:
GIT_STRATEGY
:
none
# setup data for postgres image
POSTGRES_USER
:
kotahidev
POSTGRES_PASSWORD
:
kotahidev
# used by psql
PGUSER
:
kotahidev
PGPASSWORD
:
kotahidev
# this is used to ignore self signed certs
#START_SERVER_AND_TEST_INSECURE: 1
services
:
-
postgres
script
:
...
...
@@ -239,6 +339,16 @@ test-firefox-iPhone:
test-firefox-iPhone-tablet
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
variables
:
GIT_STRATEGY
:
none
# setup data for postgres image
POSTGRES_USER
:
kotahidev
POSTGRES_PASSWORD
:
kotahidev
# used by psql
PGUSER
:
kotahidev
PGPASSWORD
:
kotahidev
# this is used to ignore self signed certs
#START_SERVER_AND_TEST_INSECURE: 1
services
:
-
postgres
script
:
...
...
@@ -251,6 +361,16 @@ test-firefox-iPhone-tablet:
test-firefox-hd-laptop
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
variables
:
GIT_STRATEGY
:
none
# setup data for postgres image
POSTGRES_USER
:
kotahidev
POSTGRES_PASSWORD
:
kotahidev
# used by psql
PGUSER
:
kotahidev
PGPASSWORD
:
kotahidev
# this is used to ignore self signed certs
#START_SERVER_AND_TEST_INSECURE: 1
services
:
-
postgres
script
:
...
...
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