Skip to content

Commit

Permalink
Update workflow versions to 1.2 and remove dependency install now han…
Browse files Browse the repository at this point in the history
…dled by OpenSearch (#123)

Signed-off-by: Eric Lobdell <[email protected]>
  • Loading branch information
lobdelle authored Nov 5, 2021
1 parent 5fb620e commit f7b2707
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 42 deletions.
42 changes: 1 addition & 41 deletions .github/workflows/cypress-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main
- development-*
env:
OPENSEARCH_DASHBOARDS_VERSION: '1.x'
OPENSEARCH_DASHBOARDS_VERSION: '1.2'
jobs:
tests:
name: Run unit tests
Expand Down

0 comments on commit f7b2707

Please sign in to comment.