Move tests plan from dagger dir to universe
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
26
stdlib/.dagger/env/os/plan/main.cue
vendored
26
stdlib/.dagger/env/os/plan/main.cue
vendored
@@ -1,26 +0,0 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"alpha.dagger.io/os"
|
||||
"alpha.dagger.io/alpine"
|
||||
)
|
||||
|
||||
// Write a file to an empty dir
|
||||
EmptyDir: {
|
||||
f: os.#File & {
|
||||
path: "/foo.txt"
|
||||
write: data: "hello world!"
|
||||
}
|
||||
f: contents: "hello world!"
|
||||
}
|
||||
|
||||
// Read from a pre-existing file
|
||||
Read: {
|
||||
f: os.#File & {
|
||||
from: alpine.#Image & {
|
||||
version: "3.13.4"
|
||||
}
|
||||
path: "/etc/alpine-release"
|
||||
}
|
||||
f: contents: "3.13.4\n"
|
||||
}
|
7
stdlib/.dagger/env/os/values.yaml
vendored
7
stdlib/.dagger/env/os/values.yaml
vendored
@@ -1,3 +1,6 @@
|
||||
plan:
|
||||
module: ./os
|
||||
package: ./tests/os
|
||||
name: os
|
||||
sops:
|
||||
kms: []
|
||||
@@ -14,8 +17,8 @@ sops:
|
||||
STlrbFNHZGFRUVQ1S1RIaGVyWktNV0kKo9AFURi/BKI+JuGYVuOrsw3eJU3s66Im
|
||||
FCc5YCzrsjX+Y26Su+XW81fTWkcC910e/g+tlZbEFWKZYa8qu1VkqA==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
lastmodified: "2021-06-09T18:19:29Z"
|
||||
mac: ENC[AES256_GCM,data:G/D+9UqwJXhqVHAq8rXP7YxubzGKNxjguUVuVpnxKN7awzYaAD2E5plBFDqCw++5qFSZ7HMlWZUseyKOfaOxtkT0CTRAZf8cYLXHIjzKKCFP632nLN0zCPQCMqdrhOLtWkLovtHJ94Xvd3C3Mb+bVi1YmOC6nQHhpglwTVjDw9I=,iv:0GN4vAO5QMXUTODDKYpPD/UmxjfI+RyCdYz9UXQNCso=,tag:RacQNrAUhJHtKeu5ugUadA==,type:str]
|
||||
lastmodified: "2021-06-24T18:33:15Z"
|
||||
mac: ENC[AES256_GCM,data:8/GzJKtH7GONYbtBDqaSj5HdK8csmwoE7fNx2tRAwUs1uYCaZT4n1NBFuxDj/iFtVKB/St2Ba4thEE6+99azLnmMoC1Ss/1v9ZPfINzZuEZBFf3+ufVNSdI49c8DOeRfPNieupPdmPwHFBUN1nPpaK3bYmgr8CaVkdY3+iq4hX8=,iv:lIMOnbJr1gBoCdlbRWTOg2jA57fhZLu970k5QqV+1Yk=,tag:IziUm3K+8IdBJ5XYoeHhjg==,type:str]
|
||||
pgp: []
|
||||
encrypted_suffix: secret
|
||||
version: 3.7.1
|
||||
|
Reference in New Issue
Block a user