Skip to content

Commit 045c909

Browse files
removing skills first (#2089) (#2110)
Signed-off-by: Dhrubo Saha <[email protected]> (cherry picked from commit d22dbdd) Co-authored-by: Dhrubo Saha <[email protected]>
1 parent 1cffe21 commit 045c909

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/CI-workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ jobs:
133133
if docker pull opensearchstaging/opensearch:$docker_version
134134
then
135135
echo "FROM opensearchstaging/opensearch:$docker_version" >> Dockerfile
136+
echo "RUN if [ -d /usr/share/opensearch/plugins/opensearch-skills ]; then /usr/share/opensearch/bin/opensearch-plugin remove opensearch-skills; fi" >> Dockerfile
136137
echo "RUN if [ -d /usr/share/opensearch/plugins/opensearch-ml ]; then /usr/share/opensearch/bin/opensearch-plugin remove opensearch-ml; fi" >> Dockerfile
137138
echo "COPY $plugin /tmp/" >> Dockerfile
138139
echo "RUN /usr/share/opensearch/bin/opensearch-plugin install --batch file:/tmp/$plugin" >> Dockerfile

0 commit comments

Comments
 (0)