From cd7418fe78bd20cef355c299875fd30cf0926f2a Mon Sep 17 00:00:00 2001 From: dblock Date: Wed, 8 Dec 2021 17:26:43 +0000 Subject: [PATCH 1/2] Hard-code the dependency on OpenSearch 1.1.0. Signed-off-by: dblock --- reports-scheduler/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports-scheduler/build.gradle b/reports-scheduler/build.gradle index ce6ca1d2..5af95cfd 100644 --- a/reports-scheduler/build.gradle +++ b/reports-scheduler/build.gradle @@ -30,7 +30,7 @@ import java.util.concurrent.Callable buildscript { ext { opensearch_group = "org.opensearch" - opensearch_version = System.getProperty("opensearch.version", "1.1.0-SNAPSHOT") + opensearch_version = '1.1.0' // System.getProperty("opensearch.version", "1.1.0-SNAPSHOT") // 1.0.0 -> 1.0.0.0, and 1.0.0-SNAPSHOT -> 1.0.0.0-SNAPSHOT opensearch_build = opensearch_version.replaceAll(/(\.\d)([^\d]*)$/, '$1.0$2') common_utils_version = System.getProperty("common_utils.version", opensearch_build) From f6ff002828420f961108f3ee813bf8642eecc2d1 Mon Sep 17 00:00:00 2001 From: Joshua Li Date: Tue, 7 Dec 2021 10:54:02 -0800 Subject: [PATCH 2/2] Fix apt source and link checker for CI (#245) * Update apt source in CI Signed-off-by: Joshua Li * Try fix link checker Signed-off-by: Joshua Li --- .../workflows/dashboards-reports-test-and-build-workflow.yml | 1 + .github/workflows/link-checker.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dashboards-reports-test-and-build-workflow.yml b/.github/workflows/dashboards-reports-test-and-build-workflow.yml index 5bf943df..cf1d1eb5 100644 --- a/.github/workflows/dashboards-reports-test-and-build-workflow.yml +++ b/.github/workflows/dashboards-reports-test-and-build-workflow.yml @@ -32,6 +32,7 @@ jobs: - name: Add Chromium Binary to Reporting for Testing run: | + sudo apt update sudo apt install -y libnss3-dev fonts-liberation libfontconfig1 cd OpenSearch-Dashboards/plugins/${{ env.PLUGIN_NAME }} wget https://github.com/opendistro-for-elasticsearch/kibana-reports/releases/download/chromium-1.12.0.0/chromium-linux-x64.zip diff --git a/.github/workflows/link-checker.yml b/.github/workflows/link-checker.yml index b6f0fae2..b804cd1f 100644 --- a/.github/workflows/link-checker.yml +++ b/.github/workflows/link-checker.yml @@ -16,7 +16,7 @@ jobs: id: lychee uses: lycheeverse/lychee-action@master with: - args: --accept=200,403,429 "**/*.md" "**/*.txt" + args: --accept=200,403,429 "./**/*.md" "./**/*.txt" env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: Fail if there were link errors