[ES docker] Fixing script compilation settings to resolve CI errors#551
Merged
P1llus merged 1 commit intoelastic:masterfrom Oct 25, 2021
Merged
Conversation
Collaborator
|
Pinging @elastic/integrations (Team:Integrations) |
mtojek
approved these changes
Oct 25, 2021
Contributor
mtojek
left a comment
There was a problem hiding this comment.
LGTM if it helps with problems with starting the 7.16.0 stack.
Member
Author
|
Just waiting for a confirmation that it will still work in 8.0. Or if the defaults in 7.14 is already good enough so these could be removed, because setting these limits is usually a way to resolve painless script compilation rates in older versions. |
Collaborator
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
2 tasks
Member
Author
|
I will merge this for now, to fix CI for any package with 7.16 version constraints. We will discuss 8.0 separately. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR resolves errors like this:
However this is a short term resolution. From 7.16+ it is deprecated to set context specific settings for compilation rates etc, all of these should be removed:
To make this PR work with both older and newer versions however, I have simply added the setting that was missing, so that build can pass on both new and old.
Deprecation notice: https://www.elastic.co/guide/en/elasticsearch/reference/7.16/migrating-7.16.html#breaking_716_cluster_deprecations