File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -150,13 +150,13 @@ jobs:
150
150
- name : Check If OpenSearch Dashboards Is Ready
151
151
if : ${{ runner.os == 'Linux' }}
152
152
run : |
153
- if timeout 1200 grep -q "bundles compiled successfully after" <(tail -n0 -f dashboard.log); then
154
- echo "OpenSearch Dashboards compiled successfully."
153
+ cd ./OpenSearch-Dashboards
154
+ if timeout 1200 grep -q "http server running" <(tail -n +1 -f dashboard.log); then
155
+ echo "OpenSearch Dashboards started successfully."
155
156
else
156
- echo "Timeout for 1200 seconds reached. OpenSearch Dashboards did not finish compiling ."
157
+ echo "Timeout of 1200 seconds reached. OpenSearch Dashboards did not start successfully ."
157
158
exit 1
158
- fi
159
- working-directory : OpenSearch-Dashboards
159
+ fi&
160
160
161
161
- name : Upload Dashboards logs
162
162
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -163,13 +163,13 @@ jobs:
163
163
- name : Check If OpenSearch Dashboards Is Ready
164
164
if : ${{ runner.os == 'Linux' }}
165
165
run : |
166
- if timeout 1200 grep -q "bundles compiled successfully after" <(tail -n0 -f dashboard.log); then
167
- echo "OpenSearch Dashboards compiled successfully."
166
+ cd ./OpenSearch-Dashboards
167
+ if timeout 1200 grep -q "http server running" <(tail -n +1 -f dashboard.log); then
168
+ echo "OpenSearch Dashboards started successfully."
168
169
else
169
- echo "Timeout for 1200 seconds reached. OpenSearch Dashboards did not finish compiling ."
170
+ echo "Timeout of 1200 seconds reached. OpenSearch Dashboards did not start successfully ."
170
171
exit 1
171
- fi
172
- working-directory : OpenSearch-Dashboards
172
+ fi&
173
173
174
174
- name : Upload Dashboards logs
175
175
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments