Skip to content

Commit

Permalink
fixed elastic search version and removed debug config
Browse files Browse the repository at this point in the history
  • Loading branch information
holashchand committed Sep 12, 2023
1 parent 33411eb commit 263d211
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 29 deletions.
34 changes: 6 additions & 28 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,6 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- info
- warning
- debug
print_tags:
description: 'True to print to STDOUT'
required: true
type: boolean
tags:
description: 'Test scenario tags'
required: true
type: string
environment:
description: 'Environment to run tests against'
type: environment
required: true

jobs:
build:
Expand All @@ -45,11 +22,12 @@ jobs:
cache: 'maven'
- name: Set up properties
run: sh configure-dependencies.sh
- name: Setup upterm session
uses: lhotari/action-upterm@v1
with:
## limits ssh access and adds the ssh public key for the user which triggered the workflow ie holashchand
limit-access-to-actor: true
# # debug step
# - name: Setup upterm session
# uses: lhotari/action-upterm@v1
# with:
# ## limits ssh access and adds the ssh public key for the user which triggered the workflow ie holashchand
# limit-access-to-actor: true
- name: Build and test
run: make test
# test:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "2.4"

services:
es:
image: docker.elastic.co/elasticsearch/elasticsearch:8.8.1
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.13
environment:
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ private void loadSchemasFromDB() {
logger.info("Exception occurred while loading schema from db: {}", e.getMessage());
} catch (Exception e) {
logger.info("Exception occurred while searching for schemas: {}", e.getMessage());
logger.info("Make sure, you are running a compatible version of search provider");
}
}
}

0 comments on commit 263d211

Please sign in to comment.