Browse Source

RELEASE BLOCKER: fix: flux and e2e tests not using the right image names for caching on local kind cluster (#3923)

* feat: just run the e2e test on main

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>

* overwrite the used image repository

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>

---------

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
Gergely Brautigam 1 year ago
parent
commit
0924819197
2 changed files with 8 additions and 0 deletions
  1. 1 0
      README.md
  2. 7 0
      e2e/Makefile

+ 1 - 0
README.md

@@ -2,6 +2,7 @@
     <img src="assets/eso-logo-large.png" width="30%" align="center" alt="external-secrets">
 </p>
 
+
 # External Secrets
 
 ![ci](https://github.com/external-secrets/external-secrets/actions/workflows/ci.yml/badge.svg?branch=main)

+ 7 - 0
e2e/Makefile

@@ -9,6 +9,13 @@ export E2E_IMAGE_NAME ?= ghcr.io/external-secrets/external-secrets-e2e
 export GINKGO_LABELS ?= !managed
 export TEST_SUITES ?= provider generator flux argocd
 
+# Image registry for build/push image targets
+# Overwrite what is being set in the main Makeilfe because
+# this is what the Helm chart is using.
+export IMAGE_REGISTRY = oci.external-secrets.io
+export IMAGE_REPO     = external-secrets/external-secrets
+export IMAGE_NAME = $(IMAGE_REGISTRY)/$(IMAGE_REPO)
+
 start-kind: ## Start kind cluster
 	kind create cluster \
 	  --name external-secrets \