Run Tests for Inventory and Inventory Storage Module during CI build

Description

The CI build for mod-metadata needs to run the tests for the inventory (gradle) and inventory storage (maven, PostgreSQL) modules.

This will require:

  • a PostgreSQL instance to be available in the CI environment

  • Capability to provide database configuration for the tests

  • Changes to the CI build to execute the tests

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Marc JohnsonDecember 22, 2016 at 12:11 PM
Edited

Thanks

I've just mentioned these details on https://folio-org.atlassian.net/browse/DMOD-102 as there is a discussion ongoing on that issue about using an external PostgreSQL instance for CI.

John MalconianDecember 16, 2016 at 6:16 PM

Update: Postgres port changed from default 5432 to 5433 in order to avoid conflicts with builds containing an embedded postgres.

John MalconianDecember 16, 2016 at 4:21 PM

Postgres has been implemented into Jenkins CI build environment. Connection details are very generic and are as follows:

  • Host: localhost

  • Port: 5432 (the default Postgres port)

  • Username/Password to create and manipulate database: postgres/postgres

Done

Details

Assignee

Reporter

Labels

Priority

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created December 15, 2016 at 4:48 PM
Updated January 1, 2017 at 2:35 PM
Resolved January 1, 2017 at 2:35 PM
TestRail: Cases
TestRail: Runs

Flag notifications