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 building bwc versions #40361

Merged
merged 1 commit into from
Mar 22, 2019
Merged

Fix building bwc versions #40361

merged 1 commit into from
Mar 22, 2019

Conversation

alpar-t
Copy link
Contributor

@alpar-t alpar-t commented Mar 22, 2019

we have to account for openjdk when figuring out what java version to
use for building bwc versions.

we have to account for openjdk when figuring out what java version to
use for building bwc versions.
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@alpar-t
Copy link
Contributor Author

alpar-t commented Mar 22, 2019

@elasticmachine test this please

1 similar comment
@alpar-t
Copy link
Contributor Author

alpar-t commented Mar 22, 2019

@elasticmachine test this please

Copy link
Contributor

@pgomulka pgomulka left a comment

Choose a reason for hiding this comment

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

LGTM once the CI is green

@@ -169,8 +169,9 @@ bwcVersions.forPreviousUnreleased { BwcVersions.UnreleasedVersionInfo unreleased
'JAVA_HOME',
getJavaHome(it, Integer.parseInt(
lines
.findAll({ it.startsWith("ES_BUILD_JAVA=java") })
.findAll({ it.startsWith("ES_BUILD_JAVA=")})
Copy link
Contributor

Choose a reason for hiding this comment

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

should the ES_RUNTIME_JAVA be updated too?
Should we also update the .ci/java-versions.properties ?

Copy link
Contributor

Choose a reason for hiding this comment

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

also should we change this line below?
.collect({ it.replace("ES_BUILD_JAVA=java", "").trim() })

Copy link
Contributor

@pgomulka pgomulka left a comment

Choose a reason for hiding this comment

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

actually not sure if this will pass - still failing for me locally

@alpar-t
Copy link
Contributor Author

alpar-t commented Mar 22, 2019

@elasticmachine run elasticsearch-ci/1

@gwbrown gwbrown merged commit 195aa64 into elastic:master Mar 22, 2019
gwbrown pushed a commit that referenced this pull request Mar 22, 2019
Account for openjdk when figuring out what java version to
use for building bwc versions.
gwbrown pushed a commit that referenced this pull request Mar 22, 2019
Account for openjdk when figuring out what java version to
use for building bwc versions.
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Mar 22, 2019
…-stop-time

* elastic/master:
  Muting test testExtractIndexCheckpointsInconsistentGlobalCheckpoints (elastic#40371)
  DOC: polish client docs
  Fix building bwc versions (elastic#40361)
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Mar 22, 2019
* elastic/master:
  [DOCS] Adds notable highlights tags (elastic#40330)
  [ML] making test more determinate (elastic#40374)
  [ML] adds support for non-numeric mapped types (elastic#40220)
  Move outbound message handling to OutboundHandler (elastic#40336)
  Add implicit this for class binding in Painless (elastic#40285)
  Muting test testExtractIndexCheckpointsInconsistentGlobalCheckpoints (elastic#40371)
  DOC: polish client docs
  Fix building bwc versions (elastic#40361)
@alpar-t alpar-t deleted the fix-bwc-builds branch March 25, 2019 07:05
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Build Build or test infrastructure >non-issue Team:Delivery Meta label for Delivery team v7.0.0-rc1 v7.2.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants