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

Map all to a subset of platforms for PR builds #5762

Merged
merged 1 commit into from
May 15, 2019

Conversation

AdamBrousseau
Copy link
Contributor

@AdamBrousseau AdamBrousseau commented May 14, 2019

  • xlinux
  • xlinuxXL
  • osx
  • win
  • win32
  • aix
  • plinux
  • zlinux
  • Also change the values to be lists in order to
    support multiple values

[skip ci]
Related #2836

Signed-off-by: Adam Brousseau adam.brousseau88@gmail.com

@AdamBrousseau
Copy link
Contributor Author

adam compile all jdk11

@AdamBrousseau AdamBrousseau changed the title Map all to a subset of platforms for PR builds WIP: Map all to a subset of platforms for PR builds May 14, 2019
@AdamBrousseau
Copy link
Contributor Author

adam compile all jdk11

@AdamBrousseau
Copy link
Contributor Author

adam compile all,osxxl jdk11

@AdamBrousseau
Copy link
Contributor Author

https://ci.eclipse.org/openj9/view/Pull%20Requests/job/Adam-PullRequest-OpenJ9/21/console

00:00:53.170  PLATFORMS:'[ppc64le_linux, s390x_linux, x86-64_linux, x86-64_linux_xl, ppc64_aix, x86-64_windows, x86-32_windows, x86-64_mac, x86-64_mac_xl]'
[Pipeline] echo
00:00:53.180  Warning: Selected Java versions (11) for x86-32_windows is not supported(nothing to do)!

@AdamBrousseau
Copy link
Contributor Author

adam compile osxxl jdk11

@AdamBrousseau
Copy link
Contributor Author

AdamBrousseau commented May 14, 2019

@AdamBrousseau
Copy link
Contributor Author

@vsebe for review

@AdamBrousseau AdamBrousseau changed the title WIP: Map all to a subset of platforms for PR builds Map all to a subset of platforms for PR builds May 14, 2019
@@ -673,7 +673,9 @@ def setup_pull_request() {
PARSED_PLATFORMS.each { SHORT ->
LONG_PLATFORM = SHORT_NAMES["${SHORT}"]
if (LONG_PLATFORM) {
PLATFORMS.add(LONG_PLATFORM)
LONG_PLATFORM.tokenize(',').each {
Copy link
Contributor

Choose a reason for hiding this comment

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

Use List.addAll(): PLATFORMS.addAll(LONG_PLATFORM.tokenize(','))

Copy link
Contributor Author

@AdamBrousseau AdamBrousseau May 15, 2019

Choose a reason for hiding this comment

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

Don't think we need the tokenize with the addAll

00:00:56.736  PLATFORMS:'[ppc64le_linux, s390x_linux, x86-64_linux, x86-64_linux_xl, ppc64_aix, x86-64_windows, x86-32_windows, x86-64_mac, x86-64_mac_xl]'

@@ -91,7 +91,7 @@ SPECS = ['ppc64_aix' : CURRENT_RELEASES,

// SHORT_NAMES is used for PullRequest triggers
// TODO Combine SHORT_NAMES and SPECS
SHORT_NAMES = ['all' : 'all',
SHORT_NAMES = ['all' : 'ppc64le_linux,s390x_linux,x86-64_linux,x86-64_linux_xl,ppc64_aix,x86-64_windows,x86-32_windows,x86-64_mac',
Copy link
Contributor

Choose a reason for hiding this comment

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

Could this be a List instead of a comma separated strings (thus remove LONG_PLATFORM.tokenize(',') in pipeline-functions)?

@AdamBrousseau
Copy link
Contributor Author

adam compile all,osxxl jdk11

@AdamBrousseau
Copy link
Contributor Author

adam compile osxxl jdk11

@AdamBrousseau
Copy link
Contributor Author

adam compile all jdk11

@AdamBrousseau
Copy link
Contributor Author

Looks good. Please review

- xlinux
- xlinuxXL
- osx
- win
- win32
- aix
- plinux
- zlinux
- Also change the values to be lists in order to
  support multiple values

[skip ci]
Related eclipse-openj9#2836

Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
@pshipton pshipton merged commit abf2e13 into eclipse-openj9:master May 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants