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

attest: remove flavors #64

Merged
merged 2 commits into from
Apr 5, 2024
Merged

attest: remove flavors #64

merged 2 commits into from
Apr 5, 2024

Conversation

TheButlah
Copy link
Collaborator

@TheButlah TheButlah commented Apr 5, 2024

The flavors are problematic because they double compile times and cause us to have to produce and distribute prod and stage versions of every binary. However, most of the binaries are actually identical between these two versions.

Instead of doing compile time feature flags, we should simply detect this stuff with environment variables at runtime. In the absence of an env var, the code should fall back to prod behavior.

As a consequence, this also removes the _prod_ part of the artifact names.

@TheButlah TheButlah requested a review from dangirsh April 5, 2024 09:36
@TheButlah TheButlah changed the title ci: Removed flavors from artifacts, we will only use runtime detection. ci,attest: Removed flavors from artifacts, we will only use runtime detection. Apr 5, 2024
@TheButlah TheButlah changed the title ci,attest: Removed flavors from artifacts, we will only use runtime detection. attest: Removed flavors from artifacts, we will only use runtime detection. Apr 5, 2024
@TheButlah TheButlah changed the title attest: Removed flavors from artifacts, we will only use runtime detection. attest: remove flavors Apr 5, 2024
@TheButlah TheButlah merged commit c3d2ccd into main Apr 5, 2024
@TheButlah TheButlah deleted the thebutlah/remove-flavors branch April 5, 2024 10:34
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.

None yet

1 participant