From 7ad89ea2e0c0e35d3f9d1520d1862b9db65addef Mon Sep 17 00:00:00 2001 From: Charlie Wheeler-Robinson Date: Thu, 1 Feb 2024 12:02:12 -0500 Subject: [PATCH] promote e2e from hack to cmd Signed-off-by: Charlie Wheeler-Robinson --- Containerfile | 2 +- README.adoc | 6 +++--- {hack => cmd}/e2e.sh | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename {hack => cmd}/e2e.sh (100%) diff --git a/Containerfile b/Containerfile index 91afed9..925c933 100644 --- a/Containerfile +++ b/Containerfile @@ -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"] diff --git a/README.adoc b/README.adoc index b3ea915..fce9453 100644 --- a/README.adoc +++ b/README.adoc @@ -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 @@ -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 ---- diff --git a/hack/e2e.sh b/cmd/e2e.sh similarity index 100% rename from hack/e2e.sh rename to cmd/e2e.sh