-
Notifications
You must be signed in to change notification settings - Fork 906
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
[Plugins] update default url for installing plugins #1316
Conversation
6b47705
to
e0be5a5
Compare
Update old and invalid reference to custom plugins within the OpenSearch Project. Note: At the time that this is committed there is no gurantee that the latest build is the build that was select as the final build. Issue resolved: opensearch-project#1038 Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
e0be5a5
to
d728364
Compare
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!
return [plugin, generatePluginUrl(version, plugin)]; | ||
} | ||
|
||
function generatePluginUrl(version, plugin) { |
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.
Nit: This could have just been in generateUrls
since that function doesn't do anything anymore 😂
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.
I think there is one called generateUrls
(line 42) right?
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
return [plugin, generatePluginUrl(version, plugin)]; | ||
} | ||
|
||
function generatePluginUrl(version, plugin) { |
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.
I think there is one called generateUrls
(line 42) right?
Update old and invalid reference to custom plugins within the OpenSearch Project. Note: At the time that this is committed there is no gurantee that the latest build is the build that was select as the final build. Issue resolved: #1038 Signed-off-by: Kawika Avilla <kavilla414@gmail.com> (cherry picked from commit 9c82c52)
Update old and invalid reference to custom plugins within the OpenSearch Project. Note: At the time that this is committed there is no gurantee that the latest build is the build that was select as the final build. Issue resolved: #1038 Signed-off-by: Kawika Avilla <kavilla414@gmail.com> (cherry picked from commit 9c82c52) Co-authored-by: Kawika Avilla <kavilla414@gmail.com>
const ORIGINAL_PLATFORM = process.platform; | ||
const ORIGINAL_ARCHITECTURE = process.arch; |
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.
This causes tests to be inconsistent depending on which platform/architecture you're running them from.
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.
My snapshots were updated on my arm64 machine and then they failed in GitHub Actions: https://github.com/opensearch-project/OpenSearch-Dashboards/runs/5548019026?check_suite_focus=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.
Going to submit a PR to fix this now.
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.
* The tests assumed that the platform/architecture combo the tests were run from was always linux/x64. * Introduced in opensearch-project#1316. Signed-off-by: Tommy Markley <markleyt@amazon.com>
* The tests assumed that the platform/architecture combo the tests were run from was always linux/x64. * Introduced in opensearch-project#1316. Signed-off-by: Tommy Markley <markleyt@amazon.com>
* The tests assumed that the platform/architecture combo the tests were run from was always linux/x64. * Introduced in #1316. Signed-off-by: Tommy Markley <markleyt@amazon.com>
Description
Update old and invalid reference to custom plugins within
the OpenSearch Project.
Note: At the time that this is committed there is no gurantee
that the latest build is the build that was select as the
final build.
Signed-off-by: Kawika Avilla kavilla414@gmail.com
Issues Resolved
#1038
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr