Skip to content

Commit

Permalink
Update to v4
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Dec 5, 2024
1 parent 43ae747 commit b739ebd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
id: lychee
uses: lycheeverse/lychee-action@master
with:
args: --accept=200,403,429 --max-redirects=10 "./**/*.html" "./**/*.md" "./**/*.txt"
args: --accept=200,403,429 "./**/*.html" "./**/*.md" "./**/*.txt"
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Fail if there were link errors
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Test and Build OpenSearch Observability Backend Plugin

on: [pull_request, push]
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

jobs:
Get-CI-Image-Tag:
Expand All @@ -17,18 +15,18 @@ jobs:
fail-fast: false
matrix:
java: [21]
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
runs-on: ubuntu-latest
container:
# 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:
- uses: actions/checkout@v1
- name: Run start commands
run: ${{ needs.Get-CI-Image-Tag.outputs.ci-image-start-command }}
- uses: actions/checkout@v4

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
Expand All @@ -47,7 +45,7 @@ jobs:
su `id -un 1000` -c "./gradlew build"
- name: Upload coverage
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v4
with:
flags: opensearch-observability
directory: opensearch-observability/
Expand All @@ -59,7 +57,7 @@ jobs:
cp -r ./build/distributions/*.zip opensearch-observability-builds/
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: opensearch-observability-ubuntu-latest
path: opensearch-observability-builds
Expand All @@ -74,7 +72,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
Expand All @@ -91,7 +89,7 @@ jobs:
cp -r ./build/distributions/*.zip opensearch-observability-builds/
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: opensearch-observability-${{ matrix.os }}
path: opensearch-observability-builds

0 comments on commit b739ebd

Please sign in to comment.