Skip to content

Commit

Permalink
test(e2e): allow build of argocd-e2e-cluster image for remote tests (a…
Browse files Browse the repository at this point in the history
…rgoproj#15805)

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

Signed-off-by: Chris Fry <[email protected]>

* Retrigger CI pipeline

Signed-off-by: Chris Fry <[email protected]>

---------

Signed-off-by: Chris Fry <[email protected]>
  • Loading branch information
ChristopherFry committed Oct 7, 2023
1 parent af4fa1e commit 1959654
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/remote/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/remote/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 1959654

Please sign in to comment.