Skip to content

Commit

Permalink
promote e2e from hack to cmd
Browse files Browse the repository at this point in the history
Signed-off-by: Charlie Wheeler-Robinson <[email protected]>
  • Loading branch information
crwr45 authored and jnunyez committed Feb 8, 2024
1 parent f65fdae commit 7ad89ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ WORKDIR ${VSE_DIR}/vse-sync-collection-tools
RUN go mod vendor

WORKDIR ${VSE_DIR}
CMD ["./vse-sync-test/hack/e2e.sh", "-d", "2000s", "/usr/vse/kubeconfig"]
CMD ["./vse-sync-test/cmd/e2e.sh", "-d", "2000s", "/usr/vse/kubeconfig"]
6 changes: 3 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ For example to run analysis over an existing dataset stored in `~/tmp/data/` the

[source,shell]
----
podman run -v ~/kubeconfig-cormorant:/usr/vse/kubeconfig -v ~/tmp/data:/usr/vse/data quay.io/redhat-partner-solutions/vse-sync-test:latest ./vse-sync-test/hack/e2e.sh
podman run -v ~/kubeconfig-cormorant:/usr/vse/kubeconfig -v ~/tmp/data:/usr/vse/data quay.io/redhat-partner-solutions/vse-sync-test:latest ./vse-sync-test/cmd/e2e.sh
----

== Development Setup
Expand All @@ -127,11 +127,11 @@ $ tree -L 1
- To clean up a previous run and do a new test run:
[source,shell]
----
$ rm -r data/*; ./vse-sync-test/hack/e2e.sh -d 2000s ~/kubeconfig-cormorant
$ rm -r data/*; ./vse-sync-test/cmd/e2e.sh -d 2000s ~/kubeconfig-cormorant
----

- Omit the kubeconfig to skip data collection and re-analyse existing data in `data/collected/` :
[source,shell]
----
$ rm -r data/artefacts; rm data/*; ./vse-sync-test/hack/e2e.sh
$ rm -r data/artefacts; rm data/*; ./vse-sync-test/cmd/e2e.sh
----
File renamed without changes.

0 comments on commit 7ad89ea

Please sign in to comment.