Skip to content

Commit

Permalink
[CI/CD] Add single version flag during bootstrap to fix version confl…
Browse files Browse the repository at this point in the history
…icts (opensearch-project#269)

Signed-off-by: Ryan Liang <[email protected]>
  • Loading branch information
RyanL1997 authored Feb 19, 2024
1 parent 2d85d53 commit 9188921
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cypress-e2e-sql-workbench-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:

- name: Boodstrap Opensearch Dashboards
run: |
yarn osd bootstrap
yarn osd bootstrap --single-version=loose
working-directory: OpenSearch-Dashboards

- name: Run Opensearch Dashboards with Query Workbench Installed
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ftr-e2e-sql-workbench-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:

- name: Boodstrap Opensearch Dashboards
run: |
yarn osd bootstrap
yarn osd bootstrap --single-version=loose
working-directory: OpenSearch-Dashboards

- name: Run Opensearch Dashboards with Query Workbench Installed
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Bootstrap the plugin
working-directory: OpenSearch-Dashboards/plugins/${{ env.PLUGIN_NAME }}
run: yarn osd bootstrap
run: yarn osd bootstrap --single-version=loose

- name: Get list of changed files using GitHub Action
uses: lots0logs/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sql-workbench-test-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
cd ./OpenSearch-Dashboards/
su `id -un 1000` -c "source $NVM_DIR/nvm.sh && nvm use && node -v && yarn -v &&
cd ./plugins/dashboards-query-workbench &&
whoami && yarn osd bootstrap && yarn run test:jest --coverage"
whoami && yarn osd bootstrap --single-version=loose && yarn run test:jest --coverage"
- name: Upload coverage
if: always()
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
- name: Bootstrap plugin/opensearch-dashboards
run: |
cd OpenSearch-Dashboards/plugins/dashboards-query-workbench
yarn osd bootstrap
yarn osd bootstrap --single-version=loose
- name: Test
run: |
cd OpenSearch-Dashboards/plugins/dashboards-query-workbench
Expand Down

0 comments on commit 9188921

Please sign in to comment.