further cleanup of unused comments and commands

This commit is contained in:
Mike Yaacoub
2022-12-19 16:34:27 -05:00
parent b63eba35c5
commit 39a9f5e920
2 changed files with 3 additions and 16 deletions

View File

@@ -74,12 +74,6 @@ jobs:
- run: ls -la
# - name: download docs
# uses: actions/download-artifact@v1
# with:
# name: guidebook
# path: guidebook
- name: clone nosqlbench-build-docs
env:
NBDROID_NAME: ${{ secrets.NBDROID_NAME }}
@@ -92,7 +86,6 @@ jobs:
git remote set-url origin https://${{secrets.NBDROID_NAME}}:${{secrets.NBDROID_TOKEN}}@github.com/nosqlbench/nosqlbench-build-docs.git
git remote -v
# Disabling this because it will be replaced soon.
- name: push changes
env:
NBDROID_NAME: ${{ secrets.NBDROID_NAME }}

View File

@@ -31,14 +31,11 @@ import java.util.Arrays;
public class VirtDataMainApp implements BundledApp {
private final static String APP_TESTMAPPER = "testmapper";
private final static String APP_GENDOCS = "gendocs";
private final static String APP_BUILDDOCS = "builddocs";
private final static String APP_DIAGNOSE = "diagnose";
private final static String[] names = new String[]{APP_GENDOCS,APP_BUILDDOCS, APP_TESTMAPPER, APP_DIAGNOSE};
private final static String[] names = new String[]{APP_TESTMAPPER, APP_DIAGNOSE};
public static boolean hasNamedApp(String appname) {
return (appname.equals(APP_TESTMAPPER) || appname.equals(APP_BUILDDOCS) || appname.equals(APP_GENDOCS) || appname.equals(APP_DIAGNOSE));
return (appname.equals(APP_TESTMAPPER) || appname.equals(APP_DIAGNOSE));
}
public static void main(String[] args) {
@@ -48,7 +45,7 @@ public class VirtDataMainApp implements BundledApp {
@Override
public int applyAsInt(String[] args) {
if (args.length == 0) {
System.out.println("Usage: app (" + APP_TESTMAPPER + "|" + APP_BUILDDOCS + "|" + APP_GENDOCS +"|"+ APP_DIAGNOSE +")");
System.out.println("Usage: app (" + APP_TESTMAPPER +"|"+ APP_DIAGNOSE +")");
return 1;
}
@@ -60,9 +57,6 @@ public class VirtDataMainApp implements BundledApp {
if (appSelection.equalsIgnoreCase(APP_TESTMAPPER)) {
VirtDataCheckPerfApp.main(appArgs);
}
else if (appSelection.equalsIgnoreCase(APP_GENDOCS)) {
VirtDataGenDocsApp.main(appArgs);
} else if (appSelection.equalsIgnoreCase(APP_DIAGNOSE)) {
VirtDataDiagnoseApp.main(appArgs);
} else {