Migrate integration test for universe/go

Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
Solomon Hykes 2021-06-17 13:20:47 +00:00 committed by Solomon Hykes
parent 9f3307b26b
commit a4e31949a3
7 changed files with 34 additions and 7 deletions

2
stdlib/.dagger/env/go/.gitignore vendored Normal file
View File

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

View File

@ -7,7 +7,7 @@ import (
"dagger.io/dagger/op"
)
TestData: dagger.#Artifact
TestData: dagger.#Artifact @dagger(input)
TestGoBuild: {
build: go.#Build & {

27
stdlib/.dagger/env/go/values.yaml vendored Normal file
View File

@ -0,0 +1,27 @@
plan:
module: .dagger/env/go/plan
name: go
inputs:
TestData:
dir:
path: ./go/testdata
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age1gxwmtwahzwdmrskhf90ppwlnze30lgpm056kuesrxzeuyclrwvpsupwtpk
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBpQ2o5dkg3S2tVZkhJZXoz
VWlmMjdvZ1B6VTB2SlhsNEdBUG5sT2xTZ2d3CnlUL1JHMW8yK0FkQTFra0tSMjJH
eTcrZUs3Y2lrUG9xUDgxNkhMa2VNbVUKLS0tIHowR2ZneG5nOUppQlY4N2hEZU9n
R0o3dlptazJPTmp3OFo5RDcxOVg1VVkK1lLu/wrPvgzXa8Ym3qdvcuYCj8csbtOG
T4HjRvA0EEF8jmFEuqS8Y/N0vQiezoZR7JU9PbjOoD1B5bLHtJcryQ==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2021-06-17T13:10:32Z"
mac: ENC[AES256_GCM,data:oD5rZ0k3KHxQ21eeDP0CQRdSYWBNfrgynNB3xrT3ntSTCsLkRuFH1G5NBnV3Hpvd5B5l5qQuuUDlQLY4nB8mbJJKr/TwYIRMELDDMqpitTfkddjm+UeUrRyTP/YStVnR+g6nv8NcDdHcg4eF2lXl6Q7JKNlsMAGndgb5920QNcY=,iv:vx84/Tp727FpbpXcp2Dm9MXz1OPnnVIICgcofjPjiHI=,tag:8+lCqBKc535mYMmVV2k1wQ==,type:str]
pgp: []
encrypted_suffix: secret
version: 3.7.1

View File

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

View File

@ -4,12 +4,6 @@ setup() {
common_setup
}
# FIXME: move to universe/universe.bats
# Assigned to: <ADD YOUR NAME HERE>
@test "stdlib: go" {
"$DAGGER" compute "$TESTDIR"/stdlib/go --input-dir TestData="$TESTDIR"/stdlib/go/testdata
}
# FIXME: move to universe/universe.bats
# Assigned to: <ADD YOUR NAME HERE>
@test "stdlib: kubernetes" {