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

Provide Windows builds and refactor CI #140

Merged
merged 3 commits into from
Nov 9, 2023

Conversation

jkroepke
Copy link
Contributor

@jkroepke jkroepke commented Nov 2, 2023

Issue number of the reported bug or feature request: #

Describe your changes
Unify main.yaml and publish.yaml. This guarantees that that large parts of the CI are tested on PR level.

To create Windows images on linux hosts, see: https://www.docker.com/blog/how-to-rapidly-build-multi-architecture-images-with-buildx/

Instead going crazy with github actions or any shell scripts, we decided to use https://docs.docker.com/build/bake/ to have an clean declarative definition of all docker images builds. I also integrate the vendored builds. (Why we need vendored builds??)

Testing performed
Test performed on fork PR (cloudeteer#1); see action https://github.com/cloudeteer/goldpinger/actions/runs/6737507377/job/18315100155?pr=1

Additional context
An other clean approach would be https://goreleaser.com/ which handles go build and docker builds, too. Using goreleaser provides native binaries and attach them to the GitHub release.

jkroepke and others added 2 commits November 2, 2023 20:51
Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>
Signed-off-by: Chris Jedro <cj@cloudeteer.de>
Dockerfile Outdated Show resolved Hide resolved
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
@tyler-lloyd
Copy link
Contributor

confirmed pulling from ghcr.io/cloudeteer/goldpinger:latest works on Windows and Linux nodes.

@jkroepke
Copy link
Contributor Author

jkroepke commented Nov 8, 2023

@skamboj what did you think about this?

Copy link
Contributor

@skamboj skamboj left a comment

Choose a reason for hiding this comment

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

Ok this looks amazing. Thank you so much for this contribution. :shipit:

@skamboj skamboj merged commit 0b96e45 into bloomberg:master Nov 9, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows Container support
4 participants