Skip to content
Snippets Groups Projects
Commit ca3cf757 authored by Nicoleta Ursu's avatar Nicoleta Ursu
Browse files

Merge branch 'main' of https://gitlab.coko.foundation/kotahi/kotahi into main

parents 5c1c3b70 25590d9e
No related branches found
No related tags found
No related merge requests found
......@@ -80,20 +80,22 @@ deploy:
PGPASSWORD: kotahidev
services:
- postgres
script:
- cd ${HOME}
- apt-get -y install postgresql-client
# this is needed for pgboss initial setup
#- psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
# use the example env for tests
- cp .env.example .env
# specify host here else it confuses the linked postgres image
- POSTGRES_HOST=postgres yarn test:all:$TEST_ITEM
.script_templ: &run_script_templ
- cd ${HOME}
- apt-get -y install postgresql-client
# use the example env for tests
- cp .env.example .env
- echo "INSTANCE_NAME=elife" >> .env
test-chrome:
<<: *run_test_template
variables:
TEST_ITEM: "chrome:elife"
script:
- *run_script_templ
# this is needed for pgboss initial setup
- psql -h postgres -U kotahidev -d kotahidev -c "create extension pgcrypto;"
# specify host here else it confuses the linked postgres image
- POSTGRES_HOST=postgres yarn test:all:chrome:elife
# test-chrome:
# image: $IMAGE_ORG/$IMAGE_NAME-dev:$CI_COMMIT_SHA
......
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