Commit Graph

215 Commits

Author SHA1 Message Date
Tom Chauveau
f2d8cb39bd Fix network error on docker-compose
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 16:56:28 +02:00
Tom Chauveau
b6c8ef34b0 Add docker-compose tests
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 16:56:28 +02:00
Tom Chauveau
9270168f17 Add docker-compose package in stdlib
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-25 16:56:28 +02:00
Andrea Luzzardi
4596276944 tests: sanity-check: run from universe directory
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-25 16:41:16 +02:00
Andrea Luzzardi
898b0816be universe: add cue.mod
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-25 16:14:11 +02:00
Solomon Hykes
d7a805f42b stdlib: move all imports to alpha.dagger.io
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-25 10:31:22 +00:00
Solomon Hykes
aa6335246b os.#Container: mount secrets with a more consistent API
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-23 13:35:15 +02:00
Solomon Hykes
9d85bab9e7 os.#File: simplify API
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-23 12:56:27 +02:00
Andrea Luzzardi
9984edad09
Merge pull request #707 from samalba/fix-links
Adds support for stdlib Index
2021-06-23 11:24:17 +02:00
Sam Alba
af82c2c910 docs: adds package description to the stdlib Index
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-23 11:05:58 +02:00
Guillaume de Rouville
6ed3ab712d Complete refacto of CF's doc + fix output issue on Cloudformation package
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-22 19:22:27 +02:00
Andrea Luzzardi
83019a5414
Merge pull request #685 from TomChv/move-tests-to-universe
Move tests to universe
2021-06-21 17:41:43 +02:00
Solomon Hykes
53f4ef049a stdlib: dagger.#Output
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-21 14:47:45 +02:00
Solomon Hykes
8383efdba6 stdlib: dagger.#Input
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-21 14:47:45 +02:00
Tom Chauveau
9c20c45453 Use sandbox in tests
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-18 23:29:31 +02:00
Tom Chauveau
2e9a0d6509 Add test to universe
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-18 18:33:02 +02:00
Sam Alba
67fb9678af stdlib/s3: fix lint
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-18 13:29:18 +02:00
Sam Alba
9e20543fcd stdlib/s3: protect always flag
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-18 13:20:28 +02:00
Sam Alba
448c8102e3 stdlib/s3: fixes always flag (fixes #676)
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-18 13:09:02 +02:00
Solomon Hykes
a4e31949a3 Migrate integration test for universe/go
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-17 16:38:58 +02:00
Guillaume de Rouville
ce41d25c52 Revert kubernetes/helm packages and tests from secret to str type, needed for docs
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-17 03:16:28 +02:00
Andrea Luzzardi
7f456b9131 tests: update plan config
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-16 18:58:56 +02:00
Sam Alba
28a1e6a4c5
Merge pull request #653 from grouville/git_package_tests
docs: git package uniformization + tests implementation
2021-06-16 11:26:15 +02:00
Sam Alba
ae167c5794 stdlib: fixed s3 test
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-16 10:29:21 +02:00
Guillaume de Rouville
407ee6e9ee docs: git package uniformization + tests implementation
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-16 10:29:03 +02:00
Sam Alba
0d5f41ee31 docs: s3 lib: deprecated #Put in favor #Object
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-15 18:47:36 +02:00
Sam Alba
5eb40b3176 docs: refreshed stdlib
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-15 18:47:36 +02:00
Sam Alba
d1454a9871 stdlib: renamed verbs to nouns
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-15 18:47:36 +02:00
Guillaume de Rouville
6f9a61386e docs: remove package file
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-15 18:47:36 +02:00
Guillaume de Rouville
ddf752733a docs : alpine package
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-15 18:47:36 +02:00
Sam Alba
380cb94866 docs: added missing helm docs
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-15 18:47:36 +02:00
Sam Alba
6422b4d36d stdlib: cue fmt
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-15 10:47:39 +02:00
Sam Alba
9281967e16 stdlib: added package doc strings
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-15 10:46:56 +02:00
Guillaume de Rouville
7d3ff89703 fix english typo in Cloudformation package
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-06-14 16:55:09 +02:00
Tom Chauveau
b8a97fb6e7 Update docker.#Run definition and tests
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-12 12:04:47 +02:00
Tom Chauveau
8a2fc9aa72 Add docker.#Command tests
Tests :
- docker version with ssh
- docker version with ssh and key passphrase
- docker version with ass and wrong key passphrase

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-11 09:55:03 +02:00
Tom Chauveau
e540bd2716 Replace docker.#Client with docker.#Command definition
It's a simple wrapper that will expose an interface
to run any docker or docker-compose commands
You can configure :
- ssh
- environments
- mount volumes
- command to execute
- package to install

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-11 09:55:03 +02:00
Solomon Hykes
2976afad66 universe: spin out js/yarn tests
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-10 16:09:41 +02:00
Solomon Hykes
d388c729bc universe: spin out alpine tests
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-10 16:09:41 +02:00
Solomon Hykes
c1096fbc12 Fix infinite loop in universe tests
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-10 16:09:41 +02:00
Andrea Luzzardi
3339a351ed tests: enable shellcheck for universe tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-09 15:51:31 -07:00
Andrea Luzzardi
5d2392b38c tests: universe: misc fixes
- Fix running from any directory
- Fix display format for test logs
- Move helpers to a common helper file
- Indentation

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-09 15:51:23 -07:00
Solomon Hykes
fcbdfe178a Move universe integration tests to universe dir.
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-09 20:28:44 +00:00
Andrea Luzzardi
d19dd4d193
Merge pull request #594 from samalba/disable-cache-mount
Disable cache mount
2021-06-09 10:23:02 -07:00
Solomon Hykes
ce663ca2ba stdlib: aws/ecr: simplify
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-09 17:22:53 +02:00
Sam Alba
b41adbd9c2 stdlib/os: fixed typo in container.cue (dest cache folder was always "true")
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-09 15:21:30 +02:00
Andrea Luzzardi
940d9ccfee docs: fix non-escaped URLs
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 18:40:08 -07:00
Andrea Luzzardi
f3f5e7c714 docs: make universe
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 18:29:02 -07:00
Andrea Luzzardi
22329e3a4d stdlib: helm: fix chart repository
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 16:01:55 -07:00
Andrea Luzzardi
db0937c927 stdlib: add random package
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 15:15:01 -07:00