-
Notifications
You must be signed in to change notification settings - Fork 7
update magpie version to 5.0.0 #637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
E2E Test ResultsDACCS-iac Pipeline ResultsBuild URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/3986/Result ❌ FAILUREBIRDHOUSE_DEPLOY_BRANCH : magpie-networking DACCS_IAC_BRANCH : master DACCS_CONFIGS_BRANCH : master PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master PAVICS_SDI_BRANCH : master DESTROY_INFRA_ON_EXIT : true PAVICS_HOST : https://host-140-91.rdext.crim.ca PAVICS-e2e-workflow-tests Pipeline ResultsTests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/618/NOTEBOOK TEST RESULTS |
| export MAGPIE_NETWORK_PEM_FILES=key.pem # These files must be relative paths from the MAGPIE_NETWORK_PEM_DIR directory | ||
| export MAGPIE_NETWORK_PEM_PASSWORDS= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the must be : separated from below parsing. I assume any path is remapped as is with the same hierarchy? Maybe a small comment/example can help for this.
For the passwords case, I assume that "no-password" files would need ::<pwd>: for example if the 3rd out of 4 files provided needs a password? Similarly, an example comment to help users configure it correctly.
| # https://pavics-magpie.readthedocs.io/en/latest/configuration.html#network-mode-settings | ||
| export MAGPIE_NETWORK_PEM_DIR='${BIRDHOUSE_DATA_PERSIST_ROOT}/magpie_pem' | ||
| export MAGPIE_NETWORK_ENABLED=false # Note: by default network mode is off (false) | ||
| export MAGPIE_NETWORK_INSTANCE_NAME= # Note: this must be a unique name in the network so no default is set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we do something, like a pre-compose... file, that verifies that it is set if enabled, logs an error & aborts if detected?
| [//]: # (list changes here, using '-' for each new entry, remove this when items are added) | ||
| ## Changes | ||
|
|
||
| - Update `magpie` to version 5.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it is a major, a note is warranted to indicate that it does not impact existing DB/migration stuff. It only adds extra tables if network mode is enabled, but fully backward compatible.
Expecting @tlvu will have this question 😉
E2E Test ResultsDACCS-iac Pipeline ResultsBuild URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/3989/Result ❌ FAILUREBIRDHOUSE_DEPLOY_BRANCH : magpie-networking DACCS_IAC_BRANCH : master DACCS_CONFIGS_BRANCH : master PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master PAVICS_SDI_BRANCH : master DESTROY_INFRA_ON_EXIT : true PAVICS_HOST : https://host-140-91.rdext.crim.ca PAVICS-e2e-workflow-tests Pipeline ResultsTests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/620/NOTEBOOK TEST RESULTS |
Overview
This update to Magpie introduces network mode.
This is disabled by default to ensure backwards compatibility but can be enabled by setting
MAGPIE_NETWORK_ENABLED=truein your local environment file.Note that enabling network mode also requires setting
MAGPIE_NETWORK_INSTANCE_NAMEto a unique name within the network.This change also introduces the ability to set all configuration options for Magpie's network mode as environment variables in the local environment file.
Note that all of these configuration options will be ignored if
MAGPIE_NETWORK_ENABLEDisfalse.Changes
Non-breaking changes
Breaking changes
Related Issue / Discussion
Additional Information
CI Operations
birdhouse_daccs_configs_branch: master
birdhouse_skip_ci: false