Skip to content
Snippets Groups Projects
Commit c10e63e0 authored by Ilia Eriomenco's avatar Ilia Eriomenco
Browse files

ci: configure variables in eLife test-chrome

parent db43b8f9
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment