Commit Graph

10 Commits

Author SHA1 Message Date
Sam Alba
0dc63bb30e tests: fixed test result
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-13 14:22:35 -07:00
Sam Alba
637c980c20 tests: added missing test in ops.bats
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-13 12:36:13 -07:00
Solomon Hykes
56ef4c1928 tests: remove outdated skip message
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-05-12 16:43:14 -07:00
Andrea Luzzardi
d8a1f35f68 fix pipeline caching when using cache mounts
Force the Pipeline to resolve the canonical Cue value before computing.
This ensures that `.Path()` gives a constant result even on references.

Fixes #399

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-07 11:54:45 -07:00
Sam Alba
aa74b8fb7b added tests for push-container with login
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-26 17:42:48 -07:00
Tom Chauveau
e366773dc0 Rename tests with new naming convention and update tests lists
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-24 22:33:52 +02:00
Tom Chauveau
57256eb8c4 Add tests for Subdir operation
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-24 19:32:02 +02:00
Andrea Luzzardi
2b7dfcae29 Revert "support registry auth"
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-23 16:59:22 -07:00
Andrea Luzzardi
692bd72095 support registry auth
HACK: the way buildkit works, we can only supply an Auth Provider for the entirety of the build session (`dagger up`). Therefore, we start by scanning all auth in the entire Cue tree and supply an auth provider for all of them.

Drawbacks:
- As soon as you add `auth` in a Pipeline for a registry, all other Pipelines have access to the same registry
- You can't use different credentials for the same registry

Fixes #301

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-20 15:28:33 -07:00
Andrea Luzzardi
381db37ca3 tests: migrate ops test to bats
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-14 16:15:04 -07:00