-
Notifications
You must be signed in to change notification settings - Fork 18
Upgrade to Kibana 7.10.0 #329
Upgrade to Kibana 7.10.0 #329
Conversation
Another thing - can you bump the versions for the test workflows? Regarding the e2e test workflow, I've outlined what I think all needs to be changed based on the new naming conventions here. Let me know and I can put out a follow up PR to handle this as well. |
Sure. will bump the kibana and ODFE version there. |
## Uninstall existing AD artifact and install new one | ||
echo "RUN if [ -d /usr/share/kibana/plugins/opendistro-anomaly-detection-kibana ]; then /usr/share/kibana/bin/kibana-plugin remove opendistro-anomaly-detection-kibana; fi" >> Dockerfile-AD-Kibana | ||
echo "RUN bin/kibana-plugin install file:///usr/share/kibana/opendistro-anomaly-detection-kibana-$plugin_version.zip;" >> Dockerfile-AD-Kibana | ||
echo "RUN if [ -d /usr/share/kibana/plugins/opendistro-anomaly-detection-kibana ]; then /usr/share/kibana/bin/kibana-plugin remove $AD_KIBANA_PLUGIN_NAME; fi" >> Dockerfile-AD-Kibana |
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.
Will need to change the first part of this line too - from opendistro-anomaly-detection-kibana
to AD_KIBANA_PLUGIN_NAME
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.
good catch. done
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.
LGTM, thanks for the changes!
@@ -23,5 +23,6 @@ module.exports = { | |||
require('@babel/plugin-proposal-class-properties'), | |||
require('@babel/plugin-proposal-object-rest-spread'), | |||
['@babel/plugin-transform-modules-commonjs', { allowTopLevelThis: true }], | |||
[require('@babel/plugin-transform-runtime'), { regenerator: true }], |
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.
Thank you. I will also do this line of change when fixing functional tests for Alerting Kibana plugin.
Just a reminder that true
is the default value for the option regenerator
, so I think { regenerator: true }
can be omitted. (https://babeljs.io/docs/en/babel-plugin-transform-runtime#regenerator)
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.
Thanks. good to know!
Issue #, if available:
Description of changes:
Upgrade to Kibana 7.10.0
E2E test passed:
Unit test passed:
yarn build
Have also installed artifact to binary kibana and done some sanity tests.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.