universe: spin out js/yarn tests

Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
Solomon Hykes 2021-06-10 10:50:49 +00:00 committed by Solomon Hykes
parent d388c729bc
commit 2976afad66
6 changed files with 31 additions and 4 deletions

2
stdlib/.dagger/env/js-yarn/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
# dagger state
state/**

25
stdlib/.dagger/env/js-yarn/values.yaml vendored Normal file
View File

@ -0,0 +1,25 @@
name: js-yarn
inputs:
TestData:
dir:
path: ./js/yarn/testdata
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age1gxwmtwahzwdmrskhf90ppwlnze30lgpm056kuesrxzeuyclrwvpsupwtpk
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBPSmNvdnFQKzd3QUJZU0ZM
cEJHUEpvK3NieEF1SVlWWkxWRHJncFEvc1RjCklDWURWcE1sYm9ES2FtZVNpRGlJ
NkJmRHFOYkJ0UHhSbWhsOWZiTjAyeUkKLS0tIDJlWU9hS05SWnZESi9HN1BkZkRN
S2JsNXRkbWVERHM0WWk0bXBJSXJIK1kK9R3gMDcbeKRRlt0HHM+w2kcs+sGfASmE
0YhxbFF2qQPFwHHR7aPmM+L1ML8cXOrxOOyWmmWhXNgtURCJ9/SO3A==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2021-06-10T10:36:57Z"
mac: ENC[AES256_GCM,data:5fm+j9FWlB1fWEMsru5GUkhnYMuh+nvBx8ts4YsExpZpvnb6kD9o0OFqiX5ND5/Bk8Gzh/FrgHBcPI57HeSX4otoKbujk69UxiZJzy0AdtOkxABWVGSAk5KD4whi6A8nIl2GTfs87CUSQmaYpKUyasIhAj57FS17epBvmnK2AxM=,iv:Sc6CVkKwGuQR5yqNVBuFV+Bgqg9r1Mjbfqs6uJnR184=,tag:HK/D4kKb/0TZs1MwUEA3Kg==,type:str]
pgp: []
encrypted_suffix: secret
version: 3.7.1

View File

@ -4,6 +4,10 @@ setup() {
common_setup
}
@test "js/yarn" {
dagger -e js-yarn up
}
@test "alpine" {
dagger -e alpine up
}

View File

@ -4,10 +4,6 @@ setup() {
common_setup
}
@test "stdlib: yarn" {
"$DAGGER" compute "$TESTDIR"/stdlib/js/yarn --input-dir TestData="$TESTDIR"/stdlib/js/yarn/testdata
}
@test "stdlib: go" {
"$DAGGER" compute "$TESTDIR"/stdlib/go --input-dir TestData="$TESTDIR"/stdlib/go/testdata
}