mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
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:
@@ -18,8 +18,10 @@ hack/
|
||||
docs/
|
||||
examples/
|
||||
.github/
|
||||
!test/fixture
|
||||
!test/container
|
||||
!test/e2e/testdata
|
||||
!test/fixture
|
||||
!test/remote
|
||||
!hack/installers
|
||||
!hack/gpg-wrapper.sh
|
||||
!hack/git-verify-wrapper.sh
|
||||
|
||||
@@ -2,8 +2,8 @@ PWD=$(shell pwd)
|
||||
TEST_ROOT=$(shell realpath $(PWD)/../..)
|
||||
|
||||
IMAGE_NAMESPACE?=
|
||||
IMAGE_NAME=argocd-e2e-cluster
|
||||
IMAGE_TAG=latest
|
||||
IMAGE_NAME?=argocd-e2e-cluster
|
||||
IMAGE_TAG?=latest
|
||||
ifneq (${IMAGE_NAMESPACE},)
|
||||
IMAGE_PREFIX=$(IMAGE_NAMESPACE)/
|
||||
else
|
||||
|
||||
@@ -128,7 +128,7 @@ Run the tests
|
||||
In another shell, do a port-forward to the API server's service:
|
||||
|
||||
```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:
|
||||
@@ -140,7 +140,7 @@ export ARGOCD_SERVER=127.0.0.1:4443
|
||||
Set the admin password to use:
|
||||
|
||||
```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
|
||||
|
||||
Reference in New Issue
Block a user