Skip to content

Add primer-miso artifacts to the repo #1335

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

Open
dhess opened this issue Mar 28, 2025 · 2 comments
Open

Add primer-miso artifacts to the repo #1335

dhess opened this issue Mar 28, 2025 · 2 comments

Comments

@dhess
Copy link
Member

dhess commented Mar 28, 2025

It would be very useful to store primer-miso artifacts in the repo:

  • It would make deployments trivial, as there are numerous tools that support deploying static sites from a git repo.
  • It would be trivial to spin up the exact version of the web app corresponding to a particular git ref.
  • Due to the immutability of git history, it’s a more secure way to distribute artifacts than GitHub releases, not to mention that it doesn’t depend on GitHub in any way.

It might consume quite a bit of storage, but we can use git-lfs to minimize the impact.

@dhess
Copy link
Member Author

dhess commented Mar 28, 2025

I considered creating a separate “releases” repo, but that would eliminate one of the primary benefits of this approach, which is a trivial 1:1 correspondence of artifact to Primer git ref.

@dhess
Copy link
Member Author

dhess commented May 6, 2025

If haskell.nix gets Wasm support soon (input-output-hk/haskell.nix#2351), we probably won't need to do this, as we'll be able to store the Wasm dists in Nix, and that would accomplish the same goals.

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

No branches or pull requests

1 participant