Skip to content

Commit e89ba3a

Browse files
committed
fix(e2e): use correct image name in kustomize overlay
Closes #840 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. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
1 parent 134b45f commit e89ba3a

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
@@ -60,7 +60,7 @@ var _ = SynchronizedBeforeSuite(func(ctx SpecContext) []byte {
6060
Resources: []string{barmanCloudKustomizationPath},
6161
Images: []kustomizeTypes.Image{
6262
{
63-
Name: "docker.io/library/plugin-barman-cloud",
63+
Name: "ghcr.io/cloudnative-pg/plugin-barman-cloud-testing",
6464
NewName: "registry.barman-cloud-plugin:5000/plugin-barman-cloud",
6565
NewTag: "testing",
6666
},

0 commit comments

Comments
 (0)