Skip to content

Commit

Permalink
Fix button label (#2130) (#2131)
Browse files Browse the repository at this point in the history
* Fix button label



* Debug



* look for server running instead of bundles compiled



* increase timeout to 900 seconds



* Actually change timeout to 900 seconds



* Try compile step



* Bash



* Fix messaging + look for start now that compile is different step



---------


(cherry picked from commit dc3e5a9)

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent e0de200 commit a40fe21
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
16 changes: 11 additions & 5 deletions .github/actions/run-cypress-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ runs:
fi
shell: bash

- name: Compile OpenSearch Dashboards
run: |
cd OpenSearch-Dashboards
node scripts/build_opensearch_dashboards_platform_plugins --no-examples --workers=10 --verbose
shell: bash

- name: Run OpenSearch Dashboards with provided configuration
if: ${{ runner.os == 'Linux' }}
run: |
Expand All @@ -84,13 +90,13 @@ runs:
run: |
cd ./OpenSearch-Dashboards
echo "Start checking OpenSearch Dashboards."
for i in {1..60}; do
if grep -q "bundles compiled successfully after" "dashboard.log"; then
echo "OpenSearch Dashboards compiled successfully."
for i in {1..6}; do
if grep -q "http server running" "dashboard.log"; then
echo "OpenSearch Dashboards started successfully."
break
fi
if [ $i -eq 60 ]; then
echo "Timeout for 600 seconds reached. OpenSearch Dashboards did not finish compiling."
if [ $i -eq 6 ]; then
echo "Timeout for 60 seconds reached. OpenSearch Dashboards did not start."
exit 1
fi
sleep 10
Expand Down
2 changes: 1 addition & 1 deletion public/apps/configuration/panels/get-started.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const addBackendStep = {
<ExternalLinkButton
fill
href={DocLinks.BackendConfigurationDoc}
text="Create config.yml"
text="Config.yml documentation"
/>
</EuiFlexItem>
<EuiFlexItem grow={false}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ exports[`Get started (landing page) renders when backend configuration is enable
<ExternalLinkButton
fill={true}
href="https://opensearch.org/docs/latest/security-plugin/configuration/configuration/"
text="Create config.yml"
text="Config.yml documentation"
/>
</EuiFlexItem>
<EuiFlexItem
Expand Down

0 comments on commit a40fe21

Please sign in to comment.