Skip to content

feat: align all modules to dagger engine + sdk v0.20.8 - #264

Merged
patrick-hermann-sva merged 1 commit into
mainfrom
feat/uprgade-module-version
May 9, 2026
Merged

feat: align all modules to dagger engine + sdk v0.20.8#264
patrick-hermann-sva merged 1 commit into
mainfrom
feat/uprgade-module-version

Conversation

@patrick-hermann-sva

Copy link
Copy Markdown
Contributor

Summary

  • Bumps engineVersion in every module's dagger.json to v0.20.8 (from a range spanning v0.13.3 → v0.20.6).
  • Pins dagger.io/dagger in every go.mod to v0.20.8, replacing dev pseudo-version pins on 6 modules (ansible, argocd, git, packer, release, slidev) with a tagged release.
  • Regenerated internal/, dagger.gen.go, and go.sum via dagger develop per 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/.gitignoredagger develop added /.env.
  • go/dagger.json — non-standard pragma block dropped (v0.20.8 strips unknown fields).

Test plan

  • dagger functions -m ./<module> spot-checked on helm, slidev, kcl — all list functions correctly.
  • Run 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:117import "encoding/json" placed inside a function body (invalid Go). dagger functions works because the engine uses schema introspection, but go build ./... fails. Worth its own fix PR.

🤖 Generated with Claude Code

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
patrick-hermann-sva merged commit 6402b60 into main May 9, 2026
1 check passed
@patrick-hermann-sva
patrick-hermann-sva deleted the feat/uprgade-module-version branch May 9, 2026 16:43
@patrick-hermann-sva

Copy link
Copy Markdown
Contributor Author

🎉 This PR is included in version 0.112.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant