Skip to content

Commit e30615d

Browse files
committed
fix(e2e): use correct image name in kustomize overlay
The e2e kustomize overlay matches docker.io/library/plugin-barman-cloud but the base kustomization at kubernetes/kustomization.yaml matches the bare plugin-barman-cloud name from kubernetes/deployment.yaml and replaces it with the GHCR image. Since the overlay name never matches, the locally-built image is never deployed and e2e tests always run against the main branch code from GHCR. Use the bare image name so the overlay rule overrides the base rule. Broken since b7daaac (#89) changed the base kustomization's newName from docker.io/library/plugin-barman-cloud to the GHCR image without updating the e2e overlay. Closes #840 Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
1 parent e973d8e commit e30615d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/e2e/e2e_suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ var _ = SynchronizedBeforeSuite(func(ctx SpecContext) []byte {
5959
Resources: []string{barmanCloudKustomizationPath},
6060
Images: []kustomizeTypes.Image{
6161
{
62-
Name: "docker.io/library/plugin-barman-cloud",
62+
Name: "plugin-barman-cloud",
6363
NewName: "registry.barman-cloud-plugin:5000/plugin-barman-cloud",
6464
NewTag: "testing",
6565
},

0 commit comments

Comments
 (0)