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 (#341)

* Add single version flag during bootstrap to fix version conflicts

Signed-off-by: Ryan Liang <[email protected]>

* Add the flag to build workflow too

Signed-off-by: Ryan Liang <[email protected]>

* Add the flag to build workflow too 2

Signed-off-by: Ryan Liang <[email protected]>

---------

Signed-off-by: Ryan Liang <[email protected]>
(cherry picked from commit 3b4d3a2)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Feb 19, 2024
1 parent af28850 commit 3dfd676
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cypress-e2e-gantt-chart-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,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 Gantt Chart Installed
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ftr-e2e-gantt-chart-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,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 Gantt Chart 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 @@ -45,7 +45,7 @@ jobs:
- name: Bootstrap the plugin
working-directory: OpenSearch-Dashboards/plugins/dashboards-visualizations
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
6 changes: 3 additions & 3 deletions .github/workflows/test-and-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
cd OpenSearch-Dashboards/
su `id -un 1000` -c "source $NVM_DIR/nvm.sh && nvm use && node -v && yarn -v &&
cd ./plugins/dashboards-visualizations &&
whoami && yarn osd bootstrap && yarn lint:style && yarn test --coverage"
whoami && yarn osd bootstrap --single-version=loose && yarn lint:style && yarn test --coverage"
- name: Upload coverage
uses: codecov/codecov-action@v1
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
- name: Plugin Bootstrap
run: |
cd ./OpenSearch-Dashboards/plugins/dashboards-visualizations
yarn osd bootstrap
yarn osd bootstrap --single-version=loose
- name: Run Stylelint
run: |
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
- name: Plugin Bootstrap
run: |
cd ./OpenSearch-Dashboards/plugins/dashboards-visualizations
yarn osd bootstrap
yarn osd bootstrap --single-version=loose
- name: Run Stylelint
run: |
Expand Down

0 comments on commit 3dfd676

Please sign in to comment.