diff --git a/tests/examples/react/.dagger/env/default/.gitignore b/examples/react/.dagger/env/default/.gitignore similarity index 100% rename from tests/examples/react/.dagger/env/default/.gitignore rename to examples/react/.dagger/env/default/.gitignore diff --git a/tests/examples/react/.dagger/env/default/values.yaml b/examples/react/.dagger/env/default/values.yaml similarity index 73% rename from tests/examples/react/.dagger/env/default/values.yaml rename to examples/react/.dagger/env/default/values.yaml index 5931237e..8832017e 100644 --- a/tests/examples/react/.dagger/env/default/values.yaml +++ b/examples/react/.dagger/env/default/values.yaml @@ -1,3 +1,5 @@ +plan: + module: . name: default inputs: www.account.name: @@ -19,8 +21,8 @@ sops: ZnFaRWtEM241cDVCTStnK25BcDYyWlUKT2U8IFC21xMigjaTHHgkdUxIXKshxTmg Q8254/qEWk+mJfsGxPf54d1RtqNqDX17kK/LeooSYAz7aqBjVLfG6w== -----END AGE ENCRYPTED FILE----- - lastmodified: "2021-05-28T20:06:11Z" - mac: ENC[AES256_GCM,data:GnbN0nu7ZFZHtyXxZIQ+p1CuYm3TPR+zAZa7FcsIvuQgase1DEMySIV2MJIwhhj/6PMEngs4HSIIo/61qFpFI47CELxgwmfUPadtJVG9Z3o9HterMFrHHXQL+ULxXjP7jDeXhcsEDh1GN+yroc7mFy3SM9Typ3FVzyIq/Lqek5U=,iv:68S92VPpLtj+rwTapqx6IyHJQFmiXpHOQoyxpvH7MD4=,tag:C3Jj9mkeTNCe8EkFAwRYAg==,type:str] + lastmodified: "2021-06-15T16:43:58Z" + mac: ENC[AES256_GCM,data:ihY1s1/ngxPrL940WkhRiVdmA+zPqcx9bVqlsWyAPfM/E5thIylNn7qMBDyFG6tHJAQFdqpbwCbQuKn6MVs+d+IgsoBwIcN1y4xQn2LhC53ludL2tG4CYyZM5EKx43EE/whzTuyNrPl9ykfx/u+KeQD5CNbaB9PrDjrtc+rNrPQ=,iv:7T2NHDXWrPJAsOVLPVhqFYnYcZjoBtE5x8R4CDUD+yM=,tag:yaXlTdSH7uvQiimKVPrvFg==,type:str] pgp: [] encrypted_suffix: secret version: 3.7.1 diff --git a/tests/examples.bats b/tests/examples.bats index 5bbb051b..8f5ceb72 100644 --- a/tests/examples.bats +++ b/tests/examples.bats @@ -5,9 +5,8 @@ setup() { } @test "example: react" { - cp -R "$TESTDIR"/examples/react/.dagger "$DAGGER_WORKSPACE"/.dagger - mkdir "$DAGGER_WORKSPACE"/.dagger/env/default/plan - cp -R "$TESTDIR"/../examples/react/*.cue "$DAGGER_WORKSPACE"/.dagger/env/default/plan + DAGGER_WORKSPACE="$TESTDIR"/../examples/react + export DAGGER_WORKSPACE "$DAGGER" up