Skip to content
Snippets Groups Projects
Commit aa91d5ca authored by Olivér FACKLAM's avatar Olivér FACKLAM
Browse files

[Gitlab CI] correction knex

parent b300b8bc
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ services: ...@@ -10,7 +10,7 @@ services:
variables: variables:
POSTGRES_DB: sigma_staging POSTGRES_DB: sigma_staging
POSTGRES_USER: sigma POSTGRES_USER: sigma
POSTGRES_PASSWORD: "sigma_pw" POSTGRES_PASSWORD: "sigmapw"
# This folder is cached between builds # This folder is cached between builds
cache: cache:
...@@ -37,7 +37,7 @@ build:transpile: ...@@ -37,7 +37,7 @@ build:transpile:
tests:mocha: tests:mocha:
stage: tests stage: tests
script: script:
- npm ci - npm ci && npm i -g knex
- echo '{"dn":"dn", "passwd":"passwd"}' >> ldap_credentials.json - echo '{"dn":"dn", "passwd":"passwd"}' >> ldap_credentials.json
- export TARGET_ENV=staging - export TARGET_ENV=staging
- export DB_HOST=postgres - export DB_HOST=postgres
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment