c6fc / npk

A mostly-serverless distributed hash cracking platform
508 stars 59 forks source link

CloudShell Improvement #60

Closed bzekanovic closed 2 years ago

bzekanovic commented 2 years ago

Please provide option for end users to specify if they want to just pull down current config or load current config and pull latest version of NPK when executing source <(curl https://npkproject.io/cloudshell_install.sh).

c6fc commented 2 years ago

Can you clarify what you're asking for? 'pull down' and 'load' current config sound synonymous to me (and are default behavior), and the one-liner already pulls the latest version...

bzekanovic commented 2 years ago

As of right now running source <(curl https://npkproject.io/cloudshell_install.sh) will upgrade current NPK to latest version each time you run it. This means if I want to make small config change to our current deployment I have to do full upgrade of NPK. What I'm asking is for source <(curl https://npkproject.io/cloudshell_install.sh) prompt user if user wants to upgrade NPK to latest version before it executes terraform code.

c6fc commented 2 years ago

There's currently no way for CloudShell to know what version you're running, and trying to persist, track, or diff commits would be a huge undertaking.

If you want to pin your deployment to a specific commit, I'd recommend that you fork NPK and use a deployment script that references your own fork.

bzekanovic commented 2 years ago

Sounds good. thx