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

separate linux and darwin steps #50

Merged
merged 1 commit into from
Oct 12, 2023
Merged

Conversation

kenjenkins
Copy link
Contributor

Currently the release automation will fail to upload any binaries if any part of the 'fetch envoy' step fails. This is problematic because we currently attempt to fetch darwin binaries from Homebrew, but Homebrew does not build older patch releases of Envoy.

As a temporary workaround, split the 'fetch envoy' step into two, and upload to the release right after fetching. This way, even if we cannot fetch the darwin binaries, we should still fetch and upload the linux binaries.

Currently the release automation will fail to upload any binaries if any
part of the 'fetch envoy' step fails. This is problematic because we
currently attempt to fetch darwin binaries from Homebrew, but Homebrew
does not build older patch releases of Envoy.

As a temporary workaround, split the 'fetch envoy' step into two, and
upload to the release right after fetching. This way, even if we cannot
fetch the darwin binaries, we should still fetch and upload the linux
binaries.
@kenjenkins kenjenkins requested a review from a team as a code owner October 11, 2023 21:31
@kenjenkins kenjenkins requested review from calebdoxsey and removed request for a team October 11, 2023 21:31
@@ -32,15 +32,18 @@ jobs:
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew install oras

- name: fetch envoy
- name: fetch and upload envoy (linux)
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe do a matrix {linux,Darwin} x {arm,x86}?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that would allow each build to be fetched independently, but I think it might be simpler to start with this for now.

@kenjenkins kenjenkins merged commit b960489 into main Oct 12, 2023
1 check passed
@kenjenkins kenjenkins deleted the kenjenkins/separate-linux-mac branch October 12, 2023 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants