From 88949f6f1e2b0961b150fce31c6eb0ac42f0537c Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Wed, 30 Nov 2022 11:25:06 -0800 Subject: [PATCH] Adjust OpenSearch-Dashboards version used by test workflows. (#363) (#371) Signed-off-by: AWSHurneyt Signed-off-by: AWSHurneyt (cherry picked from commit 6dbff4895dc175ef6335df03404482c3be473cd6) Co-authored-by: AWSHurneyt --- .github/workflows/cypress-workflow.yml | 5 +++-- .github/workflows/unit-tests-workflow.yml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cypress-workflow.yml b/.github/workflows/cypress-workflow.yml index 19b01ce67..b62162a61 100644 --- a/.github/workflows/cypress-workflow.yml +++ b/.github/workflows/cypress-workflow.yml @@ -7,8 +7,9 @@ on: branches: - "*" env: - OPENSEARCH_DASHBOARDS_VERSION: '2.x' + OPENSEARCH_DASHBOARDS_VERSION: '2.4.0' OPENSEARCH_VERSION: '2.4.0-SNAPSHOT' + ALERTING_PLUGIN_BRANCH: '2.4' jobs: tests: name: Run Cypress E2E tests @@ -29,7 +30,7 @@ jobs: with: path: alerting repository: opensearch-project/alerting - ref: 'main' + ref: ${{ env.ALERTING_PLUGIN_BRANCH }} - name: Run Opensearch with plugin run: | cd alerting diff --git a/.github/workflows/unit-tests-workflow.yml b/.github/workflows/unit-tests-workflow.yml index 827e472e6..7c922e6a9 100644 --- a/.github/workflows/unit-tests-workflow.yml +++ b/.github/workflows/unit-tests-workflow.yml @@ -7,7 +7,7 @@ on: branches: - "*" env: - OPENSEARCH_DASHBOARDS_VERSION: '2.4' + OPENSEARCH_DASHBOARDS_VERSION: '2.4.0' jobs: tests: name: Run unit tests