bdy 1.22.23-dev → 1.22.23-dev-pipeline
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/distTs/package.json +1 -1
- package/distTs/src/api/client.js +110 -2
- package/distTs/src/command/pipeline/create.js +51 -0
- package/distTs/src/command/pipeline/delete.js +41 -0
- package/distTs/src/command/pipeline/get.js +51 -0
- package/distTs/src/command/pipeline/list.js +47 -0
- package/distTs/src/command/pipeline/run/apply.js +62 -0
- package/distTs/src/command/pipeline/run/approve.js +64 -0
- package/distTs/src/command/pipeline/run/cancel.js +38 -0
- package/distTs/src/command/pipeline/run/list.js +58 -0
- package/distTs/src/command/pipeline/run/logs.js +38 -0
- package/distTs/src/command/pipeline/run/retry.js +38 -0
- package/distTs/src/command/pipeline/run/start.js +98 -0
- package/distTs/src/command/pipeline/run/status.js +37 -0
- package/distTs/src/command/pipeline/run.js +22 -125
- package/distTs/src/command/pipeline/update.js +47 -0
- package/distTs/src/command/pipeline/yaml.js +38 -0
- package/distTs/src/command/pipeline.js +26 -0
- package/distTs/src/command/pre.js +1 -1
- package/distTs/src/command/project/link.js +11 -11
- package/distTs/src/input.js +11 -10
- package/distTs/src/output/pipeline.js +1677 -0
- package/distTs/src/output.js +156 -32
- package/distTs/src/texts.js +203 -169
- package/distTs/src/tunnel/output/interactive/tunnel.js +2 -2
- package/distTs/src/types/pipeline.js +424 -0
- package/package.json +1 -1
- package/distTs/src/command/project/get.js +0 -18
- package/distTs/src/command/project/set.js +0 -31
- package/distTs/src/command/sandbox/get/yaml.js +0 -30
- package/distTs/src/command/vt/scrape.js +0 -193
package/distTs/src/texts.js
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.EXAMPLE_ARTIFACT_VERSION_DELETE = void 0;
|
|
3
|
+
exports.ERR_CERT_PATH_IS_NOT_VALID = exports.ERR_KEY_PATH_IS_NOT_VALID = exports.ERR_CA_PATH_IS_NOT_VALID = exports.ERR_WRONG_CA = exports.ERR_WRONG_KEY_CERT = exports.ERR_NAME_WITHOUT_ASTERISK = exports.ERR_PORT_IS_NOT_VALID = exports.ERR_REGION_IS_NOT_VALID = exports.ERR_PATH_IS_NOT_DIRECTORY = exports.ERR_DIRECTORY_DOES_NOT_EXISTS = exports.ERR_TERMINATE_IS_NOT_VALID = exports.ERR_TIMEOUT_IS_NOT_VALID = exports.ERR_TYPE_IS_NOT_VALID = exports.ERR_TARGET_IS_NOT_VALID = exports.ERR_SAVING_AGENT_CONFIG = exports.ERR_AGENT_NOT_REGISTERED = exports.ERR_RUN_PIPELINE_WRONG_VARIABLE = exports.ERR_RUN_PIPELINE_WRONG_ACTION = exports.ERR_RUN_PIPELINE_WRONG_DELAY = exports.ERR_PIPELINE_RUNS_NOT_FOUND = exports.ERR_PIPELINES_NOT_FOUND = exports.ERR_RUN_PIPELINE_WRONG_RUN_ACTION_ID = exports.ERR_RUN_PIPELINE_WRONG_RUN_ID = exports.ERR_RUN_PIPELINE_WRONG_PRIORITY = exports.ERR_SANDBOX_EXEC_RUNTIME_NOT_FOUND = exports.ERR_ARTIFACT_VERSIONS_NOT_FOUND = exports.ERR_ARTIFACT_NOT_FOUND = exports.ERR_ARTIFACT_VERSION_NOT_FOUND = exports.ERR_ARTIFACT_VERSION_EXISTS = exports.ERR_ARTIFACT_PUBLISH_NOT_FOUND = exports.ERR_ARTIFACT_DOWNLOAD_NOT_FOUND = exports.ERR_CANT_APPLY_ACTION_EXECUTION = exports.ERR_PIPELINE_NOT_FOUND = exports.ERR_PROJECT_NOT_FOUND = exports.ERR_WORKSPACE_NOT_FOUND = exports.ERR_REST_API_YAML_NOT_FOUND = exports.ERR_REST_API_YAML = exports.ERR_REST_API_PROJECT = exports.ERR_REST_API_WORKSPACE = exports.ERR_PATH_NOT_EXISTS = exports.ERR_REST_API_REGION = exports.ERR_REST_API_URL = exports.ERR_REST_API_TOKEN = exports.ERR_REST_API_RATE_LIMIT = exports.ERR_REST_API_RESOURCE_NOT_FOUND = exports.ERR_REST_API_WRONG_TOKEN = exports.ERR_REST_API_CONNECT_ERROR = exports.ERR_REST_API_NOT_RESPONDING = exports.ERR_REST_API_GENERAL_ERROR = exports.ERR_CANCELLED = void 0;
|
|
4
|
+
exports.ERR_UNSUPPORTED_STORYBOOK = exports.ERR_MISSING_STORYBOOK_INDEX_FILE = exports.ERR_WRONG_STORYBOOK_DIRECTORY = exports.ERR_MISSING_BUILD_ID = exports.ERR_MISSING_UT_TOKEN = exports.ERR_MISSING_CRAWL_TOKEN = exports.ERR_MISSING_VT_TOKEN = exports.ERR_CONFIG_CORRUPTED = exports.ERR_WRONG_TOKEN = exports.ERR_TOKEN_NOT_PROVIDED = exports.ERR_CANT_CREATE_DIR_IN_HOME = exports.ERR_CONNECTION_ERROR = exports.ERR_CONNECTION_TIMEOUT = exports.ERR_WRONG_STREAM = exports.ERR_WRONG_HANDSHAKE = exports.ERR_FETCH_VERSION = exports.ERR_ARTIFACT_DOWNLOAD_REPLACE = exports.ERR_ARTIFACT_DOWNLOAD_NOT_EMPTY_DIR = exports.ERR_ARTIFACT_DOWNLOAD_IS_FILE = exports.ERR_ARTIFACT_DOWNLOAD_READDIR = exports.ERR_ARTIFACT_DOWNLOAD_MKDIR = exports.ERR_SWW = exports.ERR_NOT_FOUND = exports.ERR_FAILED_TO_CONNECT_TO_AGENT = exports.ERR_TUNNEL_REMOVED = exports.ERR_TUNNELS_DISABLED = exports.ERR_AGENT_LIMIT_REACHED = exports.ERR_TUNNEL_TARGET_INVALID = exports.ERR_WORKSPACE_FLAGGED = exports.ERR_TUNNEL_LIMIT_REACHED = exports.ERR_DOMAIN_RESTRICTED = exports.ERR_AGENT_REMOVED = exports.ERR_FAILED_TO_CONNECT = exports.ERR_TUNNEL_ALREADY_EXISTS = exports.ERR_AGENT_NOT_SUPPORTED = exports.ERR_AGENT_ADMIN_RIGHTS = exports.ERR_SWW_AGENT_UPDATING = exports.ERR_SWW_AGENT_ENABLING = exports.ERR_AGENT_TAG_INVALID = exports.ERR_AGENT_NOT_FOUND = exports.ERR_AGENT_NOT_RUNNING = exports.ERR_AGENT_IS_NOT_SERVICE = exports.ERR_AGENT_NOT_INSTALLED = exports.ERR_TUNNEL_NOT_FOUND = exports.ERR_WHITELIST_IS_NOT_VALID = exports.ERR_USER_AGENT_IS_NOT_VALID = exports.ERR_BA_IS_NOT_VALID = exports.ERR_BA_LOGIN_NOT_PROVIDED = exports.ERR_BA_PASSWORD_NOT_PROVIDED = exports.ERR_CB_THRESHOLD_IS_NOT_VALID = void 0;
|
|
5
|
+
exports.TXT_AGENT_STANDALONE_AGENT_REGISTERING = exports.TXT_AGENT_STANDALONE_AGENT_FETCH_ERROR = exports.TXT_AGENT_STANDALONE_AGENT_FETCHED = exports.TXT_AGENT_STANDALONE_AGENT_FETCHING = exports.TXT_TUNNEL_ADDED = exports.TXT_TUNNEL_REMOVED = exports.TXT_REGION_SAVED = exports.TXT_TIMEOUT_SAVED = exports.TXT_TOKEN_REMOVED = exports.TXT_TOKEN_SAVED = exports.TXT_WHITELIST_SAVED = exports.TXT_TUNNEL_STOPPED = exports.TXT_TUNNEL_STARTED = exports.TXY_AGENT_CONFIRM_DELETE = exports.TXT_AGENT_DISABLED = exports.TXT_AGENT_ALREADY_INSTALLED = exports.TXT_AGENT_UPDATED = exports.TXT_AGENT_INSTALLED = exports.TXT_AGENT_NO_TAGS = exports.TXT_AGENT_TAGS_SET = exports.TXT_AGENT_TUNNELING_DISABLED = exports.TXT_AGENT_TUNNELING_ENABLED = exports.TXT_AGENT_PROXY_DISABLED = exports.TXT_AGENT_PROXY_ENABLED = exports.TXT_AGENT_TARGET_DISABLED = exports.TXT_AGENT_TARGET_ENABLED = exports.TXT_AGENT_RESTARTED = exports.TXT_AGENT_DEBUG_OFF = exports.TXT_AGENT_DEBUG_ON = exports.TXT_AGENT_USER_CHANGED = exports.TXT_AGENT_STARTED = exports.TXT_AGENT_STOPPED = exports.WARN_BROWSER_VERSION = exports.ERR_RESOURCE_DISCOVERY = exports.ERR_NO_SNAPSHOTS_TO_SEND = exports.ERR_INVALID_SNAPSHOT = exports.ERR_TEST_EXECUTION = exports.ERR_INVALID_JSON = exports.ERR_INVALID_DOWNLOAD_RESPONSE = exports.ERR_INVALID_CRAWL_RESPONSE = exports.ERR_INVALID_COMPARE_LINKS_RESPONSE = exports.ERR_INVALID_STORYBOOK_RESPONSE = exports.ERR_INVALID_DEFAULT_SETTINGS_RESPONSE = exports.ERR_INVALID_CLOSE_SESSION_RESPONSE = exports.ERR_INVALID_SNAPSHOTS_RESPONSE = exports.ERR_INVALID_SNAPSHOT_RESPONSE = exports.ERR_MISSING_URLS = exports.ERR_RESOURCE_NOT_FOUND = exports.ERR_MISSING_EXEC_COMMAND = exports.ERR_PARSING_STORIES = void 0;
|
|
6
|
+
exports.DESC_COMMAND_AGENT_TAGS_GET = exports.DESC_COMMAND_AGENT_TAGS = exports.DESC_COMMAND_AGENT_PROXY = exports.DESC_COMMAND_AGENT_TARGET = exports.DESC_COMMAND_AGENT_TUNNEL = exports.DESC_COMMAND_AGENT_STOP = exports.DESC_COMMAND_AGENT_PROXY_DISABLE = exports.DESC_COMMAND_AGENT_TARGET_DISABLE = exports.DESC_COMMAND_AGENT_TUNNELING_DISABLE = exports.DESC_COMMAND_AGENT_TUNNELING_ENABLE = exports.DESC_COMMAND_AGENT_PROXY_ENABLE = exports.DESC_COMMAND_AGENT_TARGET_ENABLE = exports.DESC_COMMAND_AGENT_PROXY_STATUS = exports.DESC_COMMAND_AGENT_TARGET_STATUS = exports.DESC_COMMAND_AGENT_STATUS = exports.DESC_COMMAND_AGENT_RESTART = exports.DESC_COMMAND_AGENT_ENABLE = exports.DESC_COMMAND_AGENT_DEBUG = exports.DESC_COMMAND_AGENT_DISABLE = exports.DESC_COMMAND_AGENT_START = exports.DESC_COMMAND_AGENT_INSTALL = exports.DESC_COMMAND_AGENT_UNINSTALL = exports.DESC_COMMAND_AGENT_TUNNEL_REMOVE = exports.DESC_COMMAND_AGENT_TUNNEL_STATUS = exports.DESC_COMMAND_AGENT_TUNNEL_LIST = exports.DESC_COMMAND_CONFIG_SET = exports.DESC_COMMAND_CONFIG_REMOVE = exports.DESC_COMMAND_CONFIG_GET = exports.DESC_COMMAND_CONFIG_ADD = exports.DESC_COMMAND_CONFIG_SET_WHITELIST = exports.DESC_COMMAND_CONFIG_SET_TOKEN = exports.DESC_COMMAND_CONFIG_SET_TIMEOUT = exports.DESC_COMMAND_CONFIG_SET_REGION = exports.DESC_COMMAND_CONFIG_REMOVE_TOKEN = exports.DESC_COMMAND_CONFIG_REMOVE_TUNNEL = exports.DESC_COMMAND_CONFIG_GET_WHITELIST = exports.DESC_COMMAND_CONFIG_GET_TUNNELS = exports.DESC_COMMAND_CONFIG_GET_TUNNEL = exports.DESC_COMMAND_CONFIG_GET_TOKEN = exports.DESC_COMMAND_CONFIG_GET_TIMEOUT = exports.DESC_COMMAND_CONFIG_GET_REGION = exports.DESC_COMMAND_CONFIG_ADD_TLS = exports.DESC_COMMAND_CONFIG_ADD_TCP = exports.DESC_COMMAND_CONFIG_ADD_HTTP = exports.AGENT_FETCH_RETRY = exports.NO_TUNNELS_STARTED = exports.TXT_AGENT_STANDALONE_EXITING = exports.TXT_AGENT_STANDALONE_STARTED = exports.TXT_AGENT_STANDALONE_AGENT_REGISTER_ERROR = exports.TXT_AGENT_STANDALONE_AGENT_REGISTERED = void 0;
|
|
7
|
+
exports.TXT_COMMAND_CRAWL_LINK_SELECT = exports.TXT_COMMAND_VT_LINK_SELECT = exports.OPTION_SUITE_IDENTIFIER = exports.DESC_COMMAND_UT_LINK = exports.DESC_COMMAND_CRAWL_LINK = exports.DESC_COMMAND_VT_LINK = exports.DESC_COMMAND_UT_UPLOAD = exports.DESC_COMMAND_CRAWL_RUN = exports.DESC_COMMAND_CRAWL = exports.DESC_COMMAND_CAPTURE = exports.DESC_COMMAND_VISUAL_UPLOAD = exports.DESC_COMMAND_VISUAL_SETUP = exports.DESC_COMMAND_SESSION_CLOSE = exports.DESC_COMMAND_SESSION_CREATE = exports.DESC_COMMAND_SESSION = exports.DESC_COMMAND_VISUAL = exports.DESC_COMMAND_UNIT = exports.DESC_COMMAND_TESTS = exports.DESC_COMMAND_PIPELINE_RUN_RETRY = exports.DESC_COMMAND_PIPELINE_GET = exports.DESC_COMMAND_PIPELINE_UPDATE = exports.DESC_COMMAND_PIPELINE_DELETE = exports.DESC_COMMAND_PIPELINE_CREATE = exports.DESC_COMMAND_PIPELINE_YAML = exports.DESC_COMMAND_PIPELINE_LIST = exports.DESC_COMMAND_PIPELINE_RUN_LIST = exports.DESC_COMMAND_PIPELINE_RUN_APPLY = exports.DESC_COMMAND_PIPELINE_RUN_CANCEL = exports.DESC_COMMAND_PIPELINE_RUN_LOGS = exports.DESC_COMMAND_PIPELINE_RUN_STATUS = exports.DESC_COMMAND_PIPELINE_RUN_START = exports.DESC_COMMAND_PIPELINE_RUN = exports.DESC_COMMAND_ARTIFACT_DOWNLOAD = exports.DESC_COMMAND_ARTIFACT_PUBLISH = exports.DESC_COMMAND_ARTIFACT = exports.DESC_COMMAND_PIPELINE = exports.ERR_COMMAND_NOT_FOUND = exports.DESC_PROGRAM = exports.DESC_COMMAND_TLS = exports.DESC_COMMAND_TCP = exports.DESC_COMMAND_START = exports.DESC_COMMAND_TUNNEL = exports.DESC_COMMAND_AGENT = exports.DESC_COMMAND_HTTP = exports.DESC_COMMAND_CONFIG = exports.DESC_COMMAND_AGENT_VERSION = exports.DESC_COMMAND_AGENT_USER = exports.DESC_COMMAND_AGENT_UPDATE = exports.OPT_COMMAND_AGENT_TAGS_SET = exports.DESC_COMMAND_AGENT_TAGS_SET = void 0;
|
|
8
|
+
exports.OPTION_PIPELINE_RUN_REFRESH = exports.OPTION_PIPELINE_RUN_COMMENT = exports.OPTION_PIPELINE_RUN_PULL_REQUEST = exports.OPTION_PIPELINE_RUN_REVISION = exports.OPTION_PIPELINE_RUN_TAG = exports.OPTION_PIPELINE_RUN_BRANCH = exports.OPTION_REST_API_REGION = exports.OPTION_REST_API_ENDPOINT = exports.OPTION_DEFAULT_REGION = exports.OPTION_REGION = exports.TXT_ARTIFACT_UNZIPPING_COUNT = exports.TXT_ARTIFACT_UNZIPPED = exports.TXT_ARTIFACT_UNZIPPING = exports.TXT_ARTIFACT_DOWNLOADED_ZIP = exports.TXT_ARTIFACT_DOWNLOADING_ZIP = exports.TXT_ARTIFACT_DOWNLOADED = exports.TXT_ARTIFACT_PUBLISHED = exports.TXT_ARTIFACT_ENTRIES_FOUND = exports.TXT_ARTIFACT_UPLOADED = exports.TXT_ARTIFACT_UPLOADING = exports.TXT_ARTIFACT_ZIPPED = exports.TXT_ARTIFACT_ZIP_ENTRIES = exports.TXT_ARTIFACT_ONE_ENTRY_FOUND = exports.TXT_ARTIFACT_NO_ENTRIES_FOUND = exports.TXT_ARTIFACT_SCANNING_DIR = exports.TXT_STORIES_AMOUNT = exports.TXT_OPENING_TUNNEL = exports.TXT_UPDATING_AGENT = exports.TXT_ENABLING_AGENT = exports.TXT_NEW_AGENT_VERSION = exports.TXT_NEW_CLI_DOCKER_VERSION = exports.OPTION_UPLOAD_DRY_RUN = exports.OPTION_UPLOAD_REPORT_FORMAT = exports.OPTION_UPLOAD_REPORT_GLOB = exports.TXT_COMMAND_SUITE_CREATED = exports.TXT_COMMAND_SUITE_NAME = exports.TXT_COMMAND_SUITE_LINK_EXISTING_DESC = exports.TXT_COMMAND_SUITE_LINK_EXISTING = exports.TXT_COMMAND_SUITE_CREATE_NEW_UT_DESC = exports.TXT_COMMAND_SUITE_CREATE_NEW_CRAWL_DESC = exports.TXT_COMMAND_SUITE_CREATE_NEW_VT_DESC = exports.TXT_COMMAND_SUITE_CREATE_NEW = exports.TXT_COMMAND_SUITE_SELECT = exports.ERR_NO_UT_SUITES = exports.ERR_NO_CRAWL_SUITES = exports.ERR_NO_VT_SUITES = exports.TXT_COMMAND_UT_LINK_SUCCESS = exports.TXT_COMMAND_CRAWL_LINK_SUCCESS = exports.TXT_COMMAND_VT_LINK_SUCCESS = exports.TXT_COMMAND_UT_LINK_SELECT = void 0;
|
|
9
|
+
exports.OPTION_TLS_CA = exports.OPTION_TLS_CERT = exports.OPTION_TLS_KEY = exports.OPTION_HTTP_CIRCUIT_BREAKER = exports.OPTION_HTTP_COMPRESSION = exports.OPTION_HTTP_2 = exports.OPTION_HTTP_VERIFY = exports.OPTION_HTTP_LOG = exports.OPTION_HTTP_AUTH_BUDDY = exports.OPTION_HTTP_AUTH = exports.OPTION_HTTP_HOST = exports.OPTION_CONFIRM_FORCE = exports.OPTION_FORCE = exports.OPTION_TOKEN = exports.OPTION_TIMEOUT = exports.OPTION_FOLLOW = exports.OPTION_SERVE = exports.OPTION_HEADER_USER_AGENT = exports.OPTION_RESPONSE_HEADER = exports.OPTION_HEADER = exports.OPTION_WHITELIST = exports.OPTION_REST_API_PER_PAGE = exports.OPTION_REST_API_PAGE = exports.OPTION_REST_API_PROJECT = exports.OPTION_REST_API_WORKSPACE = exports.OPTION_FORMAT = exports.OPTION_PIPELINE_RUN_NO_FOLLOW = exports.OPTION_PIPELINE_RUN_NO_WAIT = exports.OPTION_PIPELINE_RUN_ACTION = exports.OPTION_REST_API_TOKEN = exports.OPTION_ARTIFACT_DOWNLOAD_REPLACE = exports.OPTION_ARTIFACT_DOWNLOAD_MERGE = exports.OPTION_ARTIFACT_PUBLISH_OVERWRITE_VERSION = exports.OPTION_ARTIFACT_PUBLISH_CREATE = exports.OPTION_ARTIFACT_ID = exports.OPTION_ARTIFACT_DOWNLOAD_PATH = exports.OPTION_ARTIFACT_PUBLISH_PATH = exports.OPTION_PIPELINE_RUN_ACTION_ID = exports.OPTION_PIPELINE_RUN_ID = exports.OPTION_PIPELINE_YAML = exports.TXT_PIPELINE_DELETED = exports.TXT_PIPELINE_DELETE_CONFIRM = exports.TXT_PIPELINE_UPDATED = exports.TXT_PIPELINE_CREATED = exports.OPTION_PIPELINE_NAME = exports.OPTION_PIPELINE_IDENTIFIER = exports.OPTION_PIPELINE_RUN_DELAY = exports.OPTION_PIPELINE_RUN_VAR = exports.OPTION_PIPELINE_RUN_PRIORITY = exports.OPTION_PIPELINE_RUN_CLEAR_CACHE = void 0;
|
|
10
|
+
exports.LOG_REMOVING_AGENT_PROC_ID = exports.LOG_SAVING_AGENT_PROC_ID = exports.LOG_SAVING_AGENT_SYSTEM_CONFIG = exports.LOG_REGISTERING_AGENT = exports.OPTION_CRAWL_OUTPUT_TYPES = exports.OPTION_CRAWL_OUTPUT_DIR = exports.OPTION_CRAWL_DELAY = exports.OPTION_CRAWL_LOCAL_STORAGE = exports.OPTION_CRAWL_DEVICES = exports.OPTION_CRAWL_BROWSERS = exports.OPTION_CRAWL_COLOR_SCHEME = exports.OPTION_CRAWL_XPATH_SELECTOR = exports.OPTION_CRAWL_CSS_SELECTOR = exports.OPTION_CRAWL_FULL_PAGE = exports.OPTION_CRAWL_QUALITY = exports.OPTION_CRAWL_OUTPUT_TYPE = exports.OPTION_CRAWL_FOLLOW = exports.OPTION_CRAWL_URL = exports.OPTION_COMPARE_WAIT_FOR = exports.OPTION_COMPARE_DELAY = exports.OPTION_COMPARE_HEADER = exports.OPTION_COMPARE_COOKIE = exports.OPTION_COMPARE_IGNORE = exports.OPTION_COMPARE_IGNORE_URLS = exports.OPTION_COMPARE_DRY_RUN = exports.OPTION_COMPARE_URLS_FILE = exports.OPTION_COMPARE_SITEMAP = exports.OPTION_COMPARE_URLS = exports.OPTION_COMPARE_RESPECT_ROBOTS = exports.OPTION_COMPARE_FOLLOW = exports.OPTION_EXEC_PARALLEL = exports.OPTION_EXEC_ONE_BY_ONE = exports.OPTION_EXEC_SKIP_DISCOVERY = exports.OPTION_EXEC_COMMAND = exports.OPTION_AGENT_DEBUG = exports.OPTION_AGENT_PORT = exports.OPTION_AGENT_TAG = exports.OPTION_AGENT_TUNNELING = exports.OPTION_AGENT_PROXY = exports.OPTION_AGENT_TARGET = exports.OPTION_PASS = exports.OPTION_APP = exports.OPTION_USER = exports.OPTION_AGENT_TOKEN = exports.OPTION_AGENT_START = exports.OPTION_AGENT_ID = exports.OPTION_ID = exports.OPTION_NAME = exports.OPTION_TARGET = exports.OPTION_TLS_TERMINATE = void 0;
|
|
11
|
+
exports.LOG_TUNNEL_HTTP_WRON_AUTH = exports.LOG_TUNNEL_IDENTIFIED = exports.LOG_TUNNEL_DISCONNECTED = exports.LOG_TUNNEL_FAILED = exports.LOG_TUNNEL_CONNECTED = exports.LOG_AGENT_STARTED = exports.LOG_AGENT_SERVER_STARTED = exports.LOG_ERROR_STARTING_AGENT_SERVER = exports.LOG_SSH_CONNECTION = exports.LOG_WRONG_STREAM = exports.LOG_DETECTED_STREAM = exports.LOG_HTTP2_REQUEST = exports.LOG_HTTP2_CONNECTION = exports.LOG_HTTP1_REQUEST = exports.LOG_HTTP1_CONNECTION = exports.LOG_ERROR = exports.LOG_STOPPING_TUNNEL = exports.LOG_STARTING_TUNNEL = exports.LOG_ENABLING_AGENT_TUNNELING = exports.LOG_ENABLING_AGENT_PROXY = exports.LOG_ENABLING_AGENT_TARGET = exports.LOG_DISABLING_AGENT_TUNNELING = exports.LOG_DISABLING_AGENT_PROXY = exports.LOG_DISABLING_AGENT_TARGET = exports.LOG_REMOVING_TUNNEL = exports.LOG_TUNNEL_REGISTERED = exports.LOG_ERROR_WHILE_REFRESHING_AGENT = exports.LOG_REGISTERING_TUNNEL = exports.LOG_GETTING_AGENT = exports.LOG_UNREGISTERING_AGENT = exports.LOG_REGION_DETECTED = exports.LOG_AGENT_REGISTERED = exports.LOG_SOCKET_DISCONNECTED = exports.LOG_SOCKET_CONNECTED = exports.LOG_AGENT_NSSM_CLEARING = exports.LOG_AGENT_NSSM_EXTRACTING = exports.LOG_AGENT_NSSM_DOWNLOADING = exports.LOG_AGENT_ENABLED = exports.LOG_AGENT_STARTING_SYSTEM = exports.LOG_AGENT_STOPPING_SYSTEM = exports.LOG_AGENT_ENABLING_SYSTEM = exports.LOG_AGENT_SYSTEM_SERVICE_CONFIG = exports.LOG_AGENT_EXTRACTING_ARCHIVE = exports.LOG_AGENT_DOWNLOADING_ARCHIVE = exports.LOG_AGENT_SYSTEM_DIR = exports.LOG_ERROR_SAVING_AGENT_LOCAL_CONFIG = exports.LOG_ERROR_REMOVING_AGENT_STANDALONE_LOCK_FILE = exports.LOG_ERROR_SAVING_AGENT_STANDALONE_CONFIG = exports.LOG_ERROR_SAVING_AGENT_SYSTEM_CONFIG = exports.LOG_SAVING_AGENT_LOCAL_CONFIG = void 0;
|
|
12
|
+
exports.OPTION_SANDBOX_TIMEOUT = exports.OPTION_SANDBOX_APP_DIR = exports.OPTION_SANDBOX_APP_COMMAND = exports.OPTION_SANDBOX_YAML = exports.OPTION_SANDBOX_TAGS = exports.OPTION_SANDBOX_INSTALL_COMMANDS = exports.OPTION_SANDBOX_RESOURCES = exports.OPTION_SANDBOX_OS = exports.OPTION_SANDBOX_NAME = exports.OPTION_SANDBOX_IDENTIFIER = exports.DESC_COMMAND_SANDBOX_APP = exports.DESC_COMMAND_SANDBOX_EXEC = exports.DESC_COMMAND_SANDBOX_STATUS = exports.DESC_COMMAND_SANDBOX_LOGS = exports.DESC_COMMAND_SANDBOX_RESTART = exports.DESC_COMMAND_SANDBOX_STOP = exports.DESC_COMMAND_SANDBOX_START = exports.DESC_COMMAND_SANDBOX_DESTROY = exports.DESC_COMMAND_SANDBOX_GET = exports.DESC_COMMAND_SANDBOX_LIST = exports.DESC_COMMAND_SANDBOX_UPDATE = exports.DESC_COMMAND_SANDBOX_GET_YAML = exports.DESC_COMMAND_SANDBOX_CREATE = exports.DESC_COMMAND_SANDBOX = exports.DEBUG_WAIT_FOR_IDLE_TIMEOUT = exports.DEBUG_WAIT_FOR_IDLE = exports.DEBUG_RESOURCE_DISCOVERY_TIMEOUT = exports.DEBUG_AUTO_WIDTH = exports.DEBUG_AUTO_SCROLL = exports.DEBUG_RESOURCE_CRAWLING_URL = exports.DEBUG_SNAPSHOT_PROCESSING = exports.DEBUG_SNAPSHOTS_PROCESSING = exports.DEBUG_EXEC_COMMAND = exports.DEBUG_EXEC_TEST_COMMAND = exports.LOG_INSTALLED_BROWSER = exports.LOG_SESSION_LINK = exports.LOG_SENDING_DATA = exports.LOG_SENDING_REQUEST = exports.LOG_PROCESSING_SNAPSHOTS = exports.LOG_RUNNING_EXEC_COMMAND = exports.LOG_TUNNEL_SSH_STREAM = exports.LOG_TUNNEL_TLS_AGENT_STREAM = exports.LOG_TUNNEL_TLS_REGION_STREAM = exports.LOG_TUNNEL_TLS_TARGET_STREAM = exports.LOG_TUNNEL_HTTP2_STREAM = exports.LOG_TUNNEL_HTTP1_STREAM = exports.LOG_TUNNEL_TCP_STREAM = exports.LOG_TUNNEL_HTTP_WRONG_USER_AGENTS = exports.LOG_TUNNEL_HTTP_CIRCUIT_BREAKER_OPEN = exports.LOG_TUNNEL_HTTP_RATE_LIMIT = void 0;
|
|
13
|
+
exports.DESC_COMMAND_SANDBOX_SNAPSHOT_LIST = exports.DESC_COMMAND_SANDBOX_SNAPSHOT = exports.TXT_SANDBOX_COMMAND_KILLED = exports.OPTION_SANDBOX_COMMAND_KILL_CONFIRM = exports.OPTION_SANDBOX_LOGS_LIMIT = exports.OPTION_SANDBOX_APP_ID = exports.OPTION_SANDBOX_COMMAND_ID = exports.DESC_COMMAND_SANDBOX_EXEC_KILL = exports.DESC_COMMAND_SANDBOX_EXEC_LOGS = exports.DESC_COMMAND_SANDBOX_APP_START = exports.DESC_COMMAND_SANDBOX_APP_STOP = exports.DESC_COMMAND_SANDBOX_APP_STATUS = exports.DESC_COMMAND_SANDBOX_APP_LOGS = exports.DESC_COMMAND_SANDBOX_EXEC_STATUS = exports.DESC_COMMAND_SANDBOX_EXEC_LIST = exports.DESC_COMMAND_SANDBOX_APP_REMOVE = exports.DESC_COMMAND_SANDBOX_APP_ADD = exports.DESC_COMMAND_SANDBOX_APP_LIST = exports.TXT_SANDBOX_WAITING_START = exports.TXT_SANDBOX_WAITING_STOP = exports.TXT_SANDBOX_WAITING_APPS = exports.TXT_SANDBOX_WAITING_SETUP = exports.TXT_SANDBOX_WAITING_RUNNING = exports.TXT_SANDBOX_STOPPED = exports.TXT_SANDBOX_STARTED = exports.TXT_SANDBOX_DESTROYED = exports.TXT_SANDBOX_DESTROY_CONFIRM = exports.TXT_SANDBOX_UPDATED = exports.TXT_SANDBOX_CREATED = exports.TXT_SANDBOX_CREATING = exports.TXT_SANDBOX_APP_STARTED = exports.TXT_SANDBOX_APP_STOPPED = exports.OPTION_SANDBOX_WAIT = exports.OPTION_SANDBOX_WAIT_APPS = exports.OPTION_SANDBOX_WAIT_CONFIGURED = exports.OPTION_SANDBOX_WAIT_RUNNING = exports.ERR_SANDBOX_STOP_FAILED = exports.ERR_SANDBOX_NO_COMMANDS = exports.ERR_SANDBOX_RUNNING_FAILED = exports.ERR_SANDBOX_STOP_TIMEOUT = exports.ERR_SANDBOX_SNAPSHOT_TIMEOUT = exports.ERR_SANDBOX_RUNNING_TIMEOUT = exports.ERR_SANDBOX_APPS_TIMEOUT = exports.ERR_SANDBOX_SETUP_TIMEOUT = exports.ERR_SANDBOX_APP_FAILED = exports.ERR_SANDBOX_SETUP_FAILED = exports.ERR_SANDBOX_INVALID_RESOURCES = exports.ERR_SANDBOX_APP_NOT_FOUND = exports.ERR_SANDBOX_NOT_FOUND = exports.OPTION_SANDBOX_RUNTIME = void 0;
|
|
14
|
+
exports.ERR_SANDBOX_CP_INVALID_DEST = exports.ERR_SANDBOX_CP_REPLACE = exports.ERR_SANDBOX_CP_MKDIR = exports.ERR_SANDBOX_CP_PATH_EXISTS = exports.ERR_SANDBOX_CP_NOT_EMPTY_DIR = exports.ERR_SANDBOX_CP_READDIR = exports.ERR_SANDBOX_CP_DEST_NOT_FOLDER = exports.ERR_SANDBOX_CP_SOURCE_NOT_FOUND = exports.TXT_SANDBOX_CP_DONE = exports.TXT_SANDBOX_CP_PROGRESS = exports.TXT_SANDBOX_UNZIPPING_COUNT = exports.TXT_SANDBOX_UNZIP_DONE = exports.TXT_SANDBOX_UNZIP = exports.TXT_SANDBOX_CP_DOWNLOAD_DONE = exports.TXT_SANDBOX_CP_DOWNLOAD = exports.OPTION_SANDBOX_CP_DOWNLOAD_REPLACE = exports.OPTION_SANDBOX_CP_DOWNLOAD_MERGE = exports.OPTION_SANDBOX_CP_DEST = exports.OPTION_SANDBOX_CP_SOURCE = exports.DESC_COMMAND_SANDBOX_CP = exports.ERR_SANDBOX_ENDPOINTS_NOT_FOUND = exports.ERR_SANDBOX_ENDPOINT_NOT_FOUND = exports.ERR_SANDBOX_ENDPOINT_EXISTS = exports.TXT_SANDBOX_ENDPOINT_DELETED = exports.TXT_SANDBOX_ENDPOINT_DELETE_CONFIRM = exports.TXT_SANDBOX_ENDPOINT_ADDED = exports.TXT_SANDBOX_APP_REMOVED = exports.TXT_SANDBOX_APP_ADDED = exports.OPTION_SANDBOX_ENDPOINT_TYPE = exports.OPTION_SANDBOX_ENDPOINT_PORT = exports.OPTION_SANDBOX_ENDPOINT_NAME_ARG = exports.OPTION_SANDBOX_ENDPOINT_NAME = exports.DESC_COMMAND_SANDBOX_ENDPOINT_DELETE = exports.DESC_COMMAND_SANDBOX_ENDPOINT_ADD = exports.DESC_COMMAND_SANDBOX_ENDPOINT_GET = exports.DESC_COMMAND_SANDBOX_ENDPOINT_LIST = exports.DESC_COMMAND_SANDBOX_ENDPOINT = exports.ERR_SANDBOX_SNAPSHOTS_NOT_FOUND = exports.ERR_SANDBOX_SNAPSHOT_NOT_FOUND = exports.ERR_SANDBOX_SNAPSHOT_FAILED = exports.TXT_SANDBOX_SNAPSHOT_WAITING = exports.TXT_SANDBOX_SNAPSHOT_DELETE_CONFIRM = exports.TXT_SANDBOX_SNAPSHOT_DELETED = exports.TXT_SANDBOX_SNAPSHOT_CREATED = exports.OPTION_SANDBOX_FROM_SNAPSHOT = exports.OPTION_SANDBOX_SNAPSHOT_NAME_ARG = exports.OPTION_SANDBOX_SNAPSHOT_NAME = exports.DESC_COMMAND_SANDBOX_SNAPSHOT_DELETE = exports.DESC_COMMAND_SANDBOX_SNAPSHOT_GET = exports.DESC_COMMAND_SANDBOX_SNAPSHOT_CREATE = void 0;
|
|
15
|
+
exports.TXT_WORKSPACE_SET_SUCCESS = exports.ARG_COMMAND_WORKSPACE = exports.DESC_COMMAND_WORKSPACE_GET = exports.DESC_COMMAND_WORKSPACE_SET = exports.DESC_COMMAND_WORKSPACE_LIST = exports.DESC_COMMAND_WORKSPACE = exports.TXT_LOGOUT_SUCCESS = exports.DESC_COMMAND_LOGOUT = exports.DESC_COMMAND_LOGIN = exports.ERR_API_MEDIA_TYPE_NOT_IMPLEMENTED = exports.ERR_API_PARAMETER_NOT_REPLACED = exports.TXT_API_ENDPOINT_REQUIRED_SCOPES = exports.ERR_API_ENDPOINT_NOT_FOUND = exports.ERR_API_WRONG_METHOD = exports.ERR_SCHEMA_FETCH_FAILED = exports.OPT_COMMAND_API_INFO_URL = exports.OPT_COMMAND_API_INFO_SCHEMA = exports.OPT_COMMAND_API_INFO_METHOD = exports.OPT_COMMAND_API_LIST_SEARCH = exports.OPT_COMMAND_API_LIST_METHOD = exports.ERR_API_REQUEST_BODY_VALUE = exports.ERR_API_REQUEST_QUERY_VALUE = exports.ERR_API_REQUEST_INVALID_JSON = exports.ERR_API_REQUEST_FILE_ERROR = exports.ERR_API_REQUEST_OUTPUT_EXISTS = exports.DESC_COMMAND_API_INFO = exports.DESC_COMMAND_API_FORM = exports.DESC_COMMAND_API_JSON = exports.DESC_COMMAND_API_DATA = exports.DESC_COMMAND_API_OUTPUT = exports.DESC_COMMAND_API_REQUEST_QUERY = exports.DESC_COMMAND_API_PROJECT = exports.DESC_COMMAND_API_WORKSPACE = exports.DESC_COMMAND_API_REQUEST_URL = exports.DESC_COMMAND_API_GET = exports.DESC_COMMAND_API_PATCH = exports.DESC_COMMAND_API_DELETE = exports.DESC_COMMAND_API_PUT = exports.DESC_COMMAND_API_POST = exports.DESC_COMMAND_API_LIST = exports.DESC_COMMAND_API = exports.ERR_WHOAMI_LOGOUT = exports.TXT_WHOAMI_NO_WORKSPACE = exports.DESC_COMMAND_WHOAMI = exports.TXT_SANDBOX_EXEC_FAILED = exports.TXT_SANDBOX_EXEC_INPROGRESS = exports.TXT_SANDBOX_EXEC_SUCCESS = exports.TXT_SANDBOX_EXEC_BACKGROUND = exports.TXT_SANDBOX_EXEC_ID = exports.ERR_SANDBOX_CP_INVALID_SOURCE = void 0;
|
|
16
|
+
exports.OPT_COMMAND_ARTIFACT_CREATE_IDENTIFIER = exports.OPT_COMMAND_ARTIFACT_NAME = exports.OPT_COMMAND_ARTIFACT_TYPE = exports.DESC_COMMAND_ARTIFACT_CREATE = exports.DESC_COMMAND_ARTIFACT_GET = exports.TXT_ARTIFACT_DOCKER_LOGIN_FAILED = exports.TXT_ARTIFACT_DOCKER_LOGIN_SUCCESS = exports.TXT_ARTIFACT_VERSION_DELETE_CONFIRM = exports.TXT_ARTIFACT_DELETE_CONFIRM = exports.DESC_COMMAND_ARTIFACT_DELETE = exports.ERR_COMMAND_ARTIFACT_NO_PROJECTS = exports.DESC_COMMAND_ARTIFACT_VERSION_GET = exports.DESC_COMMAND_ARTIFACT_VERSION_LIST = exports.DESC_COMMAND_ARTIFACT_VERSION_DELETE = exports.DESC_COMMAND_ARTIFACT_DOCKER_LOGIN = exports.DESC_COMMAND_ARTIFACT_LIST = exports.DESC_COMMAND_ARTIFACT_VERSION = exports.ERR_COMMAND_DOMAIN_UNAVAILABLE = exports.OPTION_COMMAND_DOMAIN_IDENTIFIER = exports.ERR_COMMAND_DOMAIN_NO_DOMAINS = exports.TXT_COMMAND_DOMAIN_PROMPT_REQUIRED = exports.TXT_COMMAND_DOMAIN_BUY_SELECT_DOMAIN = exports.TXT_COMMAND_DOMAIN_PROVIDE_PROMPT = exports.ERR_COMMAND_DOMAIN_NOT_FOUND = exports.OPT_COMMAND_DOMAIN_ONLY_AVAILABLE = exports.OPT_COMMAND_DOMAIN_SORT = exports.OPT_COMMAND_DOMAIN_PHRASE = exports.OPT_COMMAND_DOMAIN_BUY_OWNER = exports.OPT_COMMAND_DOMAIN_BUY_TLD = exports.DESC_COMMAND_DOMAIN_GET = exports.DESC_COMMAND_DOMAIN_LIST = exports.DESC_COMMAND_DOMAIN_SEARCH = exports.DESC_COMMAND_DOMAIN_BUY = exports.DESC_COMMAND_DOMAIN = exports.ERR_API_MESSAGE_REPLACER = exports.ERR_LOGIN_INVALID_BASE_URL = exports.ERR_LOGIN_NO_WORKSPACE_FOUND = exports.ERR_LOGIN_NO_WORKSPACES = exports.ERR_LOGIN_HTTP_CANCEL = exports.ERR_LOGIN_HTTP_FAILED = exports.ERR_LOGIN_HTTP_SERVER_PORT_TAKEN = exports.TXT_LOGIN_SUCCESS = exports.TXT_LOGIN_SELECT_WORKSPACE = exports.TXT_LOGIN_ENTER_BASE_URL = exports.TXT_LOGIN_PROVIDE_CODE = exports.TXT_LOGIN_OPEN_URL = exports.TXT_LOGIN_OPENING_STAR = exports.TXT_LOGIN_OPENING = exports.TXT_LOGIN_SELECT_REGION = exports.TXT_WORKSPACE_NONE = void 0;
|
|
17
|
+
exports.EXAMPLE_SANDBOX_EXEC_LIST = exports.EXAMPLE_SANDBOX_APP_LIST = exports.EXAMPLE_SANDBOX_EXEC_KILL = exports.EXAMPLE_SANDBOX_EXEC_COMMAND = exports.EXAMPLE_TUNNEL_START = exports.EXAMPLE_TUNNEL_TCP = exports.EXAMPLE_TUNNEL_TLS = exports.EXAMPLE_AGENT_TUNNEL_START = exports.EXAMPLE_AGENT_TUNNEL_STATUS = exports.EXAMPLE_AGENT_TUNNEL_REMOVE = exports.EXAMPLE_AGENT_TUNNEL_LIST = exports.EXAMPLE_TUNNEL_HTTP = exports.EXAMPLE_SANDBOX_CREATE = exports.EXAMPLE_SANDBOX_CP = exports.ERR_PROJECT_NO_PROJECTS = exports.TXT_LOGIN_SELECT_PROJECT = exports.TXT_COMMAND_PROJECT_CREATED = exports.TXT_COMMAND_PROJECT_LINK_NOT_FOUND = exports.TXT_COMMAND_PROJECT_LINK_NAME = exports.TXT_COMMAND_PROJECT_LINK_SELECT_PROJECT = exports.TXT_COMMAND_PROJECT_LINK_TO = exports.TXT_COMMAND_PROJECT_LINK_EXISTING_DESC = exports.TXT_COMMAND_PROJECT_LINK_EXISTING = exports.TXT_COMMAND_PROJECT_LINK_CREATE_NEW_DESC = exports.TXT_COMMAND_PROJECT_LINK_CREATE_NEW = exports.ERR_COMMAND_PROJECT_LINK_DIR_NOT_DIR = exports.TXT_COMMAND_PROJECT_LINK_GIT_REPO_INITIALIZED = exports.TXT_COMMAND_PROJECT_LINK_GIT_REPO = exports.TXT_COMMAND_PROJECT_LINK_DIR_CONFIRM = exports.TXT_COMMAND_PROJECT_LINK_DIR_LINKED = exports.ERR_COMMAND_PROJECT_LINK_DIR_CREATE = exports.OPT_COMMAND_PROJECT_LINK_TRY_NOW = exports.OPT_COMMAND_PROJECT_LINK_SET_GIT_REMOTE = exports.OPT_COMMAND_PROJECT_LINK_HAS_REMOTE = exports.OPT_COMMAND_PROJECT_LINK_DIRECTORY = exports.OPT_COMMAND_PROJECT_LINK_GIT = exports.OPT_COMMAND_PROJECT_LINK_RELINK = exports.DESC_COMMAND_PROJECT_LINK = exports.DESC_COMMAND_PROJECT_LIST = exports.DESC_COMMAND_PROJECT_GIT = exports.DESC_COMMAND_PROJECT_GIT_CREDENTIAL = exports.DESC_COMMAND_PROJECT = exports.TXT_ARTIFACT_VERSION_DOWNLOAD = exports.TXT_ARTIFACT_PUBLISH = exports.TXT_ARTIFACT_CREATED = exports.TXT_ARTIFACT_VERSION_DELETED = exports.TXT_ARTIFACT_DELETED = exports.ERR_COMMAND_ARTIFACT_TYPE = exports.OPT_COMMAND_ARTIFACT_VERSION = exports.OPT_COMMAND_ARTIFACT_IDENTIFIER = void 0;
|
|
18
|
+
exports.EXAMPLE_ARTIFACT_VERSION_DELETE = exports.EXAMPLE_ARTIFACT_VERSION_GET = exports.EXAMPLE_ARTIFACT_VERSION_LIST = exports.EXAMPLE_ARTIFACT_CREATE = exports.EXAMPLE_ARTIFACT_DELETE = exports.EXAMPLE_ARTIFACT_DOWNLOAD = exports.EXAMPLE_ARTIFACT_PUBLISH = exports.EXAMPLE_PIPELINE_RUN_RETRY = exports.EXAMPLE_PIPELINE_RUN_LIST = exports.EXAMPLE_PIPELINE_LIST = exports.EXAMPLE_PIPELINE_YML = exports.EXAMPLE_PIPELINE_GET = exports.EXAMPLE_PIPELINE_UPDATE = exports.EXAMPLE_PIPELINE_DELETE = exports.EXAMPLE_PIPELINE_CREATE = exports.EXAMPLE_PIPELINE_RUN_CANCEL = exports.EXAMPLE_PIPELINE_RUN_APPLY = exports.EXAMPLE_PIPELINE_RUN_LOGS = exports.EXAMPLE_PIPELINE_RUN_STATUS = exports.EXAMPLE_PIPELINE_RUN_START = exports.EXAMPLE_SANDBOX_ENDPOINT_LIST = exports.EXAMPLE_SANDBOX_ENDPOINT_GET = exports.EXAMPLE_SANDBOX_ENDPOINT_DELETE = exports.EXAMPLE_SANDBOX_ENDPOINT_CREATE = exports.EXAMPLE_SANDBOX_SNAPSHOT_LIST = exports.EXAMPLE_SANDBOX_SNAPSHOT_GET = exports.EXAMPLE_SANDBOX_SNAPSHOT_DELETE = exports.EXAMPLE_SANDBOX_SNAPSHOT_CREATE = exports.EXAMPLE_SANDBOX_EXEC_STATUS = exports.EXAMPLE_SANDBOX_EXEC_LOGS = exports.EXAMPLE_SANDBOX_APP_STATUS = exports.EXAMPLE_SANDBOX_APP_STOP = exports.EXAMPLE_SANDBOX_APP_REMOVE = exports.EXAMPLE_SANDBOX_APP_ADD = exports.EXAMPLE_SANDBOX_APP_START = exports.EXAMPLE_SANDBOX_APP_LOGS = void 0;
|
|
19
19
|
const utils_1 = require("./utils");
|
|
20
|
+
exports.ERR_CANCELLED = 'Cancelled';
|
|
20
21
|
exports.ERR_REST_API_GENERAL_ERROR = 'Something went wrong';
|
|
21
22
|
exports.ERR_REST_API_NOT_RESPONDING = 'Api endpoint not responding. Try again later...';
|
|
22
23
|
exports.ERR_REST_API_CONNECT_ERROR = 'Connection refused. Check selected endpoint';
|
|
@@ -44,6 +45,7 @@ exports.ERR_REST_API_YAML_NOT_FOUND = 'Yaml file not found (--yaml)';
|
|
|
44
45
|
exports.ERR_WORKSPACE_NOT_FOUND = 'Workspace not found';
|
|
45
46
|
exports.ERR_PROJECT_NOT_FOUND = 'Project not found';
|
|
46
47
|
exports.ERR_PIPELINE_NOT_FOUND = 'Pipeline not found';
|
|
48
|
+
exports.ERR_CANT_APPLY_ACTION_EXECUTION = "Action execution can't be applied";
|
|
47
49
|
exports.ERR_ARTIFACT_DOWNLOAD_NOT_FOUND = 'Artifact not found';
|
|
48
50
|
exports.ERR_ARTIFACT_PUBLISH_NOT_FOUND = 'Artifact not found. Change artifact name or use --create to create one';
|
|
49
51
|
exports.ERR_ARTIFACT_VERSION_EXISTS = 'Artifact version exists. Change version name or use --force flag';
|
|
@@ -51,8 +53,11 @@ exports.ERR_ARTIFACT_VERSION_NOT_FOUND = 'Artifact version not found';
|
|
|
51
53
|
exports.ERR_ARTIFACT_NOT_FOUND = 'Artifact not found';
|
|
52
54
|
exports.ERR_ARTIFACT_VERSIONS_NOT_FOUND = 'No versions found in this artifact';
|
|
53
55
|
exports.ERR_SANDBOX_EXEC_RUNTIME_NOT_FOUND = 'Sandbox exec runtime not found';
|
|
54
|
-
exports.ERR_RUN_PIPELINE_WAIT_TIMEOUT = 'Timeout waiting for run to finish';
|
|
55
56
|
exports.ERR_RUN_PIPELINE_WRONG_PRIORITY = 'Priority has wrong value. Possible: LOW, NORMAL, HIGH';
|
|
57
|
+
exports.ERR_RUN_PIPELINE_WRONG_RUN_ID = 'Run id must be a number';
|
|
58
|
+
exports.ERR_RUN_PIPELINE_WRONG_RUN_ACTION_ID = 'Run action id must be provided';
|
|
59
|
+
exports.ERR_PIPELINES_NOT_FOUND = 'No pipelines found';
|
|
60
|
+
exports.ERR_PIPELINE_RUNS_NOT_FOUND = 'No runs found in this pipeline';
|
|
56
61
|
exports.ERR_RUN_PIPELINE_WRONG_DELAY = 'Delay must be a valid date format: 2016-11-18T12:38:16.000Z or 30s, 10m, 3h10m30s';
|
|
57
62
|
const ERR_RUN_PIPELINE_WRONG_ACTION = (str) => `Action id has wrong value: ${str}`;
|
|
58
63
|
exports.ERR_RUN_PIPELINE_WRONG_ACTION = ERR_RUN_PIPELINE_WRONG_ACTION;
|
|
@@ -275,7 +280,20 @@ exports.DESC_COMMAND_PIPELINE = 'Commands to interact with the pipeline service'
|
|
|
275
280
|
exports.DESC_COMMAND_ARTIFACT = 'Commands to interact with the artifact service';
|
|
276
281
|
exports.DESC_COMMAND_ARTIFACT_PUBLISH = 'Publish file artifact. Required scopes: ARTIFACT_MANAGE';
|
|
277
282
|
exports.DESC_COMMAND_ARTIFACT_DOWNLOAD = 'Download file artifact. Required scopes: ARTIFACT_READ';
|
|
278
|
-
exports.DESC_COMMAND_PIPELINE_RUN = '
|
|
283
|
+
exports.DESC_COMMAND_PIPELINE_RUN = 'Manage pipeline runs';
|
|
284
|
+
exports.DESC_COMMAND_PIPELINE_RUN_START = 'Run pipeline. Required scopes: EXECUTION_INFO, EXECUTION_RUN';
|
|
285
|
+
exports.DESC_COMMAND_PIPELINE_RUN_STATUS = 'Pipeline run status. Required scopes: EXECUTION_INFO';
|
|
286
|
+
exports.DESC_COMMAND_PIPELINE_RUN_LOGS = 'Pipeline run logs. Required scopes: EXECUTION_INFO';
|
|
287
|
+
exports.DESC_COMMAND_PIPELINE_RUN_CANCEL = 'Pipeline run cancel. Required scopes: EXECUTION_RUN';
|
|
288
|
+
exports.DESC_COMMAND_PIPELINE_RUN_APPLY = 'Pipeline run approve. Required scopes: EXECUTION_RUN';
|
|
289
|
+
exports.DESC_COMMAND_PIPELINE_RUN_LIST = 'Pipeline run list. Required scopes: EXECUTION_INFO';
|
|
290
|
+
exports.DESC_COMMAND_PIPELINE_LIST = 'Pipeline list. Required scopes: EXECUTION_INFO';
|
|
291
|
+
exports.DESC_COMMAND_PIPELINE_YAML = 'Pipeline yaml. Required scopes: EXECUTION_INFO';
|
|
292
|
+
exports.DESC_COMMAND_PIPELINE_CREATE = 'Pipeline create. Required scopes: EXECUTION_RUN';
|
|
293
|
+
exports.DESC_COMMAND_PIPELINE_DELETE = 'Pipeline delete. Required scopes: EXECUTION_RUN';
|
|
294
|
+
exports.DESC_COMMAND_PIPELINE_UPDATE = 'Pipeline update. Required scopes: EXECUTION_RUN';
|
|
295
|
+
exports.DESC_COMMAND_PIPELINE_GET = 'Pipeline info. Required scopes: EXECUTION_INFO';
|
|
296
|
+
exports.DESC_COMMAND_PIPELINE_RUN_RETRY = 'Pipeline run retry. Required scopes: EXECUTION_RUN';
|
|
279
297
|
exports.DESC_COMMAND_TESTS = 'Commands to interact with the test services';
|
|
280
298
|
exports.DESC_COMMAND_UNIT = 'Commands to interact with the unit test service';
|
|
281
299
|
exports.DESC_COMMAND_VISUAL = 'Commands to interact with the visual test service';
|
|
@@ -319,18 +337,8 @@ exports.TXT_NEW_AGENT_VERSION = 'Agent upgrade required. Update the agent by run
|
|
|
319
337
|
exports.TXT_ENABLING_AGENT = 'Installing agent...';
|
|
320
338
|
exports.TXT_UPDATING_AGENT = 'Updating agent...';
|
|
321
339
|
exports.TXT_OPENING_TUNNEL = 'Opening tunnel...';
|
|
322
|
-
const TXT_PIPELINE_RUN_SUCCESS = (runUrl) => `Run started: ${runUrl}`;
|
|
323
|
-
exports.TXT_PIPELINE_RUN_SUCCESS = TXT_PIPELINE_RUN_SUCCESS;
|
|
324
|
-
const TXT_PIPELINE_RUN_WAIT = (minutes) => `Waiting for ${minutes}m to finish run`;
|
|
325
|
-
exports.TXT_PIPELINE_RUN_WAIT = TXT_PIPELINE_RUN_WAIT;
|
|
326
|
-
const TXT_PIPELINE_RUN_STILL_WAITING = (waitTime) => `Running for...${waitTime}`;
|
|
327
|
-
exports.TXT_PIPELINE_RUN_STILL_WAITING = TXT_PIPELINE_RUN_STILL_WAITING;
|
|
328
340
|
const TXT_STORIES_AMOUNT = (amount) => `Found ${amount} stories`;
|
|
329
341
|
exports.TXT_STORIES_AMOUNT = TXT_STORIES_AMOUNT;
|
|
330
|
-
const TXT_PIPELINE_RUN_FINISH_SUCCESSFULLY = (runUrl) => `Run finished successfully: ${runUrl}`;
|
|
331
|
-
exports.TXT_PIPELINE_RUN_FINISH_SUCCESSFULLY = TXT_PIPELINE_RUN_FINISH_SUCCESSFULLY;
|
|
332
|
-
const TXT_PIPELINE_RUN_FINISH_FAILED = (status, runUrl) => `Run finished with status ${status}: ${runUrl}`;
|
|
333
|
-
exports.TXT_PIPELINE_RUN_FINISH_FAILED = TXT_PIPELINE_RUN_FINISH_FAILED;
|
|
334
342
|
exports.TXT_ARTIFACT_SCANNING_DIR = 'Scanning...';
|
|
335
343
|
exports.TXT_ARTIFACT_NO_ENTRIES_FOUND = 'no entries found';
|
|
336
344
|
exports.TXT_ARTIFACT_ONE_ENTRY_FOUND = '1 entry found';
|
|
@@ -365,7 +373,16 @@ exports.OPTION_PIPELINE_RUN_CLEAR_CACHE = 'Clear cache before running the pipeli
|
|
|
365
373
|
exports.OPTION_PIPELINE_RUN_PRIORITY = 'Run priority. Can be one of "LOW", "NORMAL" or "HIGH". Default is "NORMAL"';
|
|
366
374
|
exports.OPTION_PIPELINE_RUN_VAR = 'Variable key:value. Can be passed multiple times to pass multiple variables';
|
|
367
375
|
exports.OPTION_PIPELINE_RUN_DELAY = 'The date when the execution should be run. Should be set in the format: 2016-11-18T12:38:16.000Z or 30s, 10m, 3h10m30s';
|
|
368
|
-
exports.
|
|
376
|
+
exports.OPTION_PIPELINE_IDENTIFIER = 'Human-readable ID of the pipeline';
|
|
377
|
+
exports.OPTION_PIPELINE_NAME = 'Name of the pipeline';
|
|
378
|
+
exports.TXT_PIPELINE_CREATED = 'Pipeline created';
|
|
379
|
+
exports.TXT_PIPELINE_UPDATED = 'Pipeline updated';
|
|
380
|
+
const TXT_PIPELINE_DELETE_CONFIRM = (name) => `Are you sure you want to delete pipeline '${name}'?`;
|
|
381
|
+
exports.TXT_PIPELINE_DELETE_CONFIRM = TXT_PIPELINE_DELETE_CONFIRM;
|
|
382
|
+
exports.TXT_PIPELINE_DELETED = 'Pipeline deleted successfully';
|
|
383
|
+
exports.OPTION_PIPELINE_YAML = 'Complete pipeline YAML. To specify file use @path/to/file format in value';
|
|
384
|
+
exports.OPTION_PIPELINE_RUN_ID = 'ID of the pipeline run';
|
|
385
|
+
exports.OPTION_PIPELINE_RUN_ACTION_ID = 'ID of the pipeline run action';
|
|
369
386
|
exports.OPTION_ARTIFACT_PUBLISH_PATH = 'Path to the directory or file which will be published';
|
|
370
387
|
exports.OPTION_ARTIFACT_DOWNLOAD_PATH = 'Path to the directory where version will be downloaded';
|
|
371
388
|
exports.OPTION_ARTIFACT_ID = 'Human-readable ID of the artifact and optionally version: artifact:version or artifact@version';
|
|
@@ -375,7 +392,9 @@ exports.OPTION_ARTIFACT_DOWNLOAD_MERGE = 'Merge contents of the directory with a
|
|
|
375
392
|
exports.OPTION_ARTIFACT_DOWNLOAD_REPLACE = 'Replace contents of the directory with artifact';
|
|
376
393
|
exports.OPTION_REST_API_TOKEN = 'Personal access token. Can be set via variable: BUDDY_TOKEN';
|
|
377
394
|
exports.OPTION_PIPELINE_RUN_ACTION = "Action ID to be run in this execution. If not sent, it will be run in accordance with the pipeline's definition. Can be passed multiple times to select multiple actions";
|
|
378
|
-
exports.
|
|
395
|
+
exports.OPTION_PIPELINE_RUN_NO_WAIT = 'Do not wait for run to finish';
|
|
396
|
+
exports.OPTION_PIPELINE_RUN_NO_FOLLOW = 'Do not follow changes, only print final state';
|
|
397
|
+
exports.OPTION_FORMAT = 'Output format: json, text. Default: text';
|
|
379
398
|
exports.OPTION_REST_API_WORKSPACE = 'Workspace URL handle. Can be set via variable: BUDDY_WORKSPACE';
|
|
380
399
|
exports.OPTION_REST_API_PROJECT = 'Project name. Can be set via variable: BUDDY_PROJECT';
|
|
381
400
|
exports.OPTION_REST_API_PAGE = 'Page number. Default: 1';
|
|
@@ -941,274 +960,289 @@ exports.ERR_PROJECT_NO_PROJECTS = 'No projects found in this workspace';
|
|
|
941
960
|
// Examples
|
|
942
961
|
exports.EXAMPLE_SANDBOX_CP = `
|
|
943
962
|
EXAMPLES:
|
|
944
|
-
|
|
963
|
+
### copy file from sandbox to local directory with a new name:
|
|
945
964
|
bdy sb cp sandbox-identifier:/path/to/file /path/to/dir/name
|
|
946
|
-
|
|
947
|
-
# if local path file already exists you must replace it:
|
|
965
|
+
### if local path file already exists you must replace it:
|
|
948
966
|
bdy sb cp sandbox-identifier:/path/to/file /path/to/dir/name --replace
|
|
949
|
-
|
|
950
|
-
# copy file from sandbox INTO local directory:
|
|
967
|
+
### copy file from sandbox INTO local directory:
|
|
951
968
|
bdy sb cp sandbox-identifier:/path/to/file /path/to/dir/
|
|
952
|
-
|
|
953
|
-
# if local directory already exists you must merge it or replace it:
|
|
969
|
+
### if local directory already exists you must merge it or replace it:
|
|
954
970
|
bdy sb cp sandbox-identifier:/path/to/file /path/to/dir/ --merge
|
|
955
971
|
bdy sb cp sandbox-identifier:/path/to/file /path/to/dir/ --replace
|
|
956
|
-
|
|
957
|
-
# copy directory from sandbox to local directory with a new name
|
|
972
|
+
### copy directory from sandbox to local directory with a new name
|
|
958
973
|
bdy sb cp sandbox-identifier:/path/to/dir /path/to/dir
|
|
959
|
-
|
|
960
|
-
# if local directory already exists you must replace it:
|
|
974
|
+
### if local directory already exists you must replace it:
|
|
961
975
|
bdy sb cp sandbox-identifier:/path/to/dir /path/to/dir --replace
|
|
962
|
-
|
|
963
|
-
# copy directory from sandbox INTO local directory
|
|
976
|
+
### copy directory from sandbox INTO local directory
|
|
964
977
|
bdy sb cp sandbox-identifier:/path/to/dir /path/to/dir/
|
|
965
|
-
|
|
966
|
-
# if local directory already exists you must merge it or replace it:
|
|
978
|
+
### if local directory already exists you must merge it or replace it:
|
|
967
979
|
bdy sb cp sandbox-identifier:/path/to/dir /path/to/dir/ --merge
|
|
968
980
|
bdy sb cp sandbox-identifier:/path/to/dir /path/to/dir/ --replace
|
|
969
|
-
|
|
970
|
-
# copy local file to sandbox with a new name:
|
|
981
|
+
### copy local file to sandbox with a new name:
|
|
971
982
|
bdy sb cp /path/to/file sandbox-identifier:/path/to/dir/name
|
|
972
|
-
|
|
973
|
-
# copy local file into sandbox directory
|
|
983
|
+
### copy local file into sandbox directory
|
|
974
984
|
bdy sb cp /path/to/file sandbox-identifier:/path/to/dir/
|
|
975
|
-
|
|
976
|
-
# copy contents of local directory to sandbox directory:
|
|
985
|
+
### copy contents of local directory to sandbox directory:
|
|
977
986
|
bdy sb cp /path/to/dir sandbox-identifier:/path/to/dir
|
|
978
|
-
|
|
979
|
-
# copy local directory into sandbox directory:
|
|
987
|
+
### copy local directory into sandbox directory:
|
|
980
988
|
bdy sb cp /path/to/dir sandbox-identifier:/path/to/dir/`;
|
|
981
989
|
exports.EXAMPLE_SANDBOX_CREATE = `
|
|
982
990
|
EXAMPLES:
|
|
983
|
-
|
|
991
|
+
### create ubuntu 22.04 sandbox with name and wait for start:
|
|
984
992
|
bdy sb create -n "name" --os ubuntu:22.04 --wait-for-running
|
|
985
|
-
|
|
986
|
-
# create sandbox with identifier, run install commands and wait for start & commands to complete:
|
|
993
|
+
### create sandbox with identifier, run install commands and wait for start & commands to complete:
|
|
987
994
|
bdy sb create -i "test" --install-command "apt-get update && apt-get install curl -y" --wait-for-configure
|
|
988
|
-
|
|
989
|
-
# create sandbox with custom resources and tag it:
|
|
995
|
+
### create sandbox with custom resources and tag it:
|
|
990
996
|
bdy sb create --resources 4x8 --tag "tag1" --tag "tag2
|
|
991
|
-
|
|
992
|
-
# create sandbox from yaml file:
|
|
997
|
+
### create sandbox from yaml file:
|
|
993
998
|
bdy sb create --yaml @./test.yml"`;
|
|
994
999
|
const EXAMPLE_TUNNEL_HTTP = (agent) => `
|
|
995
|
-
|
|
1000
|
+
### start http tunnel on port 80:
|
|
996
1001
|
bdy ${agent ? 'agent ' : ''}tunnel http 80
|
|
997
|
-
|
|
998
|
-
# start named http tunnel and serve local directory:
|
|
1002
|
+
### start named http tunnel and serve local directory:
|
|
999
1003
|
bdy ${agent ? 'agent ' : ''}tunnel http -n name -s /path/to/dir
|
|
1000
|
-
|
|
1001
|
-
# start http tunnel, whitelist ip and turn on on basic auth:
|
|
1004
|
+
### start http tunnel, whitelist ip and turn on on basic auth:
|
|
1002
1005
|
bdy ${agent ? 'agent ' : ''}tunnel http https://myhost.com -w 1.1.1.1 -a user:pass`;
|
|
1003
1006
|
exports.EXAMPLE_TUNNEL_HTTP = EXAMPLE_TUNNEL_HTTP;
|
|
1004
1007
|
exports.EXAMPLE_AGENT_TUNNEL_LIST = `
|
|
1005
|
-
|
|
1008
|
+
### list agent tunnels:
|
|
1006
1009
|
bdy agent tunnel list`;
|
|
1007
1010
|
exports.EXAMPLE_AGENT_TUNNEL_REMOVE = `
|
|
1008
|
-
|
|
1011
|
+
### remove agent tunnel:
|
|
1009
1012
|
bdy agent tunnel rm tunnel-id`;
|
|
1010
1013
|
exports.EXAMPLE_AGENT_TUNNEL_STATUS = `
|
|
1011
|
-
|
|
1014
|
+
### get agent tunnel status:
|
|
1012
1015
|
bdy agent tunnel status tunnel-id`;
|
|
1013
1016
|
exports.EXAMPLE_AGENT_TUNNEL_START = `
|
|
1014
|
-
|
|
1017
|
+
### add tunnel to config:
|
|
1015
1018
|
bdy tunnel config add http name 80
|
|
1016
|
-
|
|
1017
|
-
# start agent tunnel from config:
|
|
1019
|
+
### start agent tunnel from config:
|
|
1018
1020
|
bdy agent tunnel start name`;
|
|
1019
1021
|
const EXAMPLE_TUNNEL_TLS = (agent) => `
|
|
1020
|
-
|
|
1022
|
+
### start tls tunnel on port 80:
|
|
1021
1023
|
bdy ${agent ? 'agent ' : ''}tunnel tls 80
|
|
1022
|
-
|
|
1023
|
-
# start tls tunnel and terminate tls at target:
|
|
1024
|
+
### start tls tunnel and terminate tls at target:
|
|
1024
1025
|
bdy ${agent ? 'agent ' : ''}tunnel tls 443 -i target`;
|
|
1025
1026
|
exports.EXAMPLE_TUNNEL_TLS = EXAMPLE_TUNNEL_TLS;
|
|
1026
1027
|
const EXAMPLE_TUNNEL_TCP = (agent) => `
|
|
1027
|
-
|
|
1028
|
+
### start tcp tunnel on port 22:
|
|
1028
1029
|
bdy ${agent ? 'agent ' : ''}tunnel tcp 22
|
|
1029
|
-
|
|
1030
|
-
# start named tcp tunnel with whitelist:
|
|
1030
|
+
### start named tcp tunnel with whitelist:
|
|
1031
1031
|
bdy ${agent ? 'agent ' : ''}tunnel tcp 80 -n name -w 1.1.1.1/27`;
|
|
1032
1032
|
exports.EXAMPLE_TUNNEL_TCP = EXAMPLE_TUNNEL_TCP;
|
|
1033
1033
|
exports.EXAMPLE_TUNNEL_START = `
|
|
1034
|
-
|
|
1034
|
+
### add tunnel to config:
|
|
1035
1035
|
bdy tunnel config add http name 80
|
|
1036
|
-
|
|
1037
|
-
# start tunnel from config:
|
|
1036
|
+
### start tunnel from config:
|
|
1038
1037
|
bdy tunnel start name`;
|
|
1039
1038
|
exports.EXAMPLE_SANDBOX_EXEC_COMMAND = `
|
|
1040
|
-
|
|
1039
|
+
### ran command in sandbox:
|
|
1041
1040
|
bdy sb exec command sandbox-identifier "ls -la"
|
|
1042
|
-
|
|
1043
|
-
# ran command in sandbox and wait for it to complete:
|
|
1041
|
+
### ran command in sandbox and wait for it to complete:
|
|
1044
1042
|
bdy sb exec command sandbox-identifier "sleep 10" --wait`;
|
|
1045
1043
|
exports.EXAMPLE_SANDBOX_EXEC_KILL = `
|
|
1046
|
-
|
|
1044
|
+
### kill command running in sandbox:
|
|
1047
1045
|
bdy sb exec kill sandbox-identifier command-id
|
|
1048
|
-
|
|
1049
|
-
# kill command running in sandbox and automatically confirm killing:
|
|
1046
|
+
### kill command running in sandbox and automatically confirm killing:
|
|
1050
1047
|
bdy sb exec kill sandbox-identifier command-id -f`;
|
|
1051
1048
|
exports.EXAMPLE_SANDBOX_APP_LIST = `
|
|
1052
|
-
|
|
1049
|
+
### list apps running in sandbox:
|
|
1053
1050
|
bdy sb app ls sandbox-identifier
|
|
1054
|
-
|
|
1055
|
-
# list apps running in sandbox in different project:
|
|
1051
|
+
### list apps running in sandbox in different project:
|
|
1056
1052
|
bdy sb app ls sandbox-identifier -p project`;
|
|
1057
1053
|
exports.EXAMPLE_SANDBOX_EXEC_LIST = `
|
|
1058
|
-
|
|
1054
|
+
### list commands running in sandbox:
|
|
1059
1055
|
bdy sb exec ls sandbox-identifier
|
|
1060
|
-
|
|
1061
|
-
# list commands running in sandbox in different project:
|
|
1056
|
+
### list commands running in sandbox in different project:
|
|
1062
1057
|
bdy sb exec ls sandbox-identifier -p project`;
|
|
1063
1058
|
exports.EXAMPLE_SANDBOX_APP_LOGS = `
|
|
1064
|
-
|
|
1059
|
+
### show logs from app:
|
|
1065
1060
|
bdy sb app logs sandbox-identifier app-id`;
|
|
1066
1061
|
exports.EXAMPLE_SANDBOX_APP_START = `
|
|
1067
|
-
|
|
1062
|
+
### start sandbox app:
|
|
1068
1063
|
bdy sb app start sandbox-identifier app-id`;
|
|
1069
1064
|
exports.EXAMPLE_SANDBOX_APP_ADD = `
|
|
1070
|
-
|
|
1065
|
+
### add sandbox app:
|
|
1071
1066
|
bdy sb app add sandbox-identifier "npm start"`;
|
|
1072
1067
|
exports.EXAMPLE_SANDBOX_APP_REMOVE = `
|
|
1073
|
-
|
|
1068
|
+
### remove sandbox app:
|
|
1074
1069
|
bdy sb app rm sandbox-identifier app-id`;
|
|
1075
1070
|
exports.EXAMPLE_SANDBOX_APP_STOP = `
|
|
1076
|
-
|
|
1071
|
+
### stop sandbox app:
|
|
1077
1072
|
bdy sb app stop sandbox-identifier app-id`;
|
|
1078
1073
|
exports.EXAMPLE_SANDBOX_APP_STATUS = `
|
|
1079
|
-
|
|
1074
|
+
### show status from app:
|
|
1080
1075
|
bdy sb app status sandbox-identifier app-id`;
|
|
1081
1076
|
exports.EXAMPLE_SANDBOX_EXEC_LOGS = `
|
|
1082
|
-
|
|
1077
|
+
### show logs from command:
|
|
1083
1078
|
bdy sb exec logs sandbox-identifier command-id
|
|
1084
|
-
|
|
1085
|
-
# show logs from command and wait for it to complete:
|
|
1079
|
+
### show logs from command and wait for it to complete:
|
|
1086
1080
|
bdy sb exec logs sandbox-identifier command-id --wait`;
|
|
1087
1081
|
exports.EXAMPLE_SANDBOX_EXEC_STATUS = `
|
|
1088
|
-
|
|
1082
|
+
### show status of command:
|
|
1089
1083
|
bdy sb exec status sandbox-identifier command-id
|
|
1090
|
-
|
|
1091
|
-
# show status of command in sandbox from another workspace:
|
|
1084
|
+
### show status of command in sandbox from another workspace:
|
|
1092
1085
|
bdy sb exec status sandbox-identifier command-id -w workspace -p project`;
|
|
1093
1086
|
exports.EXAMPLE_SANDBOX_SNAPSHOT_CREATE = `
|
|
1094
|
-
|
|
1087
|
+
### create snapshot of sandbox with name:
|
|
1095
1088
|
bdy sb snap create sandbox-identifier -n "my-snapshot"
|
|
1096
|
-
|
|
1097
|
-
# create snapshot of sandbox and wait for it to complete:
|
|
1089
|
+
### create snapshot of sandbox and wait for it to complete:
|
|
1098
1090
|
bdy sb snap create sandbox-identifier --wait`;
|
|
1099
1091
|
exports.EXAMPLE_SANDBOX_SNAPSHOT_DELETE = `
|
|
1100
|
-
|
|
1092
|
+
### delete snapshot of sandbox:
|
|
1101
1093
|
bdy sb snap rm sandbox-identifier my-snapshot
|
|
1102
|
-
|
|
1103
|
-
# delete snapshot of sandbox and automatically confirm deletion:
|
|
1094
|
+
### delete snapshot of sandbox and automatically confirm deletion:
|
|
1104
1095
|
bdy sb snap rm sandbox-identifier my-snapshot -f`;
|
|
1105
1096
|
exports.EXAMPLE_SANDBOX_SNAPSHOT_GET = `
|
|
1106
|
-
|
|
1097
|
+
### get snapshot info:
|
|
1107
1098
|
bdy sb snap get sandbox-identifier my-snapshot
|
|
1108
|
-
|
|
1109
|
-
# get snapshot info from sandbox in another project:
|
|
1099
|
+
### get snapshot info from sandbox in another project:
|
|
1110
1100
|
bdy sb snap get sandbox-identifier my-snapshot -p project`;
|
|
1111
1101
|
exports.EXAMPLE_SANDBOX_SNAPSHOT_LIST = `
|
|
1112
|
-
|
|
1102
|
+
### list snapshots of sandbox:
|
|
1113
1103
|
bdy sb snap ls sandbox-identifier
|
|
1114
|
-
|
|
1115
|
-
# list snapshots in default project:
|
|
1104
|
+
### list snapshots in default project:
|
|
1116
1105
|
bdy sb snap ls`;
|
|
1117
1106
|
exports.EXAMPLE_SANDBOX_ENDPOINT_CREATE = `
|
|
1118
|
-
|
|
1107
|
+
### create http endpoint on port 80
|
|
1119
1108
|
bdy sb ep create sandbox-identifier -e 80
|
|
1120
|
-
|
|
1121
|
-
# create http server and serve files from sandbox directory:
|
|
1109
|
+
### create http server and serve files from sandbox directory:
|
|
1122
1110
|
bdy sb ep create sandbox-identifier -s /path/to/dir
|
|
1123
|
-
|
|
1124
|
-
# create tcp endpoint on port 22 with name:
|
|
1111
|
+
### create tcp endpoint on port 22 with name:
|
|
1125
1112
|
bdy sb ep create sandbox-identifier -t TCP -e 22 -n test`;
|
|
1126
1113
|
exports.EXAMPLE_SANDBOX_ENDPOINT_DELETE = `
|
|
1127
|
-
|
|
1114
|
+
### delete sandbox endpoint:
|
|
1128
1115
|
bdy sb ep rm sandbox-identifier test
|
|
1129
|
-
|
|
1130
|
-
# delete sandbox endpoint in another project and automatically confirm deletion:
|
|
1116
|
+
### delete sandbox endpoint in another project and automatically confirm deletion:
|
|
1131
1117
|
bdy sb ep rm sandbox-identifier test -p project -f`;
|
|
1132
1118
|
exports.EXAMPLE_SANDBOX_ENDPOINT_GET = `
|
|
1133
|
-
|
|
1119
|
+
### get sandbox endpoint:
|
|
1134
1120
|
bdy sb ep get sandbox-identifier test
|
|
1135
|
-
|
|
1136
|
-
# get sandbox endpoint in another project:
|
|
1121
|
+
### get sandbox endpoint in another project:
|
|
1137
1122
|
bdy sb ep get sandbox-identifier test -p project`;
|
|
1138
1123
|
exports.EXAMPLE_SANDBOX_ENDPOINT_LIST = `
|
|
1139
|
-
|
|
1124
|
+
### list sandbox endpoints:
|
|
1140
1125
|
bdy sb ep ls sandbox-identifier
|
|
1141
|
-
|
|
1142
|
-
# list sandbox endpoints in another project:
|
|
1126
|
+
### list sandbox endpoints in another project:
|
|
1143
1127
|
bdy sb ep ls sandbox-identifier -p project`;
|
|
1144
|
-
exports.
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
bdy pip run pipeline-identifier
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1128
|
+
exports.EXAMPLE_PIPELINE_RUN_START = `
|
|
1129
|
+
### run pipeline with high priority and upload everything from scratch
|
|
1130
|
+
bdy pip run start pipeline-identifier --priority HIGH -f
|
|
1131
|
+
### run pipeline without cache and wait for execution to complete
|
|
1132
|
+
bdy pip run start pipeline-identifier --wait -c
|
|
1133
|
+
### run pipeline and pass custom variables to execution
|
|
1134
|
+
bdy pip run start pipeline-identifier -v key:val -v a:b
|
|
1135
|
+
### run pipeline and output only final json
|
|
1136
|
+
bdy pip run start pipeline-identifier --no-follow --format json`;
|
|
1137
|
+
exports.EXAMPLE_PIPELINE_RUN_STATUS = `
|
|
1138
|
+
### pipeline run status
|
|
1139
|
+
bdy pip run status pipeline-identifier run-id
|
|
1140
|
+
### pipeline run status, get only final json
|
|
1141
|
+
bdy pip run status pipeline-identifier run-id --no-follow --format json`;
|
|
1142
|
+
exports.EXAMPLE_PIPELINE_RUN_LOGS = `
|
|
1143
|
+
### pipeline run logs
|
|
1144
|
+
bdy pip run logs pipeline-identifier run-id run-action-id
|
|
1145
|
+
### pipeline run logs with json output
|
|
1146
|
+
bdy pip run logs pipeline-identifier run-id run-action-id --format json`;
|
|
1147
|
+
exports.EXAMPLE_PIPELINE_RUN_APPLY = `
|
|
1148
|
+
### pipeline run approve
|
|
1149
|
+
bdy pip run approve pipeline-identifier run-id run-action-id
|
|
1150
|
+
### pipeline run pass params
|
|
1151
|
+
bdy pip run approve pipeline-identifier run-id run-action-id -v a:b
|
|
1152
|
+
### pipeline run approve with final output in json
|
|
1153
|
+
bdy pip run approve pipeline-identifier run-id run-action-id --no-follow --format json`;
|
|
1154
|
+
exports.EXAMPLE_PIPELINE_RUN_CANCEL = `
|
|
1155
|
+
### pipeline run cancel
|
|
1156
|
+
bdy pip run cancel pipeline-identifier run-id
|
|
1157
|
+
### pipeline run cancel with final output in json
|
|
1158
|
+
bdy pip run cancel pipeline-identifier run-id --no-follow --format json`;
|
|
1159
|
+
exports.EXAMPLE_PIPELINE_CREATE = `
|
|
1160
|
+
### pipeline create with name
|
|
1161
|
+
bdy pip create -n name
|
|
1162
|
+
### pipeline create with yaml
|
|
1163
|
+
bdy pip create --yaml @path/to/yaml
|
|
1164
|
+
### pipeline create with name, output json
|
|
1165
|
+
bdy pip create -n name --format json`;
|
|
1166
|
+
exports.EXAMPLE_PIPELINE_DELETE = `
|
|
1167
|
+
### pipeline delete
|
|
1168
|
+
bdy pip rm pipeline-identifier
|
|
1169
|
+
### pipeline force delete
|
|
1170
|
+
bdy pip rm pipeline-identifier -f`;
|
|
1171
|
+
exports.EXAMPLE_PIPELINE_UPDATE = `
|
|
1172
|
+
### pipeline update with yaml
|
|
1173
|
+
bdy pip update pipeline-identifier @path/to/yaml
|
|
1174
|
+
### pipeline update with yaml and output json
|
|
1175
|
+
bdy pip update pipeline-identifier @path/to/yaml --format json`;
|
|
1176
|
+
exports.EXAMPLE_PIPELINE_GET = `
|
|
1177
|
+
### pipeline get
|
|
1178
|
+
bdy pip get pipeline-identifier
|
|
1179
|
+
### pipeline get in json
|
|
1180
|
+
bdy pip get pipeline-identifier --format json`;
|
|
1181
|
+
exports.EXAMPLE_PIPELINE_YML = `
|
|
1182
|
+
### pipeline yml
|
|
1183
|
+
bdy pip yml pipeline-identifier`;
|
|
1184
|
+
exports.EXAMPLE_PIPELINE_LIST = `
|
|
1185
|
+
### pipeline list
|
|
1186
|
+
bdy pip list
|
|
1187
|
+
### pipeline list in json
|
|
1188
|
+
bdy pip list --format json`;
|
|
1189
|
+
exports.EXAMPLE_PIPELINE_RUN_LIST = `
|
|
1190
|
+
### pipeline run list
|
|
1191
|
+
bdy pip run list pipeline-identifier
|
|
1192
|
+
### pipeline run list in json
|
|
1193
|
+
bdy pip run list pipeline-identifier --format json`;
|
|
1194
|
+
exports.EXAMPLE_PIPELINE_RUN_RETRY = `
|
|
1195
|
+
### pipeline run retry
|
|
1196
|
+
bdy pip run retry pipeline-identifier run-id
|
|
1197
|
+
### pipeline run retry with only final json output
|
|
1198
|
+
bdy pip run retry pipeline-identifier run-id --no-follow --format json`;
|
|
1154
1199
|
exports.EXAMPLE_ARTIFACT_PUBLISH = `
|
|
1155
1200
|
EXAMPLES:
|
|
1156
|
-
|
|
1201
|
+
### publish new version of file artifact:
|
|
1157
1202
|
bdy art pub artifact-identifier:version /path/to/dir
|
|
1158
|
-
|
|
1159
|
-
# create new file artifact:
|
|
1203
|
+
### create new file artifact:
|
|
1160
1204
|
bdy art pub artifact-identifier --create
|
|
1161
|
-
|
|
1162
|
-
# overwrite existing version:
|
|
1205
|
+
### overwrite existing version:
|
|
1163
1206
|
bdy art pub artifact-identifier:version /path/to/dir -f`;
|
|
1164
1207
|
exports.EXAMPLE_ARTIFACT_DOWNLOAD = `
|
|
1165
1208
|
EXAMPLES:
|
|
1166
|
-
|
|
1209
|
+
### download file artifact version to local directory:
|
|
1167
1210
|
bdy art dd artifact-identifier:version /path/to/dir
|
|
1168
|
-
|
|
1169
|
-
# download latest file artifact version and replace contents of existing local directory:
|
|
1211
|
+
### download latest file artifact version and replace contents of existing local directory:
|
|
1170
1212
|
bdy art dd artifact-identifier /path/to/dir --replace
|
|
1171
|
-
|
|
1172
|
-
# download file artifact version and merge it with existing local directory:
|
|
1213
|
+
### download file artifact version and merge it with existing local directory:
|
|
1173
1214
|
bdy art dd artifact-identifier:version /path/to/dir --merge`;
|
|
1174
1215
|
exports.EXAMPLE_ARTIFACT_DELETE = `
|
|
1175
1216
|
EXAMPLES:
|
|
1176
|
-
|
|
1217
|
+
### delete artifact:
|
|
1177
1218
|
bdy art rm artifact-identifier
|
|
1178
|
-
|
|
1179
|
-
# delete artifact and automatically confirm deletion:
|
|
1219
|
+
### delete artifact and automatically confirm deletion:
|
|
1180
1220
|
bdy art rm artifact-identifier -f`;
|
|
1181
1221
|
exports.EXAMPLE_ARTIFACT_CREATE = `
|
|
1182
1222
|
EXAMPLES:
|
|
1183
|
-
|
|
1223
|
+
### create file artifact with name:
|
|
1184
1224
|
bdy art create test
|
|
1185
|
-
|
|
1186
|
-
# create file artifact with buddy authorization and identifier
|
|
1225
|
+
### create file artifact with buddy authorization and identifier
|
|
1187
1226
|
bdy art create test -b -i artifact-identifier
|
|
1188
|
-
|
|
1189
|
-
# create file artifact with basic authorization
|
|
1227
|
+
### create file artifact with basic authorization
|
|
1190
1228
|
bdy art create -a user:pass
|
|
1191
|
-
|
|
1192
|
-
# create docker containers artifact
|
|
1229
|
+
### create docker containers artifact
|
|
1193
1230
|
bdy art create registry -t CONTAINER`;
|
|
1194
1231
|
exports.EXAMPLE_ARTIFACT_VERSION_LIST = `
|
|
1195
1232
|
EXAMPLES:
|
|
1196
|
-
|
|
1233
|
+
### list artifact versions:
|
|
1197
1234
|
bdy art ver ls artifact-identifier
|
|
1198
|
-
|
|
1199
|
-
# list 20 artifact versions from page 2:
|
|
1235
|
+
### list 20 artifact versions from page 2:
|
|
1200
1236
|
bdy art ver ls artifact-identifier --page 2 --per-page 20`;
|
|
1201
1237
|
exports.EXAMPLE_ARTIFACT_VERSION_GET = `
|
|
1202
1238
|
EXAMPLES:
|
|
1203
|
-
|
|
1239
|
+
### get artifact version:
|
|
1204
1240
|
bdy art ver get artifact-identifier version
|
|
1205
|
-
|
|
1206
|
-
# get artifact version in another project:
|
|
1241
|
+
### get artifact version in another project:
|
|
1207
1242
|
bdy art ver get artifact-identifier version -p project`;
|
|
1208
1243
|
exports.EXAMPLE_ARTIFACT_VERSION_DELETE = `
|
|
1209
1244
|
EXAMPLES:
|
|
1210
|
-
|
|
1245
|
+
### delete artifact version:
|
|
1211
1246
|
bdy art ver rm artifact-identifier version
|
|
1212
|
-
|
|
1213
|
-
# delete artifact version and automatically confirm deletion:
|
|
1247
|
+
### delete artifact version and automatically confirm deletion:
|
|
1214
1248
|
bdy art ver rm artifact-identifier version -f`;
|