From d388c729bcff6ab62fab1b983b7012550a3c9fe3 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Thu, 10 Jun 2021 10:29:49 +0000 Subject: [PATCH] universe: spin out alpine tests Signed-off-by: Solomon Hykes --- stdlib/.dagger/env/alpine/.gitignore | 2 ++ .../.dagger/env/alpine/plan}/alpine.cue | 0 stdlib/.dagger/env/alpine/values.yaml | 21 +++++++++++++++++++ stdlib/universe.bats | 4 ++++ tests/stdlib.bats | 4 ---- 5 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 stdlib/.dagger/env/alpine/.gitignore rename {tests/stdlib/alpine => stdlib/.dagger/env/alpine/plan}/alpine.cue (100%) create mode 100644 stdlib/.dagger/env/alpine/values.yaml diff --git a/stdlib/.dagger/env/alpine/.gitignore b/stdlib/.dagger/env/alpine/.gitignore new file mode 100644 index 00000000..01ec19b0 --- /dev/null +++ b/stdlib/.dagger/env/alpine/.gitignore @@ -0,0 +1,2 @@ +# dagger state +state/** diff --git a/tests/stdlib/alpine/alpine.cue b/stdlib/.dagger/env/alpine/plan/alpine.cue similarity index 100% rename from tests/stdlib/alpine/alpine.cue rename to stdlib/.dagger/env/alpine/plan/alpine.cue diff --git a/stdlib/.dagger/env/alpine/values.yaml b/stdlib/.dagger/env/alpine/values.yaml new file mode 100644 index 00000000..f435069b --- /dev/null +++ b/stdlib/.dagger/env/alpine/values.yaml @@ -0,0 +1,21 @@ +name: alpine +sops: + kms: [] + gcp_kms: [] + azure_kv: [] + hc_vault: [] + age: + - recipient: age1gxwmtwahzwdmrskhf90ppwlnze30lgpm056kuesrxzeuyclrwvpsupwtpk + enc: | + -----BEGIN AGE ENCRYPTED FILE----- + YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB0Ky9vQU16Vms0OUpOaVBk + K3J5R1RqREwvTEdYenVJaEl0VDB2aXJ0QTBrCnM2QnhUa0hXS0tGUjRvMnlveUZT + UitUU2lwUHBGUXVmbms1R2srdW1iSGMKLS0tIFExMzh6WlowVUNzRDR2Rkx0MXh0 + N0JOK1FwdzkrcGR5V0xhUDdNOFNvYk0KetOvulxA0Hilyhv+eWBqYO3GXNvm38Y1 + 9Pa7HYazNyi0qMcZpecWlp4QsOoL876dj1rE62cYHT2hkt2J2ijAUw== + -----END AGE ENCRYPTED FILE----- + lastmodified: "2021-06-10T10:08:37Z" + mac: ENC[AES256_GCM,data:P5OXSf1S6FkPHYxRqeQ0U3AAk72HhbX76ox5QKRtyB4hkKDPq1qAbeGZxTt1qh/bc71KCXbraGCcoE6koiwYTsmgH5boZ9uDKwXDoY4lUekgo5W0PC7LU9H0BuL2CY0MM5p+5kT+BmWJh45fknUOv2t1ATiQCf8YqiAB/5LqMuU=,iv:W8QZrhOCjuFDkxjePjrzvQF2Cv4GZpaLgk5ZwxIrxik=,tag:CRwP6SHfebSGhgtUbXJEMA==,type:str] + pgp: [] + encrypted_suffix: secret + version: 3.7.1 diff --git a/stdlib/universe.bats b/stdlib/universe.bats index 8070271b..b530db96 100644 --- a/stdlib/universe.bats +++ b/stdlib/universe.bats @@ -4,6 +4,10 @@ setup() { common_setup } +@test "alpine" { + dagger -e alpine up +} + @test "netlify" { dagger -e netlify up } diff --git a/tests/stdlib.bats b/tests/stdlib.bats index e79128dc..1eaf96f0 100644 --- a/tests/stdlib.bats +++ b/tests/stdlib.bats @@ -4,10 +4,6 @@ setup() { common_setup } -@test "stdlib: alpine" { - "$DAGGER" compute "$TESTDIR"/stdlib/alpine -} - @test "stdlib: yarn" { "$DAGGER" compute "$TESTDIR"/stdlib/js/yarn --input-dir TestData="$TESTDIR"/stdlib/js/yarn/testdata }