Commit Graph

6 Commits

Author SHA1 Message Date
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