From 045c9098a5d2daa0add6b9b5489b659c6b073032 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Wed, 14 Feb 2024 13:30:58 -0800 Subject: [PATCH] removing skills first (#2089) (#2110) Signed-off-by: Dhrubo Saha (cherry picked from commit d22dbdd90cd71eea7bc618659e393ede6ad6733f) Co-authored-by: Dhrubo Saha --- .github/workflows/CI-workflow.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/CI-workflow.yml b/.github/workflows/CI-workflow.yml index 1b25a03353..7077a70031 100644 --- a/.github/workflows/CI-workflow.yml +++ b/.github/workflows/CI-workflow.yml @@ -133,6 +133,7 @@ jobs: if docker pull opensearchstaging/opensearch:$docker_version then echo "FROM opensearchstaging/opensearch:$docker_version" >> Dockerfile + echo "RUN if [ -d /usr/share/opensearch/plugins/opensearch-skills ]; then /usr/share/opensearch/bin/opensearch-plugin remove opensearch-skills; fi" >> Dockerfile echo "RUN if [ -d /usr/share/opensearch/plugins/opensearch-ml ]; then /usr/share/opensearch/bin/opensearch-plugin remove opensearch-ml; fi" >> Dockerfile echo "COPY $plugin /tmp/" >> Dockerfile echo "RUN /usr/share/opensearch/bin/opensearch-plugin install --batch file:/tmp/$plugin" >> Dockerfile