Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions bin/lib/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,6 @@ _validate_docker_version() {
echo_debug "3 - ${tmp_minor}"
det_docker_minor="${tmp_minor%.*}"
echo_debug "4 - ${det_docker_minor}"
det_docker_patch="${det_docker_version##*.}"
echo_debug "5 - ${det_docker_patch}"

if [[ "${det_docker_major}" -gt "${req_docker_major}" || \
("${det_docker_major}" -eq "${req_docker_major}" && "${det_docker_minor}" -ge "${req_docker_minor}") || \
Expand Down
2 changes: 1 addition & 1 deletion docker/base-images/Dockerfile.osmt-build
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM wguopensource/osmt-base:latest as osmt-build

ENV M2_VERSION=3.8.6
ENV M2_VERSION=3.8.8
ENV M2_HOME=/usr/local/maven
ENV PATH=${M2_HOME}/bin:${PATH}

Expand Down
1 change: 1 addition & 0 deletions docker/dev-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ services:
- "discovery.type=single-node"
- "net=host"
- "xpack.security.enabled=false"
- "ingest.geoip.downloader.enabled=false"
ports:
- "${ELASTICSEARCH_HTTP_PORT:-9200}:9200"
- "${ELASTICSEARCH_TRANSPORT_PORT:-9300}:9300"
Expand Down
1 change: 1 addition & 0 deletions test/bin/pre_test_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ error_handler() {

main() {
# Sourcing API test env file
#echo OKTA variables are: ${OKTA_URL} ${OKTA_USERNAME} ${OKTA_PASSWORD}
source_env_file_unless_provided_okta "${PROJECT_DIR}/test/osmt-apitest.env"
source_env_file "${PROJECT_DIR}/test/bin/osmt-apitest.rc"

Expand Down
4 changes: 2 additions & 2 deletions test/osmt-apitest.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

# Provide your Okta endpoint and credentials here. This will be used to get a Bearer token for the API tests
OKTA_URL=https://dev-XXXXXXXX.okta.com
OKTA_USERNAME=XXX.XXX@example.com
OKTA_PASSWORD=XXX
OKTA_USERNAME=XXXXXX@example.com
OKTA_PASSWORD=XXXXXX