Skip to content

Commit

Permalink
Fix: Github CI build fix (#701) (#703)
Browse files Browse the repository at this point in the history
* Apply fix for node version mismathc

Signed-off-by: Andy Kwok <andy.kwok@improving.com>

* Apply docker start cmd

Signed-off-by: Andy Kwok <andy.kwok@improving.com>

* Revert windows and mac

Signed-off-by: Andy Kwok <andy.kwok@improving.com>

* Update jvm distribution

Signed-off-by: Andy Kwok <andy.kwok@improving.com>

* Update changelog

Signed-off-by: Andy Kwok <andy.kwok@improving.com>

* Update changelog

Signed-off-by: Andy Kwok <andy.kwok@improving.com>

---------

Signed-off-by: Andy Kwok <andy.kwok@improving.com>
(cherry picked from commit 35e3106)

Co-authored-by: Andy Kwok <andy.kwok@improving.com>
  • Loading branch information
1 parent 021d2d9 commit dd4a4af
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
branches:
- "*"
- "feature/**"
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

jobs:
Get-CI-Image-Tag:
uses: opensearch-project/opensearch-build/.github/workflows/get-ci-image-tag.yml@main
Expand All @@ -29,16 +26,19 @@ jobs:
# using the same image which is used by opensearch-build team to build the OpenSearch Distribution
# this image tag is subject to change as more dependencies and updates will arrive over time
image: ${{ needs.Get-CI-Image-Tag.outputs.ci-image-version-linux }}
# need to switch to root so that github actions can install runner binary on container without permission issues.
options: --user root
options: ${{ needs.Get-CI-Image-Tag.outputs.ci-image-start-options }}

steps:
- name: Run start commands
run: ${{ needs.Get-CI-Image-Tag.outputs.ci-image-start-command }}

- name: Checkout geospatial
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Setup Java ${{ matrix.java }}
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: ${{ matrix.java }}

- name: Run build
Expand All @@ -47,7 +47,7 @@ jobs:
su `id -un 1000` -c "./gradlew build"
- name: Upload Coverage Report
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ See the [CONTRIBUTING guide](./CONTRIBUTING.md#Changelog) for instructions on ho
### Enhancements
### Bug Fixes
### Infrastructure
- Github ci-runner Node.js issue fix ([#701](https://github.com/opensearch-project/geospatial/pull/701))
### Documentation
### Maintenance
### Refactoring

0 comments on commit dd4a4af

Please sign in to comment.