Repository navigation
Description
Need solutions for the following
CLI install scripts:
cc @gerhard
Linux shell:
guessing we're leaving env vars alone but will script go from current to new?
current: curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.2.19 sh
new?: curl -L https://dl.dagger.io/dagger-cue/install.sh | DAGGER_VERSION=0.2.19 sh
Powershell:
will we move from current to new?
current: $script = Invoke-WebRequest -UseBasicParsing -Uri https://dl.dagger.io/dagger/install.ps1
new?: $script = Invoke-WebRequest -UseBasicParsing -Uri https://dl.dagger.io/dagger-cue/install.ps1
and update this:
Without passing in the `-InstallPath`, We'll save everything under `<your home folder>\dagger-cue`
C:\<your home folder>\dagger\dagger-cue.exe
Will these paths continue to work in CUE files?:
cc @aluzzardi
import (
"dagger.io/dagger"
"universe.dagger.io/alpha/aws/sam"
)
GitHub action:
https://github.com/dagger/dagger-for-github
dagger/dagger-for-github#75
We'll probably want to list a new action in the GitHub Marketplace called dagger-cue-for-github and then deprecate dagger-for-github and point to new one, but leave it in place to not break folks using it. cc @crazy-max
uses: dagger/dagger-for-github@v3
...
cmds: |
project update
do deploy
Version script used in some docs pages:
<DaggerVersionLatestReleased>
{daggerVersionLatestRelease =>
<>Now check all the available packages in <a href={`https://github.com/dagger/dagger/tree/${daggerVersionLatestRelease}/pkg/universe.dagger.io`}>universe.dagger.io</a>.</>
}
</DaggerVersionLatestReleased>
Homebrew for Mac/Darwin:
assuming will be brew install dagger-cue
Windows:
related: #3484
https://community.chocolatey.org/packages/dagger-cue
choco install dagger-cue
&
https://scoop.sh/#/apps?q=dagger-cue
scoop bucket add main # If you don't have the main bucket added yet
scoop install dagger-cue
CLI Env Vars:
Guessing we won't change ENV VARs like DAGGER_PLAN, DAGGER_CACHE_FROM
cc @gerhard
Can cherry pick from here:
19f4e93
Tracking work here:
I made a fresh clone of dagger/dagger, switched to @vikram-dagger 's multi-site PR and added a docs/v0.3/sdk/cue directory.
I moved the contents of 0.2 docs in there: from sdk: cp -R ~/src/dagger-fork/docs/v0.2/* cue/.
I then started moving `dagger` to `dagger-cue`:
sed -i.bak -e 's/\`dagger\`/\`dagger-cue\`/g' **/*.md*
<commit>
sed -i.bak -e 's/dagger do/dagger-cue do/g' **/*.md*
rm **/*.bak.bak
<commit>
sed -i.bak -e 's/dagger project init/dagger-cue project init/g' **/*.md*
rm **/*.bak.bak
<commit>
sed -i.bak -e 's/dagger project update/dagger-cue project update/g' **/*.md*
rm **/*.bak.bak
<commit>
etc
Activity
jpadams commentedon Oct 21, 2022
should update version of
dagger-cueCLI inreferences/1222-core-actions-reference.md,references/1234-dagger-types-reference.mdto latestjpadams commentedon Oct 21, 2022
jpadams commentedon Oct 21, 2022
jpadams commentedon Oct 21, 2022
jpadams commentedon Oct 21, 2022
jpadams commentedon Oct 21, 2022
jpadams commentedon Oct 21, 2022
TODO: remove https://devel.docs.dagger.io/1243/dagger-cloud from sidebar in new CUE SDK site
jpadams commentedon Oct 22, 2022
Need to watch out for inter-docs links like: https://docs.dagger.io/1227/contributing/ linked to in use-cases/1248-aws-sam.md
gerhard commentedon Oct 25, 2022
There are a lot of relevant changes for this in #3486
There is a follow-up PR coming up shortly which bumps the version from
0.1.0to0.2.232as discussed in this (private) Discord threadDoing a quick pass over the points that you have raised @jpadams:
dagger-cue v0.3.xdagger v0.3.xCLI to consider that we don't know everything about just yet 0.3 CLI design #3347sdk/cue/v<version>tag[email protected]) but this is a bigger topic Inform chocolatey and scoop of newdagger-cuecli #3484 (comment)brew install dagger/tap/dagger-cueworks as expected → Prepare to publish dagger-cue artefacts #3486dagger-cueenv vars work as before:DAGGER_PLAN, etc.jpadams commentedon Nov 7, 2022
For future, we should also consider arch linux.