Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Update Platforms to Go 1.10 #96

Merged
merged 2 commits into from Feb 23, 2018
Merged

Conversation

dave-tucker
Copy link
Contributor

This adds all platforms up to Go 1.9
Tests are updated to support Go versions > 1.5
The OsList and ArchList variables are removed as they appear unused

Signed-off-by: Dave Tucker dave@dtucker.co.uk

@dave-tucker
Copy link
Contributor Author

Related to #93 - I was maintaining this in a fork... but as upstream is now active (and has CI 🎉 ) I thought I'd open a PR here!

Copy link
Contributor

@ruflin ruflin left a comment

Choose a reason for hiding this comment

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

LGTM :-)

@mattfarina
Copy link
Collaborator

This is a cleanup I wanted to see. Since a couple variables are removed I'm going to give this a good once over and triple check everything.

@mattfarina
Copy link
Collaborator

FYI, I'm going to wait until after the holidays to merge this. Don't want to accidentally break something for someone right now. I didn't forget about it.

@ruflin
Copy link
Contributor

ruflin commented Feb 6, 2018

@mattfarina Small ping on this one ;-)

@Nayana-ibm
Copy link

Curious to know, when this will get merged?

@ruflin
Copy link
Contributor

ruflin commented Feb 23, 2018

I wonder if this PR needs now an update with #107 merged and 1.10 out?

@mitchellh Could you have a look at this PR? It would be really great if gox would support arm. 1.10 could be a follow up PR.

@Nayana-ibm
Copy link

Nayana-ibm commented Feb 23, 2018

@ruflin @mitchellh Also, support for s390x

This adds all platforms up to Go 1.9
Tests are updated to support Go versions > 1.5
The OsList and ArchList variables are removed as they appear unused

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
This commit adds support for Go 1.10
No new platforms were added this release
It also adds a PlatformLatest variable to make it easier to update the
latest version in places where it is returned by default.

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
@dave-tucker
Copy link
Contributor Author

@ruflin updated to include #107 and add support for 1.10

@dave-tucker dave-tucker changed the title Update Platforms to Go 1.9 Update Platforms to Go 1.10 Feb 23, 2018
@mitchellh
Copy link
Owner

Thanks this looks great! Thank you so much. Once the tests pass I'll merge this.

@mitchellh mitchellh merged commit e05df8d into mitchellh:master Feb 23, 2018
@ruflin
Copy link
Contributor

ruflin commented Feb 26, 2018

Thanks a lot @dave-tucker @mitchellh @mattfarina

ruflin added a commit to ruflin/beats that referenced this pull request Feb 26, 2018
With mitchellh/gox#96 gox has been update to support all the platforms for 1.10. Instead of depending on our self defined list as default this changes to dependn on gox defaults.

The difference on platforms built by default looks as following:

Removed:
```
-->     linux/ppc64: github.com/elastic/beats/filebeat
-->   linux/ppc64le: github.com/elastic/beats/filebeat
-->     linux/arm64: github.com/elastic/beats/filebeat
```

Added:
```
-->      darwin/386: github.com/elastic/beats/filebeat
```

It's still possible as before to overwrite these defaults in each Beat.

The gox platforms depend on the go version used. Because of this updating the Go version on our side could bring new platforms. But as we version the go version as part of the repo we would detect this directly. Having said that, recently not new platforms have been added.

This PR also changes the defaults for Filebeat to depend on the gox defaults.
@Nayana-ibm
Copy link

Thanks.. This also covers #85

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants