Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
test ci docker
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzhuamazon committed Aug 26, 2020
1 parent 60dfaf3 commit 2df7f9e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 20 deletions.
2 changes: 1 addition & 1 deletion elasticsearch/docker/templates/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ RUN mkdir -p /usr/share/supervisor/performance_analyzer/ && \

WORKDIR /usr/share/elasticsearch
COPY --from=prep_es_files --chown=1000:0 /usr/share/elasticsearch /usr/share/elasticsearch
COPY --from=prep_es_files /tmp/jni/libKNNIndexV1_7_3_6.so /usr/lib
COPY --from=prep_es_files /tmp/jni/libKNNIndex*.so /usr/lib

ENV PATH /usr/share/elasticsearch/bin:$PATH

Expand Down
2 changes: 1 addition & 1 deletion elasticsearch/linux_distributions/opendistro-tar-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ echo "downloading $knnlib_latest"
aws s3 cp "s3://artifacts.opendistroforelasticsearch.amazon.com/${knnlib_latest}" ./
unzip opendistro-knnlib*.zip
mkdir -p $PACKAGE_NAME-$OD_VERSION/plugins/opendistro-knn/knn-lib/
mv opendistro-knnlib*/libKNNIndexV1_7_3_6.so $PACKAGE_NAME-$OD_VERSION/plugins/opendistro-knn/knn-lib/
mv -v opendistro-knnlib*/libKNNIndex*.so $PACKAGE_NAME-$OD_VERSION/plugins/opendistro-knn/knn-lib/

# Tar generation
echo "generating tar"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ echo "done plugins"

##Check KNN lib existence in ES TAR distribution
echo "Checking kNN library"
FILE=$ES_KNN_LIB_DIR/libKNNIndexV1_7_3_6.so
FILE=`ls $ES_KNN_LIB_DIR/libKNNIndex*.so`
if test -f "$FILE"; then
echo "FILE EXISTS $FILE"
else
Expand Down
17 changes: 0 additions & 17 deletions elasticsearch/linux_distributions/scripts/preInstall.sh

This file was deleted.

0 comments on commit 2df7f9e

Please sign in to comment.