Repository navigation
Prepare to publish dagger-cue artefacts - #3486
Conversation
I was just wondering the same thing. The two logical options are 0.2.36 or 0.1.0. I think 0.1.0 makes more sense, it clarifies the relationship to engine version (decoupled) and is consistent with Go SDK. 0.2 branch will no longer move, so maintaining version mapping won't be needed. wdyt? |
|
I assume that the git tag which we want to use is |
In preparation for #3486 Signed-off-by: Gerhard Lazu <[email protected]>
Next step: check that everything works as expected on the fork. Partial follow-up to #3356 Part of #3471 Supersedes #3483 Signed-off-by: Gerhard Lazu <[email protected]>
For some reason, this larger runner type is not picking up this job in my dagger fork. Maybe because this is a new workflow... Will double-check with the GitHub team. For now, switch to the free Ubuntu runner. Signed-off-by: Gerhard Lazu <[email protected]>
dagger-cue namespace in S3 so that it doesn't get mixed with dagger CLI v0.2.x Do not publish as a GitHub Release until we have clarified how the other SDKs will get published. We don't know for sure how we are going to approach those just yet, we don't want to be back-tracking - not doing anything in this respect is the best option right now. Signed-off-by: Gerhard Lazu <[email protected]>
Use a tag_prefix in GoReleaser to filter out sdk/cue/v from the git tag Signed-off-by: Gerhard Lazu <[email protected]>
We are unlikely to be using this as a HomeBrew bottle in the short-term. Signed-off-by: Gerhard Lazu <[email protected]>
Not sure if this will work. If it does, it will help iterating on this workflow in the future. Signed-off-by: Gerhard Lazu <[email protected]>
The license key is stored in 1Password Signed-off-by: Gerhard Lazu <[email protected]>
Otherwise the filename will be e.g. dagger-cue_0.1.0 instead of dagger-cue_v0.1.0, which is what we have been using so far. Signed-off-by: Gerhard Lazu <[email protected]>
Signed-off-by: Gerhard Lazu <[email protected]>
Signed-off-by: Gerhard Lazu <[email protected]>
Signed-off-by: Gerhard Lazu <[email protected]>
It's shorter and reads better than the DAGGER_CUE_VERSION alternative. Also, had it been VERSION to begin with, this would not have been necessary. Signed-off-by: Gerhard Lazu <[email protected]>
Signed-off-by: Gerhard Lazu <[email protected]>
Signed-off-by: Gerhard Lazu <[email protected]>
Signed-off-by: Gerhard Lazu <[email protected]>
Signed-off-by: Gerhard Lazu <[email protected]>
|
In the interest of time, going |
There was a problem hiding this comment.
It all checks out. I will merge and try to produce a new dagger-cue release. If it all works as expected, power on. If it doesn't, I will open a follow-up PR right after this one.
I am NOT going to Squash and merge in case we need to revert any specific commits. It will also make it easier to understand why specific changes happened, since they tend to be atomic and commit messages relevant. Time to test this in practice.
|
First run failed since I used the wrong Second run failed because the tag already existed: https://github.com/dagger/dagger/actions/runs/3316994706/jobs/5479388696 Third run was done from Third time lucky, for sure: |
|
macOS amd64 cc @vikram-dagger for https://deploy-preview-3485--devel-docs-dagger-io.netlify.app/sdk/cue/526369/install |
|
macOS amd64 Same on Linux amd64: cc @vikram-dagger for https://deploy-preview-3485--devel-docs-dagger-io.netlify.app/sdk/cue/526369/install |
|
We might want to check on Windows - I don't have access to one. |




This PR is:
v0.2.xbranch into a new forkdagger/dagger-cue#3471It changes the
release-v0.2.x.ymlworkflow to publishdagger-cuebinaries.Linux
install.sh& Windowsinstall.ps1have been updated too. The Linux variant has been tested.Help wanted for the Windows one.
This was tested via https://github.com/gerhard/dagger/actions/runs/3316263177/jobs/5477850676 & it published:
1/2. AWS S3 files
Tested with
./install.sh2/2. Homebrew tap
Tested with
brew install gerhard/tap/dagger-cueNext steps
dagger-cue v0.1.0https://github.com/dagger/dagger/actions/runs/3317001380/jobs/5479401006FWIW we ended up upgrading to GoReleaser Pro with @aluzzardi so that we get the monorepo support. It has a bunch of other useful features too that we might want to look into https://beckersoft.gumroad.com/l/goreleaser. The license key has been configured in GitHub Actions. The source of truth is the shared 1Password vault.