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.
dagger/stdlib
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 Merge pull request #1066 from slumbering/universe-http 2021-10-29 09:55:59 -07:00
alpine Move tests plan from dagger dir to universe 2021-06-25 17:00:38 +02:00
argocd argocd.#Sync now retrieve status 2021-09-10 09:10:21 -07:00
aws feat: allow use of v2 AWS CLI 2021-10-08 17:43:54 +02:00
azure Adding support for azure static webapp 2021-09-13 10:39:20 -07:00
cue.mod commit missing cue.mod 2021-07-08 17:52:21 +02:00
dagger prepare the transition to #Plan.context 2021-11-19 11:29:38 -08:00
docker prepare the transition to #Plan.context 2021-11-19 11:29:38 -08:00
gcp Add zone in GCP.#Config 2021-09-14 13:43:31 +02:00
git Improve/git: Git.#Repository's origin now uses the provided URL 2021-10-04 16:45:34 +02:00
go os.#Container: inherit PATH from the container image 2021-08-04 16:56:52 +02:00
http Fix lint issues 2021-10-28 17:58:18 +02:00
io stdlib: added package doc strings 2021-06-15 10:46:56 +02:00
java/maven Check if problem is linked with docker from docker 2021-06-29 16:26:31 +00:00
js/yarn Add secrets for secure mount of .env local files inside Dagger 2021-10-14 13:34:58 +02:00
kubernetes Update documentation 2021-09-22 20:29:20 +02:00
netlify Fix/Netlify package: reinsert always:true 2021-09-23 19:24:48 +02:00
os Add test on git.#Commit 2021-09-03 02:29:31 +02:00
random stdlib: move all imports to alpha.dagger.io 2021-06-25 10:31:22 +00:00
terraform Update import to alpha version 2021-06-25 17:26:51 +02:00
trivy Fix packages + Implement working tests 2021-10-29 01:29:55 +02:00
.gitignore Move universe integration tests to universe dir. 2021-06-09 20:28:44 +00:00
helpers.bash logger: TTY logs support (live update) 2021-10-05 15:38:34 -07:00
package.json Move universe integration tests to universe dir. 2021-06-09 20:28:44 +00:00
stdlib.go mod/stdlib: attempt to remove the lock file after file unlock 2021-11-17 16:23:23 -08:00
universe.bats Fix argoCD timeout in universe test 2021-11-02 13:34:42 +01:00
yarn.lock Move universe integration tests to universe dir. 2021-06-09 20:28:44 +00:00