Skip to content

Commit

Permalink
Changes for OpenSearch end-to-end tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Apr 1, 2024
1 parent 3e5a009 commit 6b1488d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/end_to_end/output_opensearch.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -y update && \
apt-get -y install apt-transport-https apt-utils && \
apt-get -y install libterm-readline-gnu-perl software-properties-common && \
apt-get -y install locales git openjdk-23-jre sudo wget
apt-get -y install locales git sudo wget

# Set terminal to UTF-8 by default.
RUN locale-gen en_US.UTF-8
Expand Down
2 changes: 1 addition & 1 deletion config/jenkins/run_end_to_end_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ COMMAND="./tests/end-to-end.py --config /config/${CONFIGURATION_NAME}.ini --refe

if test "${CONFIGURATION_NAME}" = "output_opensearch";
then
COMMAND="(cd /home/test/opensearch && su -c 'export OPENSEARCH_INITIAL_ADMIN_PASSWORD=Tempor@ryf0rT3st; ./opensearch-tar-install.sh -Eplugins.security.disabled=true' opensearch &); sleep 180; ${COMMAND}";
COMMAND="(cd /home/test/opensearch && su -c 'export JAVA_HOME=/home/test/opensearch/jdk; export OPENSEARCH_INITIAL_ADMIN_PASSWORD=Tempor@ryf0rT3st; ./opensearch-tar-install.sh -Eplugins.security.disabled=true' opensearch &); sleep 180; ${COMMAND}";
fi

docker run -v "${CONFIGURATION_DIRECTORY}:/config:z" -v "${RESULTS_DIRECTORY}:/home/test/plaso/plaso-out:z" -v "${SOURCES_DIRECTORY}:/sources:z" log2timeline/plaso /bin/bash -c "${COMMAND}"

0 comments on commit 6b1488d

Please sign in to comment.