Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add loose flag to OSD bootstrap #1787

Merged
merged 2 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/install-dashboards/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,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
Loading