Merge pull request #1621 from shykes/dag-plan

Rename dagger.#DAG to dagger.#Plan
This commit is contained in:
Andrea Luzzardi 2022-02-15 16:13:04 -07:00 committed by GitHub
commit 2973bc5766
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 9 deletions

View File

@ -1,10 +1,7 @@
package engine package engine
// A deployment plan executed by `dagger up`
#Plan: #DAG
// A special kind of program which `dagger` can execute. // A special kind of program which `dagger` can execute.
#DAG: { #Plan: {
// Receive inputs from the client // Receive inputs from the client
inputs: { inputs: {
// Receive directories // Receive directories

View File

@ -4,8 +4,5 @@ import (
"dagger.io/dagger/engine" "dagger.io/dagger/engine"
) )
// A deployment plan executed by `dagger up`
#Plan: engine.#Plan
// A special kind of program which `dagger` can execute. // A special kind of program which `dagger` can execute.
#DAG: engine.#DAG #Plan: engine.#Plan

View File

@ -8,7 +8,7 @@ import (
"universe.dagger.io/yarn" "universe.dagger.io/yarn"
) )
dagger.#DAG & { dagger.#Plan & {
// Build the app with yarn // Build the app with yarn
actions: build: yarn.#Build actions: build: yarn.#Build