USGCRP / gcis

Global Change Information System
https://data.globalchange.gov
Other
20 stars 16 forks source link

Make cpanm --installdeps honor package versions #708

Closed JimBiardCics closed 4 years ago

JimBiardCics commented 4 years ago

Adding a top-level file cpanfile that specifies package version constraints. This causes 'cpamn --installdeps .' to honor the version constraints specified in cpanfile. In particular, cpanfile constrains the DBD::Pg package to remain at 3.7.4 or below, which prevents the problem that has been causing the gcis instance built by docker to fail. Also adding a new version of top-level file Dockerfile that copies cpanfile to the image being built.

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.05%) to 59.444% when pulling b36742e2978c65c8a59aa73a3423e34df8a3ee89 on JBiardDockerFix into bafc92f130c941eabe6842adfa2a72f5426b24db on master.

JimBiardCics commented 4 years ago

At this point this pull request also brings the version of Postgresql up to 9.6 and addresses some issues with the docker build of the gcis container. The travis config has been modified to address some problems that were causing it to fail.