This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Andrea Luzzardi a61e8dcb62 prepare the transition to #Plan.context
This change helps the transition between `dagger input` and `#Plan.context`.

In summary, the codebase now relies on a *context* for execution with mapping to *IDs*.
In the future, *context* will come from a `#Plan.context`.
In the meantime, a bridge converts `dagger input` to a plan context. This allows both *old* and *new* style configurations to co-exist with the same underlying engine.

- Implement `plancontext`. Context holds the execution context for a plan. Currently this includes the platform, local directories, secrets and services (e.g. unix/npipe).
- Contextual data can be registered at any point. In the future, this will be done by `#Plan.context`
- Migrated the `dagger input` codebase to register inputs in a `plancontext`
- Migrated low-level types/operations to the *Context ID* pattern.
  - `dagger.#Stream` now only includes an `id` (instead of `unix` path)
  - `dagger.#Secret` still includes only an ID, but now it's based off `plancontext`
  - `op.#Local` now only includes an `id` (instead of `path`, `include`, `exclude`.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-19 11:29:38 -08:00
.dagger/env universe vendoring 2021-07-08 17:52:21 +02:00
.github docs: 🐛 remove --frozen-lockfile option to update yarn.lock 2021-11-18 15:39:53 +01:00
client prepare the transition to #Plan.context 2021-11-19 11:29:38 -08:00
cmd prepare the transition to #Plan.context 2021-11-19 11:29:38 -08:00
compiler performance: compile CUE client side 2021-08-20 16:34:49 +02:00
docs Fix infinite loop inside doc test + fix issue 2021-11-16 15:50:46 +01:00
environment prepare the transition to #Plan.context 2021-11-19 11:29:38 -08:00
keychain keychain: always ensure the default key is generated 2021-06-17 17:23:11 +02:00
mod test: disabled test on private repo (repo_test.go:56: ssh: handshake failed: knownhosts: key mismatch) 2021-11-17 16:23:53 -08:00
plancontext prepare the transition to #Plan.context 2021-11-19 11:29:38 -08:00
solver prepare the transition to #Plan.context 2021-11-19 11:29:38 -08:00
state prepare the transition to #Plan.context 2021-11-19 11:29:38 -08:00
stdlib prepare the transition to #Plan.context 2021-11-19 11:29:38 -08:00
telemetry telemetry support 2021-07-20 14:28:06 +02:00
tests prepare the transition to #Plan.context 2021-11-19 11:29:38 -08:00
util logger: TTY logs support (live update) 2021-10-05 15:38:34 -07:00
version move versioning into the version package 2021-07-19 17:43:45 +02:00
website docs: 🐛 downgrade cypress to 8.5.0 avoiding a Runner unexpectedly exited 2021-11-18 14:57:22 +01:00
.gitignore Vendoring improved 2021-10-13 15:25:30 -07:00
.golangci.yml cleanup: move packages to top level, change vanity URL 2021-05-25 16:54:00 -07:00
.goreleaser.yml move versioning into the version package 2021-07-19 17:43:45 +02:00
.markdownlint.yaml docs: kubernetes: support kind/gke/eks 2021-06-14 17:37:24 +02:00
CONTRIBUTING.md Fix typo in CONTRIBUTING.md 2021-07-29 18:29:45 +02:00
doc.go add a go file to the root folder 2021-02-17 13:13:17 -08:00
Dockerfile build(deps): bump golang from 1.16.9-alpine to 1.16.10-alpine 2021-11-05 19:06:20 +00:00
go.mod build(deps): bump github.com/moby/buildkit from 0.9.2 to 0.9.3 2021-11-18 19:29:53 +00:00
go.sum build(deps): bump github.com/moby/buildkit from 0.9.2 to 0.9.3 2021-11-18 19:29:53 +00:00
install.ps1 Updated the Installer and Docs 2021-06-30 17:54:48 +02:00
install.sh release: added install script 2021-05-03 17:20:45 -07:00
LICENSE add LICENSE file 2021-01-14 12:36:19 -08:00
Makefile added winio to godeps 2021-11-08 17:12:46 -08:00
README.md Fix README documentation dead link 2021-08-20 16:36:48 +02:00
tracing.compose.yaml Move to OpenTelemetry 2021-07-09 09:47:36 +02:00
universe universe: another name for stdlib 2021-05-01 01:03:58 -07:00

Dagger

Dagger is a programmable deployment system.

Using Dagger, software builders can automate the deployment of any application to any infrastructure, in just a few lines of code.

Getting Started

Documentation website