From 48f8d1e60fa2f581c5cdbd76184d23179999da1e Mon Sep 17 00:00:00 2001 From: samir-tahir Date: Thu, 14 Nov 2024 11:44:22 +0000 Subject: [PATCH] Add e2e test workflow --- Makefile | 3 ++- config/manager/kustomization.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d951abd..247c6f9 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # Image URL to use all building/pushing image targets -IMG ?= controller:latest +IMG ?= samirtahir91076/github-app-operator:latest # ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary. ENVTEST_K8S_VERSION = 1.29.0 @@ -197,6 +197,7 @@ $(HELMIFY): $(LOCALBIN) test -s $(LOCALBIN)/helmify || GOBIN=$(LOCALBIN) go install github.com/arttor/helmify/cmd/helmify@v0.4.14 helm: manifests kustomize helmify + cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG} $(KUSTOMIZE) build config/default | $(HELMIFY) -cert-manager-as-subchart charts/github-app-operator ################################## diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 1564f6f..213f28b 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -5,4 +5,4 @@ kind: Kustomization images: - name: controller newName: samirtahir91076/github-app-operator - newTag: e2e-test + newTag: latest