input-output-hk / devx

The Developer Experience Shell - This repo contains a nix develop shell for haskell. Its primary purpose is to help get a development shell for haskell quickly and across multiple operating systems (and architectures).
Apache License 2.0
37 stars 9 forks source link

Create a GA to populate zw3rk S3 buckets on push events #25

Closed yvan-sraka closed 1 year ago

yvan-sraka commented 1 year ago

ACCESSKEY and SECRETKEY env secrets should be set up first in GitHub repository settings :)

angerman commented 1 year ago

As mentioned elsewhere, we should have a wrapper script (not in the nix-store) that

That script can then later be adapted to also provide a way to install nix if needed.

yvan-sraka commented 1 year ago

As mentioned elsewhere, we should have a wrapper script (not in the nix-store) that

  • checks for the existence of the env shell script in the /nix/store
  • if it's not found, downloads and imports the closure
  • instantiates a shell with the env script.

That script can then later be adapted to also provide a way to install nix if needed.

I left some code comments mentioning you on questions that arisen while I was automating the thing :)

yvan-sraka commented 1 year ago

Supersede by https://github.com/input-output-hk/devx/tree/s3-uploads