Repository navigation
Allow any published dagger version to be installed via install.sh - #1819
Conversation
Paging @samalba -- I believe you were the one managing |
✅ Deploy Preview for devel-docs-dagger-io ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
|
I know that WDYT @shykes? |
Yes I think it makes sense. Eventually we will want a native mac installer too (not everyone uses brew). |
Since this file barely ever changed, I simply copied it to the s3 bucket, the dl.dagger.io domain is the cloudfront distribution in front of it. Let me know if you need help with this. |
OK, I will make that change now.
I use nix (the package manager) on my newest Mac, and brew on my previous Mac (I run two of everything). On my Linux bare metal instances (every primary approach should have a backup approach), I use the package manager to install GNU Make, and then have a Our A native installer is my least favourite approach because I cannot read the code to see what it does. After decades of terrible experiences, I don't use these anymore. It's either the App Store for auto-updating apps (love those!), brew casks, or just dmg files which I manually drop into Applications. With the slow but noticeable shift to cloud environments like Codespaces & Gitpod, I am less certain about the need for a Mac native installer. I may be wrong 🙂 |
|
Reminder to automate the upload of
|
To give extra context: while I did that, goreleaser was not maintained anymore for quite some time, hence the manual changes. I see goreleaser had a lot of activity lately, so it might be possible to back to the generated version. |
|
Thanks Sam for the extra context!
If we let GoReleaser manage I am keen on seeing this change out in our repo first - I have been using it all week and it's great! - and then go upstream. |
This also updates Getting Started - CI/CD in your local dev - Linux & Mac doc.
A few other related doc changes were pulled in by this.
I wanted to try different versions of dagger on Linux, and this was the
easiest way of doing that:
curl -L https://dl.dagger.io/dagger/install.sh -O
# make this change, and then:
DAGGER_VERSION=0.2.0 sh install.sh
# ...
./bin/dagger version
dagger 0.2.0 (e499297) linux/amd64
DAGGER_VERSION=0.2.1 sh install.sh
# ...
./bin/dagger version
dagger 0.2.1 (69b4845) linux/amd64
This change enables anyone to do the following instead:
curl -L https://dl.dagger.io/dagger/install.sh \
| DAGGER_VERSION=0.2.0 sh
Until this gets merged, you can test how this change works in practice
via this temporary file:
curl -L https://dl.dagger.io/dagger/install-pr-1819.sh \
| DAGGER_VERSION=0.2.0 sh
One thing which I was not sure about is how the file from this
repository ends up on https://dl.dagger.io/dagger/install.sh. I think
this is a manual process today, but I need to confirm this assumption.
Signed-off-by: Gerhard Lazu <[email protected]>
|
On top of uploading |

I wanted to try different versions of dagger on Linux, and this was the easiest way of doing that:
curl -L https://dl.dagger.io/dagger/install.sh -O # make this change, and then: DAGGER_VERSION=0.2.0 sh install.sh # ... ./bin/dagger version dagger 0.2.0 (e499297e) linux/amd64 DAGGER_VERSION=0.2.1 sh install.sh # ... ./bin/dagger version dagger 0.2.1 (69b4845d) linux/amd64This change enables anyone to do the following instead:
curl -L https://dl.dagger.io/dagger/install.sh \ | DAGGER_VERSION=0.2.0 shUntil this gets merged, you can test how this change works in practice via this temporary file:
curl -L https://dl.dagger.io/dagger/install-pr-1819.sh \ | DAGGER_VERSION=0.2.0 shOne thing which I was not sure about is how the file from this repository ends up on https://dl.dagger.io/dagger/install.sh.
I think this is a manual process today, but I need to confirm this assumption.
Maybe @aluzzardi knows.@samalba knows.