Skip to content

Commit

Permalink
Add loose flag to OSD bootstrap (#1787)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <[email protected]>
(cherry picked from commit 10646ab)
  • Loading branch information
derek-ho authored and github-actions[bot] committed Feb 19, 2024
1 parent b1d93a5 commit e29fcf0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/install-dashboards/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ runs:
with:
timeout_minutes: 20
max_attempts: 2
command: yarn --cwd OpenSearch-Dashboards osd bootstrap --oss
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
6 changes: 4 additions & 2 deletions .github/workflows/verify-binary-installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,15 @@ jobs:
node-version: ${{ steps.tool-versions.outputs.node_version }}
registry-url: 'https://registry.npmjs.org'

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

# loose is passed in to ignore version conflicts on cypress version used in OSD and this repo
- name: Install dependencies
run: |
yarn osd bootstrap
yarn osd bootstrap --single-version=loose
working-directory: OpenSearch-Dashboards
shell: bash

Expand Down

0 comments on commit e29fcf0

Please sign in to comment.