Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix elastic docker compose error for azure ci #9065

Conversation

pvliss
Copy link
Contributor

@pvliss pvliss commented Jan 15, 2019

So the real problem seemed to be at test-integration/scripts/20-no-memory-limit-elasticsearch.sh which was commenting out environment and the fact that discovery.type was moved out of commands group and within environment.

  • Please make sure the below checklist is followed for Pull Requests.

  • Travis tests are green

  • Tests are added where necessary

  • Documentation is added/updated where necessary

  • Coding Rules & Commit Guidelines as per our CONTRIBUTING.md document are followed

- do NOT comment out the environment group from elasticsearch.yml
- update docker-compose format version to 2.2
- enclosed discovery.type=single-node within double quotes
@pvliss
Copy link
Contributor Author

pvliss commented Jan 15, 2019

Note, while the CI build still fails, it fails further on at the e2e tests and not when setting up the docker images

@@ -5,7 +5,7 @@ source $(dirname $0)/00-init-env.sh

cd "$JHI_FOLDER_APP"
if [ -a src/main/docker/elasticsearch.yml ]; then
sed -i -e 's/ environment:/ # environment:/1;' src/main/docker/elasticsearch.yml
#sed -i -e 's/ environment:/ # environment:/1;' src/main/docker/elasticsearch.yml
Copy link
Member

@pascalgrimaud pascalgrimaud Jan 15, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as this line will be useless, could you remove it, instead of commenting it ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

- removed commented out line
@pascalgrimaud
Copy link
Member

@pvliss @DanielFran : I didn't follow closely what you did with Elasticsearch changes this afternoon, but do you think this PR is needed ? I think yes

@pvliss
Copy link
Contributor Author

pvliss commented Jan 15, 2019 via email

@pascalgrimaud pascalgrimaud merged commit 7509cca into jhipster:spring-boot_2.1.0 Jan 15, 2019
@pascalgrimaud
Copy link
Member

Don't be sorry for helping JHipster!
You're awesome @pvliss !

@pvliss
Copy link
Contributor Author

pvliss commented Jan 15, 2019

@pascalgrimaud Thank you very much and mainly thank you for building such an awesome project and community!!! 👍

@pvliss pvliss deleted the fix-elastic-docker-for-azure-ci branch January 15, 2019 19:12
@jdubois jdubois added this to the 5.8.0 milestone Jan 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants