Skip to content

Commit

Permalink
Merge branch 'main' into add-jwt-multiauth
Browse files Browse the repository at this point in the history
  • Loading branch information
derek-ho authored Oct 2, 2024
2 parents 529db2e + dc3e5a9 commit f0a42fc
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 @@ -63,6 +63,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 @@ -80,13 +86,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 f0a42fc

Please sign in to comment.