feat: align all modules to dagger engine + sdk v0.20.8 - #264
Merged
Conversation
Sweep across all 27 modules: bump engineVersion in dagger.json and pin dagger.io/dagger in every go.mod to v0.20.8, regenerated via `dagger develop`. Removes the year-old crossplane v0.13.3 pin and replaces dev pseudo-version SDK pins on 6 modules with a tagged release. Refs #262 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
patrick-hermann-sva
temporarily deployed
to
linting
May 9, 2026 16:38 — with
GitHub Actions
Inactive
11 tasks
Contributor
Author
|
🎉 This PR is included in version 0.112.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
4 tasks
5 tasks
patrick-hermann-sva
added a commit
that referenced
this pull request
May 28, 2026
Adds a thin `vault/` Dagger module exposing `WithAppRoleEnv(ctr, roleID?, secretID?, addr?)` that attaches VAULT_ROLE_ID, VAULT_SECRET_ID, VAULT_ADDR as masked secrets on a container. The helper does no Vault login itself — it's plumbing for downstream tools (vals, ansible playbooks) that read those envs. Wires the new module as a Dagger dependency in `ansible/dagger.json` and `helm/dagger.json`, then replaces the duplicated three-`if` env blocks in `ansible/execute.go` and `helm/helmfile.go` with a single `dag.Vault().WithAppRoleEnv(...)` call. Also re-pins `dagger.io/dagger` to v0.20.8 in vault/, ansible/ and helm/ go.mod — `dagger develop` had regressed all three to the pseudo-version `v0.20.6-0.20260415192040-7058e9313c72` (same bug fixed for six modules in #264). Refs #262 (P3 — extract shared Vault AppRole helper). Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
patrick-hermann-sva
pushed a commit
that referenced
this pull request
May 28, 2026
# [0.115.0](v0.114.0...v0.115.0) (2026-05-28) ### Features * **ci:** add .golangci.yml and wire into per-module CI ([#274](#274)) ([bda97c9](bda97c9)), closes [#262](#262) [#262](#262) * **ci:** add per-module PR test workflow ([#273](#273)) ([dd58cae](dd58cae)), closes [#262](#262) * **crossplane:** add Verify for offline Configuration checks ([#278](#278)) ([210c6e0](210c6e0)), closes [#277](#277) * feat/add-update-vault-module ([ac9631e](ac9631e)) * **vault:** extract shared AppRole env helper module ([#281](#281)) ([8f38d23](8f38d23)), closes [#264](#264) [#262](#262)
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.
Summary
engineVersionin every module'sdagger.jsonto v0.20.8 (from a range spanning v0.13.3 → v0.20.6).dagger.io/daggerin everygo.modto v0.20.8, replacing dev pseudo-version pins on 6 modules (ansible,argocd,git,packer,release,slidev) with a tagged release.internal/,dagger.gen.go, andgo.sumviadagger developper module.Closes the first three checkboxes in #262 (P1.1 engine alignment, P1.3 pseudo-version replacement). P1.2 (Go toolchain alignment) intentionally deferred to a follow-up.
Side effects worth a glance
crossplane/.gitignore—dagger developadded/.env.go/dagger.json— non-standardpragmablock dropped (v0.20.8 strips unknown fields).Test plan
dagger functions -m ./<module>spot-checked onhelm,slidev,kcl— all list functions correctly.task test-<module>against a representative subset before merging if possible.Out of scope (separate issue)
While doing this sweep, found a pre-existing bug in
crossplane/package.go:117—import "encoding/json"placed inside a function body (invalid Go).dagger functionsworks because the engine uses schema introspection, butgo build ./...fails. Worth its own fix PR.🤖 Generated with Claude Code