Skip to content

Commit c0a6a69

Browse files
committed
Fix assitant failed due to join cluster
Signed-off-by: Lin Wang <[email protected]>
1 parent c0adff5 commit c0a6a69

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/assistant-release-e2e-workflow.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
test-command: env CYPRESS_DASHBOARDS_ASSISTANT_ENABLED=true yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/dashboards-assistant/*'
2626
osd-serve-args: --assistant.chat.enabled=true
2727
artifact-name-suffix: "-with-security"
28-
28+
2929
tests-without-security:
3030
needs: changes
3131
if: ${{ needs.changes.outputs.tests == 'true' }}
@@ -36,6 +36,8 @@ jobs:
3636
osd-serve-args: --assistant.chat.enabled=true
3737
security-enabled: false
3838
artifact-name-suffix: "-without-security"
39+
multi-opensearch-enabled: false
40+
3941
tests-with-multiple-data-source-and-disabled-local-cluster:
4042
needs: changes
4143
if: ${{ needs.changes.outputs.tests == 'true' }}

.github/workflows/release-e2e-workflow-template.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ on:
1717
artifact-name-suffix:
1818
required: false
1919
type: string
20+
multi-opensearch-enabled:
21+
required: false
22+
type: boolean
23+
default: true
2024
jobs:
2125
tests:
2226
name: Run Cypress E2E tests for ${{ inputs.test-name }}
@@ -72,11 +76,13 @@ jobs:
7276
curl https://localhost:9200 -u admin:${{ env.OPENSEARCH_INITIAL_ADMIN_PASSWORD }} --insecure
7377
fi
7478
- uses: ./.github/actions/start-opensearch
79+
if: ${{ inputs.multi-opensearch-enabled }}
7580
with:
7681
opensearch-version: ${{ env.VERSION }}
7782
security-enabled: false
7883
port: 9201
7984
- uses: ./.github/actions/start-opensearch
85+
if: ${{ inputs.multi-opensearch-enabled }}
8086
with:
8187
opensearch-version: ${{ env.VERSION }}
8288
security-enabled: true

0 commit comments

Comments
 (0)