bcgov / ckanext-bcgov

BC Data Catalogue source code, main ckan extension
http://catalogue.data.gov.bc.ca
GNU Affero General Public License v3.0
24 stars 23 forks source link

Create efficient DLV to PROD Workflow #568

Open hleckenb opened 5 years ago

hleckenb commented 5 years ago

As a developer that has developed and tested bugs and enhancements to the catalogue I need to be able to easily release the work to production.

mdunhamwilkie commented 5 years ago

Sent this email to @ll911 and the rest of the team:

Hi Leo et al

Currently we have BCDC Delivery on Openshift, while TEST and PROD are not using Openshift. My understanding (please correct me if I’m wrong) is that this configuration makes it relatively easy to deploy to Delivery, but not to TEST and PROD. And that if we moved TEST to Openshift then the process for deploying from Delivery to Test would be similarly easy.

So this suggests that one approach we might take is:

  1. Move TEST BCDC to Openshift
  2. We would do frequent deployments of code to TEST, giving us the ability to collaborate with users during the sprints
  3. Set up an automatic process to do a daily restore of PROD content to TEST
  4. Have BCDC testers do their acceptance testing on TEST (since it would contain fairly current content)
  5. Continue to do manual deployments of TEST to PROD on, say, a monthly basis.

Is this feasible? How much effort is this? Are there any other parts I’ve left out? Is there a better alternative?

ll911 commented 5 years ago

@hleckenb @mdunhamwilkie need to complete the pipeline to test. also, "move" meaning deploy same version of ckan+bcgov ckanexts in OpenShift. what about the data? at the moment, there is only export scripts, no batch load scripts. i see this issue can be divided in 3 issues

ll911 commented 5 years ago

start with https://cis.data.gov.bc.ca/job/bcdc/job/caddi/