mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
further cleanup of unused comments and commands
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -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 }}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user