CdmPlatformReleaseSteps » History » Revision 23
« Previous |
Revision 23/105
(diff)
| Next »
Andreas Kohlbecker, 07/19/2019 04:43 PM
CDM Platform release process step by step¶
0.1) Check that the cdm-server and the data portal build fine¶
- run the cdm-server-INTEGRATION job
- run the drupal7-cdm_dataportal-SNAPSHOT job
1) run the release pipeline in jenkins¶
- run the cdmlib-RELEASE job
- run the cdm_dataportal-RELEASE job
2) update the Cdm Platform Roadmap¶
update http://dev.e-taxonomy.eu/trac/wiki/CdmPlatformRoadmap and add a summary in the What's new? section
4) edit milestones¶
- create the milestones for the next release
- close the milestones of the current release and tell track to move all open tickets to the next milestone
5) write an email to the _cdm_clients¶
Subject: EDIT Platform <NEW-VERSION> released
Dear EDIT Platform users, the next version of the EDIT Platform with the version number <NEW-VERSION> has been released. [OPTIONAL A]The release of the Taxonomic Editor will be done in a few days, meanwhile you can of course continue working with Taxonomic Editor <OLD-VERSION>. [OPTIONAL B]This time we abstain from also releasing a new version of the Taxonomic Editor. You can of course continue working with Taxonomic Editor <OLD-VERSION>. For an overview on the changes in this release please refer to the following page: http://dev.e-taxonomy.eu/trac/wiki/CdmPlatformRoadmap For [tomorrow|this evening] we are planning to install this new version of the EDIT Platform on our servers. During the necessary server maintenance you might experience some minor downtimes of some of the platform components. Best wishes <YOUR-NAME>
6) perform the Taxonomic Editor Release or 'Fake' Release (Not Deployment)¶
as described at TaxonomicEditorDeployment
7) deploy the release¶
edit production server (BDI-Wiki:/EDITServerSetup/edit-production)
dataportals-drush vset -y maintenance_mode 1 /opt/server-scripts/jenkins-ci/cdm-server/cdmserver-install.sh {release-version} /tmp/ # wait some minutes until the prompt returns .... cd /var/www/drupal-7/sites/_dataportal-production git checkout master git pull dataportals-updatedb dataportals-drush cc all dataportals-drush vset -y maintenance_mode 0
edit demo servers 1 & 2 (BDI-Wiki:/EDITServerSetup/edit-production)
On each of the servers:
vi /opt/server-scripts/workshop-setup/conf.d/instances.conf
and change the variables CDM_SERVER_VERSION and CDM_DATAPORTAL_GIT_TREEISH:
# CDM Server version CDM_SERVER_VERSION=5.7.0 # reference to a branch or tag in the cdm-dataportal git repo # e.g.: tags/1.0, hotfix/1.0.1 CDM_DATAPORTAL_GIT_TREEISH=tags/5.7.0
Save the changes. The setup will be refreshed automatically over night. If you need to install the server in the newly configured release version, you can run the setup script. It is recommended to run the setup scriupts in a screen
session:
screen -R # reattach or new session
No inside the session, either do a full setup (recommended), since we are using screen
you can close the teminal even if the setup is running. Closing the terminal or dropping the ssh connection will not cause the running script to be stopped.
./full-setup
or just update the cdm-server
../jenkins-ci/cdm-server/cdmserver-install.sh $CDM_SERVER_VERSION /tmp
8) check for post-release tickets¶
9) perform the Taxonomic Editor Deployment¶
as described at TaxonomicEditorDeployment
10) send mail to users to inform of successful release¶
Updated by Andreas Kohlbecker almost 5 years ago · 23 revisions