1004 test implementation

Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
This commit is contained in:
Guillaume de Rouville
2021-08-13 01:47:59 +02:00
parent ad2f9b3f17
commit 82d45985a5
7 changed files with 94 additions and 32 deletions

View File

@@ -0,0 +1,10 @@
package multibucket
import (
"alpha.dagger.io/netlify"
)
// Netlify site
site: "netlify": netlify.#Site & {
contents: app.build
}

View File

@@ -0,0 +1,8 @@
package multibucket
import (
"alpha.dagger.io/dagger"
)
// Source code of the sample application
src: dagger.#Artifact & dagger.#Input

View File

@@ -0,0 +1,10 @@
package multibucket
import (
"alpha.dagger.io/js/yarn"
)
// Build the source code using Yarn
app: yarn.#Package & {
source: src
}