Commit Graph

204 Commits

Author SHA1 Message Date
Sam Alba
2e883ae47c test: implemented test for invalid input
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-07-12 11:10:18 +02:00
Andrea Luzzardi
06b671a528 commit missing cue.mod
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-07-08 17:52:21 +02:00
Andrea Luzzardi
f58ee5811b universe vendoring
Rather than injecting universe at runtime, this change will vendor
alpha.dagger.io in `cue.mod` directly.

Fixes #700

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-07-08 17:52:21 +02:00
Andrea Luzzardi
f8531fdb0b
Merge pull request #772 from aluzzardi/default-plan-dir
plan: default cue module to .
2021-07-07 17:34:23 +02:00
Andrea Luzzardi
6e215b194e use the workspace as the plan module
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-07-07 13:12:10 +02:00
Andrea Luzzardi
919d5576d0 plan: default cue module to .
Fixes #699

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-07-07 13:12:10 +02:00
Edgar Lee
0501ae91a5 Adds support for op.#FetchHTTP
Signed-off-by: Edgar Lee <edgarhinshunlee@gmail.com>
2021-07-06 14:37:52 -07:00
Tihomir Jovicic
104928f062 Merge branch 'main' into cloudrun-support 2021-07-05 11:51:39 +02:00
Tom Chauveau
2f710b0ce4 Fix login miss behavior and update op
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-07-01 14:08:49 +02:00
Tihomir Jovicic
650caa8d4a Merge branch 'main' into cloudrun-support 2021-07-01 08:54:44 +02:00
Tom Chauveau
58a67cf86b Improve parseAuthHost function to work for all ref
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-30 19:07:12 +02:00
Tom Chauveau
f842f1ed1d Remove old docker push and pull test
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-30 16:58:04 +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
b1d52254b1 Tests: merge compute.bats into core.bats
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-22 22:52:03 +02:00
Tihomir Jovicic
1b6187181d Merge branch 'main' into cloudrun-support 2021-06-22 12:30:48 +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
Andrea Luzzardi
8ccda8de0f
Merge pull request #693 from samalba/test-input-dir-ignore
test: added test for ignoring .dagger directory in input dir
2021-06-21 17:40:28 +02:00
Solomon Hykes
e8b8c47751 Remove original examples directory
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-21 15:27:52 +02:00
Sam Alba
f4afe5d129 test: added test for ignoring .dagger directory in input dir
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-21 15:14:18 +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
49277af680 Add simple test environment for core features
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-21 14:47:45 +02:00
Tihomir Jovicic
6451e2e40d remove old gcp cloudrun tests
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-21 11:35:33 +02:00
Tihomir Jovicic
83eebf82fa Move Cloud Run image property to GCP config struct
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-21 10:57:26 +02:00
Tihomir Jovicic
5d8219a8f3 Add Cloud Run support
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-06-21 10:57:18 +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
Tom Chauveau
b999a3dd11 Remove old stdlib tests
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-18 17:54:50 +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
Andrea Luzzardi
f39a88e644 cue native: environments can reference a module instead of embedding
one.

Fixes #631

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-16 18:58:56 +02:00
Andrea Luzzardi
8de58eb3d0 tests: examples: react: use module . to run the test
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-16 18:58:56 +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
Solomon Hykes
9fa89f1f22 stdlib tests: FIXMEs + call for help
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-10 16:09:41 +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
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
a53b9ec166 tests: use different container prefix for docker tests
Avoid name conflicts when random returns the same string

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-09 11:40:32 -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
Andrea Luzzardi
4c40a87634 tests: fix random
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-08 11:34:16 -07:00
Andrea Luzzardi
7ce8dd26f1 tests: testConfig -> TestConfig
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-07 16:33:34 -07:00
Andrea Luzzardi
2acf0ce4e5 stdlib: docker: disable local #Run
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-07 16:33:10 -07:00
Andrea Luzzardi
ce5accd09c stdlib: docker: support running containers on the local docker engine
Depends on #570

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-07 16:33:07 -07:00
Andrea Luzzardi
4365541d4d
Merge pull request #579 from TomChv/refacto-random
Refactor random
2021-06-07 14:54:08 -07:00
Tom Chauveau
fdb91a7332 Refactor random generation into a definition to make it reusable
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-06-07 23:39:41 +02:00
Andrea Luzzardi
4f887b2295
Merge pull request #570 from aluzzardi/docker-socket
docker socket forwarding support
2021-06-07 13:32:24 -07:00
Andrea Luzzardi
9cdde1318f
Merge pull request #568 from aluzzardi/kubernetes-apply-resources
stdlib: kubernetes: rename #Apply to #Resources
2021-06-07 13:31:55 -07:00
Andrea Luzzardi
2671e5f321 disable docker socket support until we have security in place
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-07 13:18:46 -07:00
Andrea Luzzardi
15ee983b0f tests: add instructions to run a single test
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-07 11:30:11 -07:00
Andrea Luzzardi
31528989c1 docs: fix "superglu" typo
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-07 11:24:05 -07:00