CDR Tickets

Issue Number 3937
Summary Fix schema selection and deployment in the CDR build/deploy software
Created 2015-06-30 11:07:30
Issue Type Bug
Submitted By alan
Assigned To alan
Status Closed
Resolved 2016-02-09 11:58:22
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.164302
Description

In our last deployment, modified schemas were not deployed automatically as they should have been.

This needs to be fixed.

Comment entered 2015-06-30 11:12:48 by alan

I have begun working on this while our CDR DEV server was unavailable due to the server migration, so I have also added more code to the build and deploy software to support build and deployment on drives other than a d: drive. This is turning out to be desirable for the long term and not just during the period of DEV server migration.

Comment entered 2015-07-07 10:06:42 by alan

I have fixed the schema build and also modified all of the build scripts to work on any destination drive (e.g., c:, d:, etc.) and tested by building on my own workstation that has no d: drive.

There are a couple of other minor changes that we have discussed, logging the svn version number of the software used in build and deploy, and maybe integrating a backup option into the deploy script. I'm going to go ahead and implement those under the aegis of this JIRA issue.

Comment entered 2015-07-08 00:02:11 by alan

I thought I had everything working but, in fact, I had commented out something that required database access from my machine. I uncommented that and got it working.

I've also added subversion revision number logging to both the build and deploy software - though only to the top level python programs. I don't know if we need revision numbers on the .cmd scripts. If we do I can implement that.

I'm doing some testing with the deploy software. I'm not aware of any problems but I need more testing to be sure that it works properly on my workstation. Unfortunately, the part that particularly needs testing is the part that updates schemas in the database. I'm not running a local database copy, so that could make some undesirable changes in the database on whatever server I test with. I leave that alone until we've discussed it.

Comment entered 2016-02-09 11:58:22 by alan

As per my previous comment, I believe this is fixed and am marking it so.

I hope to be doing more testing of the build deploy software for other reasons and will check to be sure that schemas are properly handled.

Comment entered 2016-06-17 15:21:51 by Englisch, Volker (NIH/NCI) [C]

Considering that we finished the deployment of Darwin I consider this issue to fix the deployment script as complete.
Closing ticket.

Comment entered 2016-06-17 17:17:43 by Kline, Bob (NIH/NCI) [C]

I'm not so sure. I had to do some manual tweaking, as I recall.

Comment entered 2016-06-17 17:54:20 by Englisch, Volker (NIH/NCI) [C]

Well, in that case we should enter a new ticket as a bug fix.

Elapsed: 0:00:00.001793