You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BUG] Run CI checks after building OSD, security-dashboards-plugin zip and installing with the ./bin/opensearch-dashboards-plugin install file:/path/to/security-dashboards-plugin.zip
#1709
Closed
cwperks opened this issue
Dec 26, 2023
· 2 comments
· Fixed by #1726
When security-dashboards-plugin runs OpenSearch-Dashboards w/ the security dashboards plugin installed, it starts OSD using yarn start instead of a built version of OSD and using the executable script ./bin/opensearch-dashboards.
There's been a couple of issues that have slipped by the CI checks that would be caught with this.
The CI checks should be refactored to build OSD, security-dashboards-plugin and install the dashboards plugin using the dashboards-plugin install executable.
In OSD-Core run yarn build. Output is in ./build/opensearch-dashboards-{version}-{platform}-{architecture}/
In security-dashboards-plugin run yarn build. Output is in ./build/security-dashboards-{version}.zip
Install the dashboards plugin. In ./build/opensearch-dashboards-{version}-{platform}-{architecture}/ run ./bin/opensearch-dashboards-plugin install file:/path/to/security-dashboards-plugin.zip
Run OSD with ./bin/opensearch-dashboards
The text was updated successfully, but these errors were encountered:
What is the bug?
When security-dashboards-plugin runs OpenSearch-Dashboards w/ the security dashboards plugin installed, it starts OSD using
yarn start
instead of a built version of OSD and using the executable script./bin/opensearch-dashboards
.There's been a couple of issues that have slipped by the CI checks that would be caught with this.
The CI checks should be refactored to build OSD, security-dashboards-plugin and install the dashboards plugin using the dashboards-plugin install executable.
yarn build
. Output is in./build/opensearch-dashboards-{version}-{platform}-{architecture}/
yarn build
. Output is in./build/security-dashboards-{version}.zip
./build/opensearch-dashboards-{version}-{platform}-{architecture}/
run./bin/opensearch-dashboards-plugin install file:/path/to/security-dashboards-plugin.zip
./bin/opensearch-dashboards
The text was updated successfully, but these errors were encountered: