|
52 | 52 | COMMENT_TAG: "[MANUAL CYPRESS TEST RUN RESULTS]" |
53 | 53 | COMMENT_SUCCESS_MSG: ":white_check_mark: Cypress test run succeeded!" |
54 | 54 | COMMENT_FAILURE_MSG: ":x: Cypress test run failed!" |
55 | | - LATEST_VERSION: "2.17.0" |
| 55 | + LATEST_VERSION: '3.3.0' |
56 | 56 |
|
57 | 57 | jobs: |
58 | 58 | cypress-tests: |
@@ -156,8 +156,8 @@ jobs: |
156 | 156 | ${{ (matrix.config == 'query_enhanced' || matrix.config == 'explore') && |
157 | 157 | '/bin/bash -c "./opensearch-${{ env.LATEST_VERSION }}/opensearch-tar-install.sh &"' || |
158 | 158 | matrix.config == 'dashboard' && |
159 | | - 'node scripts/opensearch snapshot -E cluster.routing.allocation.disk.threshold_enabled=false -E search.concurrent_segment_search.mode=none' || |
160 | | - 'node ../scripts/opensearch snapshot -E cluster.routing.allocation.disk.threshold_enabled=false -E search.concurrent_segment_search.mode=none' }} |
| 159 | + 'node scripts/opensearch snapshot -E cluster.routing.allocation.disk.threshold_enabled=false -E search.concurrent_segment_search.mode=none -E action.auto_create_index=true' || |
| 160 | + 'node ../scripts/opensearch snapshot -E cluster.routing.allocation.disk.threshold_enabled=false -E search.concurrent_segment_search.mode=none -E action.auto_create_index=true' }} |
161 | 161 | # prevents extra Cypress installation progress messages |
162 | 162 | CI: 1 |
163 | 163 | # avoid warnings like "tput: No value for $TERM and no -T specified" |
@@ -283,12 +283,22 @@ jobs: |
283 | 283 | rm -f opensearch-*.tar.gz |
284 | 284 | shell: bash |
285 | 285 |
|
286 | | - - name: Remove security plugin |
| 286 | + - name: Remove security plugin and plugins that depend on security |
287 | 287 | if: matrix.config == 'query_enhanced' || matrix.config == 'explore' |
288 | 288 | run: | |
| 289 | + /bin/bash -c "yes | ./opensearch-${{ env.LATEST_VERSION }}/bin/opensearch-plugin remove opensearch-skills" |
| 290 | + /bin/bash -c "yes | ./opensearch-${{ env.LATEST_VERSION }}/bin/opensearch-plugin remove opensearch-ml" |
| 291 | + /bin/bash -c "yes | ./opensearch-${{ env.LATEST_VERSION }}/bin/opensearch-plugin remove opensearch-anomaly-detection" |
289 | 292 | /bin/bash -c "yes | ./opensearch-${{ env.LATEST_VERSION }}/bin/opensearch-plugin remove opensearch-security" |
290 | 293 | shell: bash |
291 | 294 |
|
| 295 | + - name: Configure OpenSearch for index creation |
| 296 | + if: matrix.config == 'query_enhanced' || matrix.config == 'explore' |
| 297 | + run: | |
| 298 | + echo "action.auto_create_index: true" >> ./opensearch-${{ env.LATEST_VERSION }}/config/opensearch.yml |
| 299 | + echo "cluster.routing.allocation.disk.threshold_enabled: false" >> ./opensearch-${{ env.LATEST_VERSION }}/config/opensearch.yml |
| 300 | + shell: bash |
| 301 | + |
292 | 302 | - name: Run OpenSearch |
293 | 303 | if: matrix.config == 'query_enhanced' || matrix.config == 'explore' |
294 | 304 | run: | |
|
0 commit comments