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

Switch from elasticearch-maven-plugin to docker-maven-plugin to start Elasticsearch for ITs #11599

Merged
merged 3 commits into from
Aug 26, 2020

Conversation

yrodiere
Copy link
Member

Fixes #11597

cc @Sanne @gsmet

@boring-cyborg boring-cyborg bot added area/dependencies Pull requests that update a dependency file area/hibernate-search Hibernate Search labels Aug 25, 2020
@yrodiere yrodiere changed the title Switch from elasticearch-maven-plugin to docker-maven-plugin to startElasticsearch for ITs Switch from elasticearch-maven-plugin to docker-maven-plugin to start Elasticsearch for ITs Aug 25, 2020
Copy link
Member

@Sanne Sanne left a comment

Choose a reason for hiding this comment

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

Looks good, but in other ITs we make sure to only expect docker if the docker profile is activated. Could you do the same?

Also I think we should adapt the tasks in .github/ actions to pre-start a single ES container for the group. Not sure if that's easy to adapt? Feel free to spin this off as a separate task, as it would be less urgent.

@yrodiere yrodiere requested a review from Sanne August 25, 2020 13:17
@boring-cyborg boring-cyborg bot added the area/infra-automation anything related to CI, bots, etc. that are used to automated our infrastructure label Aug 25, 2020
@yrodiere
Copy link
Member Author

@Sanne I think I did what you wanted.

@yrodiere yrodiere force-pushed the i11597 branch 2 times, most recently from 9e6f7b1 to 94028a6 Compare August 25, 2020 15:54
@yrodiere
Copy link
Member Author

The build failed, but the failures seem unrelated, and likely transient. I just force-pushed to trigger another build.

<goal>exec</goal>
</goals>
<configuration>
<executable>${basedir}/../../.github/docker-prune.sh</executable>
Copy link
Member

Choose a reason for hiding this comment

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

Interesting, I just learned about this script.

Copy link
Member Author

Choose a reason for hiding this comment

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

I copy-pasted that from another pom file. Not sure it's useful, but well... that's how it works everywhere else 🤷

Copy link
Member

@Sanne Sanne left a comment

Choose a reason for hiding this comment

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

Perfect, thanks!

@Sanne Sanne added this to the 1.8.0 - master milestone Aug 26, 2020
@Sanne Sanne merged commit 239a860 into quarkusio:master Aug 26, 2020
zakkak added a commit to zakkak/mandrel that referenced this pull request Aug 26, 2020
@yrodiere yrodiere deleted the i11597 branch May 17, 2021 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dependencies Pull requests that update a dependency file area/hibernate-search Hibernate Search area/infra-automation anything related to CI, bots, etc. that are used to automated our infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid starting Elasticsearch with UseConcMarkSweepGC (on the primary JVM)
2 participants