diff --git a/.github/workflows/opensearch-observability-test-and-build-workflow.yml b/.github/workflows/opensearch-observability-test-and-build-workflow.yml index 011b0719b..5990f2b8e 100644 --- a/.github/workflows/opensearch-observability-test-and-build-workflow.yml +++ b/.github/workflows/opensearch-observability-test-and-build-workflow.yml @@ -2,18 +2,13 @@ name: Test and Build OpenSearch Observability Backend Plugin on: [pull_request, push] -env: - OPENSEARCH_VERSION: '2.0.0-SNAPSHOT' - OPENSEARCH_BRANCH: '2.0' - COMMON_UTILS_BRANCH: 'main' - jobs: build: strategy: matrix: java: - 11 - - 14 + - 17 runs-on: ubuntu-latest @@ -34,7 +29,7 @@ jobs: - name: Build with Gradle run: | cd opensearch-observability - ./gradlew build -Dopensearch.version=${{ env.OPENSEARCH_VERSION }} + ./gradlew build - name: Upload coverage uses: codecov/codecov-action@v1 diff --git a/DEVELOPER_GUIDE.md b/DEVELOPER_GUIDE.md index 0d38ef640..7a1fde32a 100644 --- a/DEVELOPER_GUIDE.md +++ b/DEVELOPER_GUIDE.md @@ -10,10 +10,7 @@ OpenSearch builds using Java 11 at a minimum. This means you must have a JDK 11 installed with the environment variable `JAVA_HOME` referencing the path to Java home for your JDK 11 installation, e.g. `JAVA_HOME=/usr/lib/jvm/jdk-11`. -By default, tests use the same runtime as `JAVA_HOME`. However, since OpenSearch -supports JDK 8, the build supports compiling with JDK 11 and testing on a different -version of JDK runtime. To do this, set `RUNTIME_JAVA_HOME` pointing to the Java home of -another JDK installation, e.g. `RUNTIME_JAVA_HOME=/usr/lib/jvm/jdk-8`. +By default, tests use the same runtime as `JAVA_HOME`. ### Setup diff --git a/dashboards-observability/public/components/application_analytics/__tests__/__snapshots__/create.test.tsx.snap b/dashboards-observability/public/components/application_analytics/__tests__/__snapshots__/create.test.tsx.snap index b7e4195f2..03cda5c00 100644 --- a/dashboards-observability/public/components/application_analytics/__tests__/__snapshots__/create.test.tsx.snap +++ b/dashboards-observability/public/components/application_analytics/__tests__/__snapshots__/create.test.tsx.snap @@ -14,13 +14,13 @@ Object { style="max-width: 1130px;" >