Repository navigation
install.sh uses CloudFront CDN for CLI installs - #5829
Merged
Merged
Conversation
added 2 commits
September 27, 2023 11:00
This was deleted part of 5a9c772 We definitely want to have the file behind https://dl.dagger.io/dagger/install.sh under version control. Signed-off-by: Gerhard Lazu <[email protected]>
This should address the slow-downs that some of us have noticed. Signed-off-by: Gerhard Lazu <[email protected]>
Contributor
|
I did setup dl.dagger.io a while back exactly for this. Not sure what happened and when it moved away. LGTM |
samalba
self-requested a review
September 28, 2023 14:02
Contributor
Author
|
I don't see This will definitely fix that! 💪 |
samalba
approved these changes
Sep 28, 2023
Contributor
Author
❯ curl -L https://dl.dagger.io/dagger/install.sh | BIN_DIR=$HOME/.local/bin DAGGER_VERSION=0.8.0 sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8674 100 8674 0 0 154k 0 --:--:-- --:--:-- --:--:-- 172k
sh debug downloading files into /var/folders/z5/n5y08g4j073_ld2d9019j3_80000gn/T/tmp.8M98N6lbst
sh debug http_download https://dl.dagger.io/dagger/releases/0.8.0/dagger_v0.8.0_darwin_amd64.tar.gz
sh debug http_download https://dl.dagger.io/dagger/releases/0.8.0/checksums.txt
sh debug display shell completion instructions
dagger has built-in shell completion. This is how you can install it for:
BASH:
1. Ensure that you install bash-completion using your package manager.
2. Add dagger completion to your personal bash completions dir
mkdir -p /bash-completion/completions
dagger completion bash > /bash-completion/completions/dagger
ZSH:
1. Generate a _dagger completion script and write it to a file within your $FPATH, e.g.:
dagger completion zsh > /usr/local/share/zsh/site-functions/_dagger
2. Ensure that the following is present in your ~/.zshrc:
autoload -U compinit
compinit -i
zsh version 5.7 or later is recommended.
FISH:
1. Generate a dagger.fish completion script and write it to a file within fish completions, e.g.:
dagger completion fish > ~/.config/fish/completions/dagger.fish
sh info installed /Users/gerhard/.local/bin/dagger |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We (+@jpadams) have noticed slow-downs when installing via
curl -L https://dl.dagger.io/dagger/install.sh | shThis PR changes the base URL in
install.shfromdagger-io.s3.amazonaws.comtodl.dagger.ioSince
install.shfile was deleted part of 5a9c772, this PR also adds it back. cc @aluzzardiNext steps