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
c10e63e0
Commit
c10e63e0
authored
4 years ago
by
Ilia Eriomenco
Browse files
Options
Downloads
Patches
Plain Diff
ci: configure variables in eLife test-chrome
parent
db43b8f9
No related branches found
Branches containing commit
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
+127
-121
127 additions, 121 deletions
.gitlab-ci.elife.yml
with
127 additions
and
121 deletions
.gitlab-ci.elife.yml
+
127
−
121
View file @
c10e63e0
...
...
@@ -112,6 +112,12 @@ deploy:
test-chrome
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
variables
:
GIT_STRATEGY
:
none
POSTGRES_USER
:
kotahidev
POSTGRES_PASSWORD
:
kotahidev
PGUSER
:
kotahidev
PGPASSWORD
:
kotahidev
services
:
-
postgres
script
:
...
...
@@ -124,135 +130,135 @@ test-chrome:
# specify host here else it confuses the linked postgres image
-
POSTGRES_HOST=postgres yarn test:all:chrome:elife
test-chrome-samsung
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
services
:
-
postgres
script
:
-
cd ${HOME}
-
apt-get -y install postgresql-client
-
psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
-
cp .env.example .env
-
POSTGRES_HOST=postgres yarn test:all:chrome:elife:samsung
#
test-chrome-samsung:
#
image: $IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
#
stage: test
#
services:
#
- postgres
#
script:
#
- cd ${HOME}
#
- apt-get -y install postgresql-client
#
- psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
#
- cp .env.example .env
#
- POSTGRES_HOST=postgres yarn test:all:chrome:elife:samsung
test-chrome-samsung-tablet
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
services
:
-
postgres
script
:
-
cd ${HOME}
-
apt-get -y install postgresql-client
-
psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
-
cp .env.example .env
-
POSTGRES_HOST=postgres yarn test:all:chrome:elife:samsung:tablet
#
test-chrome-samsung-tablet:
#
image: $IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
#
stage: test
#
services:
#
- postgres
#
script:
#
- cd ${HOME}
#
- apt-get -y install postgresql-client
#
- psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
#
- cp .env.example .env
#
- POSTGRES_HOST=postgres yarn test:all:chrome:elife:samsung:tablet
test-chrome-iPhone
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
services
:
-
postgres
script
:
-
cd ${HOME}
-
apt-get -y install postgresql-client
-
psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
-
cp .env.example .env
-
POSTGRES_HOST=postgres yarn test:all:chrome:elife:iPhone
#
test-chrome-iPhone:
#
image: $IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
#
stage: test
#
services:
#
- postgres
#
script:
#
- cd ${HOME}
#
- apt-get -y install postgresql-client
#
- psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
#
- cp .env.example .env
#
- POSTGRES_HOST=postgres yarn test:all:chrome:elife:iPhone
test-chrome-iPhone-tablet
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
services
:
-
postgres
script
:
-
cd ${HOME}
-
apt-get -y install postgresql-client
-
psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
-
cp .env.example .env
-
POSTGRES_HOST=postgres yarn test:all:chrome:elife:iPhone:tablet
#
test-chrome-iPhone-tablet:
#
image: $IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
#
stage: test
#
services:
#
- postgres
#
script:
#
- cd ${HOME}
#
- apt-get -y install postgresql-client
#
- psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
#
- cp .env.example .env
#
- POSTGRES_HOST=postgres yarn test:all:chrome:elife:iPhone:tablet
test-chrome-hd-laptop
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
services
:
-
postgres
script
:
-
cd ${HOME}
-
apt-get -y install postgresql-client
-
psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
-
cp .env.example .env
-
POSTGRES_HOST=postgres yarn test:all:chrome:elife:hd:laptop
#
test-chrome-hd-laptop:
#
image: $IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
#
stage: test
#
services:
#
- postgres
#
script:
#
- cd ${HOME}
#
- apt-get -y install postgresql-client
#
- psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
#
- cp .env.example .env
#
- POSTGRES_HOST=postgres yarn test:all:chrome:elife:hd:laptop
test-firefox
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
services
:
-
postgres
script
:
-
cd ${HOME}
-
apt-get -y install postgresql-client
-
psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
-
cp .env.example .env
-
POSTGRES_HOST=postgres yarn test:all:firefox:elife
#
test-firefox:
#
image: $IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
#
stage: test
#
services:
#
- postgres
#
script:
#
- cd ${HOME}
#
- apt-get -y install postgresql-client
#
- psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
#
- cp .env.example .env
#
- POSTGRES_HOST=postgres yarn test:all:firefox:elife
test-firefox-samsung
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
services
:
-
postgres
script
:
-
cd ${HOME}
-
apt-get -y install postgresql-client
-
psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
-
cp .env.example .env
-
POSTGRES_HOST=postgres yarn test:all:firefox:elife:samsung
#
test-firefox-samsung:
#
image: $IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
#
stage: test
#
services:
#
- postgres
#
script:
#
- cd ${HOME}
#
- apt-get -y install postgresql-client
#
- psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
#
- cp .env.example .env
#
- POSTGRES_HOST=postgres yarn test:all:firefox:elife:samsung
test-firefox-samsung-tablet
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
services
:
-
postgres
script
:
-
cd ${HOME}
-
apt-get -y install postgresql-client
-
psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
-
cp .env.example .env
-
POSTGRES_HOST=postgres yarn test:all:firefox:elife:samsung:tablet
#
test-firefox-samsung-tablet:
#
image: $IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
#
stage: test
#
services:
#
- postgres
#
script:
#
- cd ${HOME}
#
- apt-get -y install postgresql-client
#
- psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
#
- cp .env.example .env
#
- POSTGRES_HOST=postgres yarn test:all:firefox:elife:samsung:tablet
test-firefox-iPhone
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
services
:
-
postgres
script
:
-
cd ${HOME}
-
apt-get -y install postgresql-client
-
psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
-
cp .env.example .env
-
POSTGRES_HOST=postgres yarn test:all:firefox:elife:iPhone
#
test-firefox-iPhone:
#
image: $IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
#
stage: test
#
services:
#
- postgres
#
script:
#
- cd ${HOME}
#
- apt-get -y install postgresql-client
#
- psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
#
- cp .env.example .env
#
- POSTGRES_HOST=postgres yarn test:all:firefox:elife:iPhone
test-firefox-iPhone-tablet
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
services
:
-
postgres
script
:
-
cd ${HOME}
-
apt-get -y install postgresql-client
-
psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
-
cp .env.example .env
-
POSTGRES_HOST=postgres yarn test:all:firefox:elife:iPhone:tablet
#
test-firefox-iPhone-tablet:
#
image: $IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
#
stage: test
#
services:
#
- postgres
#
script:
#
- cd ${HOME}
#
- apt-get -y install postgresql-client
#
- psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
#
- cp .env.example .env
#
- POSTGRES_HOST=postgres yarn test:all:firefox:elife:iPhone:tablet
test-firefox-hd-laptop
:
image
:
$IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
stage
:
test
services
:
-
postgres
script
:
-
cd ${HOME}
-
apt-get -y install postgresql-client
-
psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
-
cp .env.example .env
-
POSTGRES_HOST=postgres yarn test:all:firefox:elife:hd:laptop
#
test-firefox-hd-laptop:
#
image: $IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
#
stage: test
#
services:
#
- postgres
#
script:
#
- cd ${HOME}
#
- apt-get -y install postgresql-client
#
- psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
#
- cp .env.example .env
#
- POSTGRES_HOST=postgres yarn test:all:firefox:elife:hd:laptop
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