1004 test implementation
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
This commit is contained in:
10
docs/learn/tests/multibucket/netlify.cue
Normal file
10
docs/learn/tests/multibucket/netlify.cue
Normal file
@@ -0,0 +1,10 @@
|
||||
package multibucket
|
||||
|
||||
import (
|
||||
"alpha.dagger.io/netlify"
|
||||
)
|
||||
|
||||
// Netlify site
|
||||
site: "netlify": netlify.#Site & {
|
||||
contents: app.build
|
||||
}
|
8
docs/learn/tests/multibucket/source.cue
Normal file
8
docs/learn/tests/multibucket/source.cue
Normal file
@@ -0,0 +1,8 @@
|
||||
package multibucket
|
||||
|
||||
import (
|
||||
"alpha.dagger.io/dagger"
|
||||
)
|
||||
|
||||
// Source code of the sample application
|
||||
src: dagger.#Artifact & dagger.#Input
|
10
docs/learn/tests/multibucket/yarn.cue
Normal file
10
docs/learn/tests/multibucket/yarn.cue
Normal file
@@ -0,0 +1,10 @@
|
||||
package multibucket
|
||||
|
||||
import (
|
||||
"alpha.dagger.io/js/yarn"
|
||||
)
|
||||
|
||||
// Build the source code using Yarn
|
||||
app: yarn.#Package & {
|
||||
source: src
|
||||
}
|
Reference in New Issue
Block a user