Skip to content

Commit c31e8f3

Browse files
opensearch-trigger-bot[bot]derek-ho
andauthoredFeb 20, 2024
Add loose flag to OSD bootstrap (#1787) (#1789)
Signed-off-by: Derek Ho <dxho@amazon.com> (cherry picked from commit 10646ab) Co-authored-by: Derek Ho <dxho@amazon.com>
1 parent b1d93a5 commit c31e8f3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
 

‎.github/actions/install-dashboards/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ runs:
8181
with:
8282
timeout_minutes: 20
8383
max_attempts: 2
84-
command: yarn --cwd OpenSearch-Dashboards osd bootstrap --oss
84+
command: yarn --cwd OpenSearch-Dashboards osd bootstrap --oss --single-version=loose # loose is passed in to ignore version conflicts on cypress version used in OSD and this repo

‎.github/workflows/verify-binary-installation.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,15 @@ jobs:
8585
node-version: ${{ steps.tool-versions.outputs.node_version }}
8686
registry-url: 'https://registry.npmjs.org'
8787

88+
# loose is passed in to ignore version conflicts on cypress version used in OSD and this repo
8889
- name: Setup Opensearch Dashboards
8990
run: |
9091
npm uninstall -g yarn
9192
echo "Installing yarn ${{ steps.tool-versions.outputs.yarn_version }}"
9293
npm i -g yarn@${{ steps.tool-versions.outputs.yarn_version }}
9394
yarn cache clean
9495
yarn add sha.js
95-
yarn osd bootstrap
96+
yarn osd bootstrap --single-version=loose
9697
scripts/use_node scripts/build
9798
working-directory: OpenSearch-Dashboards
9899
shell: bash
@@ -101,9 +102,10 @@ jobs:
101102
with:
102103
path: OpenSearch-Dashboards/plugins/security-dashboards-plugin
103104

105+
# loose is passed in to ignore version conflicts on cypress version used in OSD and this repo
104106
- name: Install dependencies
105107
run: |
106-
yarn osd bootstrap
108+
yarn osd bootstrap --single-version=loose
107109
working-directory: OpenSearch-Dashboards
108110
shell: bash
109111

0 commit comments

Comments
 (0)