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
What is the bug?
After introducing a custom script to build security dashboards plugin, builds started failing with a different error than cypress version mismatch. How can one reproduce the bug?
2024-07-15 01:48:54 INFO Building securityDashboards
2024-07-15 01:48:54 INFO Executing "git init" in /tmp/tmpadrx3m18/securityDashboards
2024-07-15 01:48:54 INFO Executing "git remote add origin https://github.com/opensearch-project/security-dashboards-plugin.git" in /tmp/tmpadrx3m18/securityDashboards
2024-07-15 01:48:54 INFO Executing "git fetch --depth 1 origin main" in /tmp/tmpadrx3m18/securityDashboards
2024-07-15 01:48:55 INFO Executing "git checkout FETCH_HEAD" in /tmp/tmpadrx3m18/securityDashboards
2024-07-15 01:48:55 INFO Executing "git rev-parse HEAD" in /tmp/tmpadrx3m18/securityDashboards
2024-07-15 01:48:55 INFO Checked out https://github.com/opensearch-project/security-dashboards-plugin.git@main into /tmp/tmpadrx3m18/securityDashboards at e35f7f767b69e88dbedab50b609ef84361572ae8
2024-07-15 01:48:55 INFO Executing "bash /tmp/tmpadrx3m18/securityDashboards/scripts/build.sh -v 3.0.0 -p linux -a x64 -s false -o builds" in /tmp/tmpadrx3m18/securityDashboards
+++ realpath /tmp/tmpadrx3m18/securityDashboards/scripts/build.sh
++ dirname /tmp/tmpadrx3m18/securityDashboards/scripts/build.sh
+ SCRIPT_DIR=/tmp/tmpadrx3m18/securityDashboards/scripts
+ . /tmp/tmpadrx3m18/securityDashboards/scripts/../../../lib/shell/file_management.sh
/tmp/tmpadrx3m18/securityDashboards/scripts/build.sh: line 14: /tmp/tmpadrx3m18/securityDashboards/scripts/../../../lib/shell/file_management.sh: No such file or directory
2024-07-15 01:48:55 ERROR ERROR: Command 'bash /tmp/tmpadrx3m18/securityDashboards/scripts/build.sh -v 3.0.0 -p linux -a x64 -s false -o builds' returned non-zero exit status 1.
2024-07-15 01:48:55 ERROR Error building securityDashboards, retry with: ./build.sh manifests/3.0.0/opensearch-dashboards-3.0.0.yml --component securityDashboards
What is the expected behavior?
Builds successfully What is your host/environment?
OS: [e.g. iOS]
Version [e.g. 22]
Plugins
Do you have any screenshots?
No Do you have any additional context?
It seems like the relative path is messed up, and would be different than the script being run in the build repo. After changing the relative path it should work.
The text was updated successfully, but these errors were encountered:
What is the bug?
After introducing a custom script to build security dashboards plugin, builds started failing with a different error than cypress version mismatch.
How can one reproduce the bug?
What is the expected behavior?
Builds successfully
What is your host/environment?
Do you have any screenshots?
No
Do you have any additional context?
It seems like the relative path is messed up, and would be different than the script being run in the build repo. After changing the relative path it should work.
The text was updated successfully, but these errors were encountered: