From f7b2707b3dd4772caf98dae36d9d8ef7eeb454de Mon Sep 17 00:00:00 2001 From: lobdelle <78931475+lobdelle@users.noreply.github.com> Date: Fri, 5 Nov 2021 16:15:10 -0700 Subject: [PATCH] Update workflow versions to 1.2 and remove dependency install now handled by OpenSearch (#123) Signed-off-by: Eric Lobdell --- .github/workflows/cypress-workflow.yml | 42 +---------------------- .github/workflows/unit-tests-workflow.yml | 2 +- 2 files changed, 2 insertions(+), 42 deletions(-) diff --git a/.github/workflows/cypress-workflow.yml b/.github/workflows/cypress-workflow.yml index 4bf23563d..bb75971fe 100644 --- a/.github/workflows/cypress-workflow.yml +++ b/.github/workflows/cypress-workflow.yml @@ -9,7 +9,7 @@ on: - main - 1.* env: - OPENSEARCH_DASHBOARDS_VERSION: '1.x' + OPENSEARCH_DASHBOARDS_VERSION: '1.2' OPENSEARCH_VERSION: '1.2.0-SNAPSHOT' jobs: tests: @@ -26,46 +26,6 @@ jobs: with: # TODO: Parse this from index management plugin java-version: 14 - # dependencies: OpenSearch - - name: Checkout OpenSearch - uses: actions/checkout@v2 - with: - repository: 'opensearch-project/OpenSearch' - path: OpenSearch - ref: '1.x' - - name: Build OpenSearch - working-directory: ./OpenSearch - run: ./gradlew publishToMavenLocal - # dependencies: common-utils - - name: Checkout common-utils - uses: actions/checkout@v2 - with: - repository: 'opensearch-project/common-utils' - path: common-utils - ref: 'main' - - name: Build common-utils - working-directory: ./common-utils - run: ./gradlew publishToMavenLocal -Dopensearch.version=${{ env.OPENSEARCH_VERSION }} - # dependencies: job-scheduler - - name: Checkout job-scheduler - uses: actions/checkout@v2 - with: - repository: 'opensearch-project/job-scheduler' - path: job-scheduler - ref: 'main' - - name: Build job-scheduler - working-directory: ./job-scheduler - run: ./gradlew publishToMavenLocal -Dopensearch.version=${{ env.OPENSEARCH_VERSION }} - # dependencies: alerting-notification - - name: Checkout alerting - uses: actions/checkout@v2 - with: - repository: 'opensearch-project/alerting' - path: alerting - ref: 'main' - - name: Build alerting - working-directory: ./alerting - run: ./gradlew :alerting-notification:publishToMavenLocal -Dopensearch.version=${{ env.OPENSEARCH_VERSION }} - name: Checkout index management uses: actions/checkout@v2 with: diff --git a/.github/workflows/unit-tests-workflow.yml b/.github/workflows/unit-tests-workflow.yml index 651b707ef..0d983152e 100644 --- a/.github/workflows/unit-tests-workflow.yml +++ b/.github/workflows/unit-tests-workflow.yml @@ -9,7 +9,7 @@ on: - main - development-* env: - OPENSEARCH_DASHBOARDS_VERSION: '1.x' + OPENSEARCH_DASHBOARDS_VERSION: '1.2' jobs: tests: name: Run unit tests