ci_poc_02
v0.0.3
Published
A sample project to demonstrate gitlab-ci-multi-runner
Downloads
2
Readme
Sample NodeJS Project for GitLab Runner
This is NodeJS project that accompanies my guest blog post on Gitlab.com.
It contains two independent modules to be tested with GitLab Runner.
Running the tests
To run test locally, first start a PostgreSQL database.
To start a db instance with Docker:
docker run \
--name postgres-db \
--publish=5432:5432 \
-e POSTGRES_PASSWORD=123456 \
-e POSTGRES_USER=testuser \
-d postgres:9.5.0
Then the db will be available at the following address:
postgres://testuser:123456@localhost:5432/postgres
To start the tests:
DB_USER=testuser \
DB_PASS=123456 \
DB_HOST=localhost:5432 \
node ./specs/start.js