Task #2417
Story #1823: Debian Packages need to be updated when updated, and environment aware
Modify dataone-cn-portal debian scripts to be aware of the deployed environment and install status
100%
Description
The dataone-cn-os-core package sets up the deployed environment. Subsequently installed packages, such as dataon-cn-portal, should be configured based on the deployed environment. For instance, a debconf key called dataone-cn-os-core/cn.context.label is set (to DEV, SANDBOX, STAGE, or PRODUCTION), and the portal properties file (cfg.rdf) should be modified accordingly to connect to cn-sandbox.dataone.org (in the sandbox case).
History
#1 Updated by Chris Jones over 12 years ago
- Subject changed from Modify dataone-cn-portal debian scripts to be aware of the deployed environment to Modify dataone-cn-portal debian scripts to be aware of the deployed environment and install status
#2 Updated by Ben Leinfelder over 12 years ago
- Status changed from New to Closed
- Assignee changed from Chris Jones to Ben Leinfelder
Now configuring the callback URLs and main CN url based on the cn-os-core properties. The share DB instance uses the first of the three cn IP addresses.
We also use the cn.context.label to set the correct portalSkin for interactions with CILogon.
#3 Updated by Ben Leinfelder over 12 years ago
I don't think having a distinct "upgrade" route is crucial since there is no long term data storage in the portal - nothing lasts longer than the http sessions.