test(e2e): allow build of argocd-e2e-cluster image for remote tests (#15805)

* chore: allow build of argocd-e2e-cluster image for remote testing

Signed-off-by: Chris Fry <christopherfry@google.com>

* Retrigger CI pipeline

Signed-off-by: Chris Fry <christopherfry@google.com>

---------

Signed-off-by: Chris Fry <christopherfry@google.com>
This commit is contained in:
Christopher Fry
2023-10-06 19:55:30 -07:00
committed by GitHub
parent af4fa1e671
commit 1959654dac
3 changed files with 7 additions and 5 deletions

View File

@@ -18,8 +18,10 @@ hack/
docs/ docs/
examples/ examples/
.github/ .github/
!test/fixture
!test/container !test/container
!test/e2e/testdata
!test/fixture
!test/remote
!hack/installers !hack/installers
!hack/gpg-wrapper.sh !hack/gpg-wrapper.sh
!hack/git-verify-wrapper.sh !hack/git-verify-wrapper.sh

View File

@@ -2,8 +2,8 @@ PWD=$(shell pwd)
TEST_ROOT=$(shell realpath $(PWD)/../..) TEST_ROOT=$(shell realpath $(PWD)/../..)
IMAGE_NAMESPACE?= IMAGE_NAMESPACE?=
IMAGE_NAME=argocd-e2e-cluster IMAGE_NAME?=argocd-e2e-cluster
IMAGE_TAG=latest IMAGE_TAG?=latest
ifneq (${IMAGE_NAMESPACE},) ifneq (${IMAGE_NAMESPACE},)
IMAGE_PREFIX=$(IMAGE_NAMESPACE)/ IMAGE_PREFIX=$(IMAGE_NAMESPACE)/
else else

View File

@@ -128,7 +128,7 @@ Run the tests
In another shell, do a port-forward to the API server's service: In another shell, do a port-forward to the API server's service:
```shell ```shell
kubectl -n argocd-e2e port-forward svc/argocd-server 443:4443 kubectl -n argocd-e2e port-forward svc/argocd-server 4443:443
``` ```
Set Argo CD Server port: Set Argo CD Server port:
@@ -140,7 +140,7 @@ export ARGOCD_SERVER=127.0.0.1:4443
Set the admin password to use: Set the admin password to use:
```shell ```shell
export ARGOCD_E2E_ADMIN_PASSWORD=$(kubectl get secrets argocd-initial-admin-secret -o jsonpath='{.data.password}'|base64 -d) export ARGOCD_E2E_ADMIN_PASSWORD=$(kubectl -n argocd-e2e get secrets argocd-initial-admin-secret -o jsonpath='{.data.password}'|base64 -d)
``` ```
Run the tests Run the tests