bdy 1.22.24-dev → 1.22.24-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 +65 -0
- package/distTs/src/command/pipeline/run/cancel.js +39 -0
- package/distTs/src/command/pipeline/run/list.js +58 -0
- package/distTs/src/command/pipeline/run/logs.js +39 -0
- package/distTs/src/command/pipeline/run/retry.js +39 -0
- package/distTs/src/command/pipeline/run/start.js +99 -0
- package/distTs/src/command/pipeline/run/status.js +38 -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 +1695 -0
- package/distTs/src/output.js +156 -32
- package/distTs/src/texts.js +212 -169
- package/distTs/src/tunnel/output/interactive/tunnel.js +2 -2
- package/distTs/src/tunnel/tunnel.js +0 -24
- 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_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_JSONL = 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_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 = exports.OPTION_TLS_CA = void 0;
|
|
11
|
+
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 = exports.LOG_REMOVING_AGENT_PROC_ID = void 0;
|
|
12
|
+
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 = exports.LOG_TUNNEL_HTTP_WRON_AUTH = void 0;
|
|
13
|
+
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 = exports.OPTION_SANDBOX_TIMEOUT = void 0;
|
|
14
|
+
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 = exports.DESC_COMMAND_SANDBOX_SNAPSHOT_LIST = void 0;
|
|
15
|
+
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 = exports.ERR_SANDBOX_CP_INVALID_DEST = void 0;
|
|
16
|
+
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 = exports.TXT_WORKSPACE_SET_SUCCESS = void 0;
|
|
17
|
+
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 = exports.OPT_COMMAND_ARTIFACT_CREATE_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_JSONL = 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 = exports.EXAMPLE_SANDBOX_EXEC_LIST = 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,10 @@ 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';
|
|
398
|
+
exports.OPTION_FORMAT_JSONL = 'Output format: jsonl, text. Default: text';
|
|
379
399
|
exports.OPTION_REST_API_WORKSPACE = 'Workspace URL handle. Can be set via variable: BUDDY_WORKSPACE';
|
|
380
400
|
exports.OPTION_REST_API_PROJECT = 'Project name. Can be set via variable: BUDDY_PROJECT';
|
|
381
401
|
exports.OPTION_REST_API_PAGE = 'Page number. Default: 1';
|
|
@@ -941,274 +961,297 @@ exports.ERR_PROJECT_NO_PROJECTS = 'No projects found in this workspace';
|
|
|
941
961
|
// Examples
|
|
942
962
|
exports.EXAMPLE_SANDBOX_CP = `
|
|
943
963
|
EXAMPLES:
|
|
944
|
-
|
|
964
|
+
### copy file from sandbox to local directory with a new name:
|
|
945
965
|
bdy sb cp sandbox-identifier:/path/to/file /path/to/dir/name
|
|
946
|
-
|
|
947
|
-
# if local path file already exists you must replace it:
|
|
966
|
+
### if local path file already exists you must replace it:
|
|
948
967
|
bdy sb cp sandbox-identifier:/path/to/file /path/to/dir/name --replace
|
|
949
|
-
|
|
950
|
-
# copy file from sandbox INTO local directory:
|
|
968
|
+
### copy file from sandbox INTO local directory:
|
|
951
969
|
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:
|
|
970
|
+
### if local directory already exists you must merge it or replace it:
|
|
954
971
|
bdy sb cp sandbox-identifier:/path/to/file /path/to/dir/ --merge
|
|
955
972
|
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
|
|
973
|
+
### copy directory from sandbox to local directory with a new name
|
|
958
974
|
bdy sb cp sandbox-identifier:/path/to/dir /path/to/dir
|
|
959
|
-
|
|
960
|
-
# if local directory already exists you must replace it:
|
|
975
|
+
### if local directory already exists you must replace it:
|
|
961
976
|
bdy sb cp sandbox-identifier:/path/to/dir /path/to/dir --replace
|
|
962
|
-
|
|
963
|
-
# copy directory from sandbox INTO local directory
|
|
977
|
+
### copy directory from sandbox INTO local directory
|
|
964
978
|
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:
|
|
979
|
+
### if local directory already exists you must merge it or replace it:
|
|
967
980
|
bdy sb cp sandbox-identifier:/path/to/dir /path/to/dir/ --merge
|
|
968
981
|
bdy sb cp sandbox-identifier:/path/to/dir /path/to/dir/ --replace
|
|
969
|
-
|
|
970
|
-
# copy local file to sandbox with a new name:
|
|
982
|
+
### copy local file to sandbox with a new name:
|
|
971
983
|
bdy sb cp /path/to/file sandbox-identifier:/path/to/dir/name
|
|
972
|
-
|
|
973
|
-
# copy local file into sandbox directory
|
|
984
|
+
### copy local file into sandbox directory
|
|
974
985
|
bdy sb cp /path/to/file sandbox-identifier:/path/to/dir/
|
|
975
|
-
|
|
976
|
-
# copy contents of local directory to sandbox directory:
|
|
986
|
+
### copy contents of local directory to sandbox directory:
|
|
977
987
|
bdy sb cp /path/to/dir sandbox-identifier:/path/to/dir
|
|
978
|
-
|
|
979
|
-
# copy local directory into sandbox directory:
|
|
988
|
+
### copy local directory into sandbox directory:
|
|
980
989
|
bdy sb cp /path/to/dir sandbox-identifier:/path/to/dir/`;
|
|
981
990
|
exports.EXAMPLE_SANDBOX_CREATE = `
|
|
982
991
|
EXAMPLES:
|
|
983
|
-
|
|
992
|
+
### create ubuntu 22.04 sandbox with name and wait for start:
|
|
984
993
|
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:
|
|
994
|
+
### create sandbox with identifier, run install commands and wait for start & commands to complete:
|
|
987
995
|
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:
|
|
996
|
+
### create sandbox with custom resources and tag it:
|
|
990
997
|
bdy sb create --resources 4x8 --tag "tag1" --tag "tag2
|
|
991
|
-
|
|
992
|
-
# create sandbox from yaml file:
|
|
998
|
+
### create sandbox from yaml file:
|
|
993
999
|
bdy sb create --yaml @./test.yml"`;
|
|
994
1000
|
const EXAMPLE_TUNNEL_HTTP = (agent) => `
|
|
995
|
-
|
|
1001
|
+
### start http tunnel on port 80:
|
|
996
1002
|
bdy ${agent ? 'agent ' : ''}tunnel http 80
|
|
997
|
-
|
|
998
|
-
# start named http tunnel and serve local directory:
|
|
1003
|
+
### start named http tunnel and serve local directory:
|
|
999
1004
|
bdy ${agent ? 'agent ' : ''}tunnel http -n name -s /path/to/dir
|
|
1000
|
-
|
|
1001
|
-
# start http tunnel, whitelist ip and turn on on basic auth:
|
|
1005
|
+
### start http tunnel, whitelist ip and turn on on basic auth:
|
|
1002
1006
|
bdy ${agent ? 'agent ' : ''}tunnel http https://myhost.com -w 1.1.1.1 -a user:pass`;
|
|
1003
1007
|
exports.EXAMPLE_TUNNEL_HTTP = EXAMPLE_TUNNEL_HTTP;
|
|
1004
1008
|
exports.EXAMPLE_AGENT_TUNNEL_LIST = `
|
|
1005
|
-
|
|
1009
|
+
### list agent tunnels:
|
|
1006
1010
|
bdy agent tunnel list`;
|
|
1007
1011
|
exports.EXAMPLE_AGENT_TUNNEL_REMOVE = `
|
|
1008
|
-
|
|
1012
|
+
### remove agent tunnel:
|
|
1009
1013
|
bdy agent tunnel rm tunnel-id`;
|
|
1010
1014
|
exports.EXAMPLE_AGENT_TUNNEL_STATUS = `
|
|
1011
|
-
|
|
1015
|
+
### get agent tunnel status:
|
|
1012
1016
|
bdy agent tunnel status tunnel-id`;
|
|
1013
1017
|
exports.EXAMPLE_AGENT_TUNNEL_START = `
|
|
1014
|
-
|
|
1018
|
+
### add tunnel to config:
|
|
1015
1019
|
bdy tunnel config add http name 80
|
|
1016
|
-
|
|
1017
|
-
# start agent tunnel from config:
|
|
1020
|
+
### start agent tunnel from config:
|
|
1018
1021
|
bdy agent tunnel start name`;
|
|
1019
1022
|
const EXAMPLE_TUNNEL_TLS = (agent) => `
|
|
1020
|
-
|
|
1023
|
+
### start tls tunnel on port 80:
|
|
1021
1024
|
bdy ${agent ? 'agent ' : ''}tunnel tls 80
|
|
1022
|
-
|
|
1023
|
-
# start tls tunnel and terminate tls at target:
|
|
1025
|
+
### start tls tunnel and terminate tls at target:
|
|
1024
1026
|
bdy ${agent ? 'agent ' : ''}tunnel tls 443 -i target`;
|
|
1025
1027
|
exports.EXAMPLE_TUNNEL_TLS = EXAMPLE_TUNNEL_TLS;
|
|
1026
1028
|
const EXAMPLE_TUNNEL_TCP = (agent) => `
|
|
1027
|
-
|
|
1029
|
+
### start tcp tunnel on port 22:
|
|
1028
1030
|
bdy ${agent ? 'agent ' : ''}tunnel tcp 22
|
|
1029
|
-
|
|
1030
|
-
# start named tcp tunnel with whitelist:
|
|
1031
|
+
### start named tcp tunnel with whitelist:
|
|
1031
1032
|
bdy ${agent ? 'agent ' : ''}tunnel tcp 80 -n name -w 1.1.1.1/27`;
|
|
1032
1033
|
exports.EXAMPLE_TUNNEL_TCP = EXAMPLE_TUNNEL_TCP;
|
|
1033
1034
|
exports.EXAMPLE_TUNNEL_START = `
|
|
1034
|
-
|
|
1035
|
+
### add tunnel to config:
|
|
1035
1036
|
bdy tunnel config add http name 80
|
|
1036
|
-
|
|
1037
|
-
# start tunnel from config:
|
|
1037
|
+
### start tunnel from config:
|
|
1038
1038
|
bdy tunnel start name`;
|
|
1039
1039
|
exports.EXAMPLE_SANDBOX_EXEC_COMMAND = `
|
|
1040
|
-
|
|
1040
|
+
### ran command in sandbox:
|
|
1041
1041
|
bdy sb exec command sandbox-identifier "ls -la"
|
|
1042
|
-
|
|
1043
|
-
# ran command in sandbox and wait for it to complete:
|
|
1042
|
+
### ran command in sandbox and wait for it to complete:
|
|
1044
1043
|
bdy sb exec command sandbox-identifier "sleep 10" --wait`;
|
|
1045
1044
|
exports.EXAMPLE_SANDBOX_EXEC_KILL = `
|
|
1046
|
-
|
|
1045
|
+
### kill command running in sandbox:
|
|
1047
1046
|
bdy sb exec kill sandbox-identifier command-id
|
|
1048
|
-
|
|
1049
|
-
# kill command running in sandbox and automatically confirm killing:
|
|
1047
|
+
### kill command running in sandbox and automatically confirm killing:
|
|
1050
1048
|
bdy sb exec kill sandbox-identifier command-id -f`;
|
|
1051
1049
|
exports.EXAMPLE_SANDBOX_APP_LIST = `
|
|
1052
|
-
|
|
1050
|
+
### list apps running in sandbox:
|
|
1053
1051
|
bdy sb app ls sandbox-identifier
|
|
1054
|
-
|
|
1055
|
-
# list apps running in sandbox in different project:
|
|
1052
|
+
### list apps running in sandbox in different project:
|
|
1056
1053
|
bdy sb app ls sandbox-identifier -p project`;
|
|
1057
1054
|
exports.EXAMPLE_SANDBOX_EXEC_LIST = `
|
|
1058
|
-
|
|
1055
|
+
### list commands running in sandbox:
|
|
1059
1056
|
bdy sb exec ls sandbox-identifier
|
|
1060
|
-
|
|
1061
|
-
# list commands running in sandbox in different project:
|
|
1057
|
+
### list commands running in sandbox in different project:
|
|
1062
1058
|
bdy sb exec ls sandbox-identifier -p project`;
|
|
1063
1059
|
exports.EXAMPLE_SANDBOX_APP_LOGS = `
|
|
1064
|
-
|
|
1060
|
+
### show logs from app:
|
|
1065
1061
|
bdy sb app logs sandbox-identifier app-id`;
|
|
1066
1062
|
exports.EXAMPLE_SANDBOX_APP_START = `
|
|
1067
|
-
|
|
1063
|
+
### start sandbox app:
|
|
1068
1064
|
bdy sb app start sandbox-identifier app-id`;
|
|
1069
1065
|
exports.EXAMPLE_SANDBOX_APP_ADD = `
|
|
1070
|
-
|
|
1066
|
+
### add sandbox app:
|
|
1071
1067
|
bdy sb app add sandbox-identifier "npm start"`;
|
|
1072
1068
|
exports.EXAMPLE_SANDBOX_APP_REMOVE = `
|
|
1073
|
-
|
|
1069
|
+
### remove sandbox app:
|
|
1074
1070
|
bdy sb app rm sandbox-identifier app-id`;
|
|
1075
1071
|
exports.EXAMPLE_SANDBOX_APP_STOP = `
|
|
1076
|
-
|
|
1072
|
+
### stop sandbox app:
|
|
1077
1073
|
bdy sb app stop sandbox-identifier app-id`;
|
|
1078
1074
|
exports.EXAMPLE_SANDBOX_APP_STATUS = `
|
|
1079
|
-
|
|
1075
|
+
### show status from app:
|
|
1080
1076
|
bdy sb app status sandbox-identifier app-id`;
|
|
1081
1077
|
exports.EXAMPLE_SANDBOX_EXEC_LOGS = `
|
|
1082
|
-
|
|
1078
|
+
### show logs from command:
|
|
1083
1079
|
bdy sb exec logs sandbox-identifier command-id
|
|
1084
|
-
|
|
1085
|
-
# show logs from command and wait for it to complete:
|
|
1080
|
+
### show logs from command and wait for it to complete:
|
|
1086
1081
|
bdy sb exec logs sandbox-identifier command-id --wait`;
|
|
1087
1082
|
exports.EXAMPLE_SANDBOX_EXEC_STATUS = `
|
|
1088
|
-
|
|
1083
|
+
### show status of command:
|
|
1089
1084
|
bdy sb exec status sandbox-identifier command-id
|
|
1090
|
-
|
|
1091
|
-
# show status of command in sandbox from another workspace:
|
|
1085
|
+
### show status of command in sandbox from another workspace:
|
|
1092
1086
|
bdy sb exec status sandbox-identifier command-id -w workspace -p project`;
|
|
1093
1087
|
exports.EXAMPLE_SANDBOX_SNAPSHOT_CREATE = `
|
|
1094
|
-
|
|
1088
|
+
### create snapshot of sandbox with name:
|
|
1095
1089
|
bdy sb snap create sandbox-identifier -n "my-snapshot"
|
|
1096
|
-
|
|
1097
|
-
# create snapshot of sandbox and wait for it to complete:
|
|
1090
|
+
### create snapshot of sandbox and wait for it to complete:
|
|
1098
1091
|
bdy sb snap create sandbox-identifier --wait`;
|
|
1099
1092
|
exports.EXAMPLE_SANDBOX_SNAPSHOT_DELETE = `
|
|
1100
|
-
|
|
1093
|
+
### delete snapshot of sandbox:
|
|
1101
1094
|
bdy sb snap rm sandbox-identifier my-snapshot
|
|
1102
|
-
|
|
1103
|
-
# delete snapshot of sandbox and automatically confirm deletion:
|
|
1095
|
+
### delete snapshot of sandbox and automatically confirm deletion:
|
|
1104
1096
|
bdy sb snap rm sandbox-identifier my-snapshot -f`;
|
|
1105
1097
|
exports.EXAMPLE_SANDBOX_SNAPSHOT_GET = `
|
|
1106
|
-
|
|
1098
|
+
### get snapshot info:
|
|
1107
1099
|
bdy sb snap get sandbox-identifier my-snapshot
|
|
1108
|
-
|
|
1109
|
-
# get snapshot info from sandbox in another project:
|
|
1100
|
+
### get snapshot info from sandbox in another project:
|
|
1110
1101
|
bdy sb snap get sandbox-identifier my-snapshot -p project`;
|
|
1111
1102
|
exports.EXAMPLE_SANDBOX_SNAPSHOT_LIST = `
|
|
1112
|
-
|
|
1103
|
+
### list snapshots of sandbox:
|
|
1113
1104
|
bdy sb snap ls sandbox-identifier
|
|
1114
|
-
|
|
1115
|
-
# list snapshots in default project:
|
|
1105
|
+
### list snapshots in default project:
|
|
1116
1106
|
bdy sb snap ls`;
|
|
1117
1107
|
exports.EXAMPLE_SANDBOX_ENDPOINT_CREATE = `
|
|
1118
|
-
|
|
1108
|
+
### create http endpoint on port 80
|
|
1119
1109
|
bdy sb ep create sandbox-identifier -e 80
|
|
1120
|
-
|
|
1121
|
-
# create http server and serve files from sandbox directory:
|
|
1110
|
+
### create http server and serve files from sandbox directory:
|
|
1122
1111
|
bdy sb ep create sandbox-identifier -s /path/to/dir
|
|
1123
|
-
|
|
1124
|
-
# create tcp endpoint on port 22 with name:
|
|
1112
|
+
### create tcp endpoint on port 22 with name:
|
|
1125
1113
|
bdy sb ep create sandbox-identifier -t TCP -e 22 -n test`;
|
|
1126
1114
|
exports.EXAMPLE_SANDBOX_ENDPOINT_DELETE = `
|
|
1127
|
-
|
|
1115
|
+
### delete sandbox endpoint:
|
|
1128
1116
|
bdy sb ep rm sandbox-identifier test
|
|
1129
|
-
|
|
1130
|
-
# delete sandbox endpoint in another project and automatically confirm deletion:
|
|
1117
|
+
### delete sandbox endpoint in another project and automatically confirm deletion:
|
|
1131
1118
|
bdy sb ep rm sandbox-identifier test -p project -f`;
|
|
1132
1119
|
exports.EXAMPLE_SANDBOX_ENDPOINT_GET = `
|
|
1133
|
-
|
|
1120
|
+
### get sandbox endpoint:
|
|
1134
1121
|
bdy sb ep get sandbox-identifier test
|
|
1135
|
-
|
|
1136
|
-
# get sandbox endpoint in another project:
|
|
1122
|
+
### get sandbox endpoint in another project:
|
|
1137
1123
|
bdy sb ep get sandbox-identifier test -p project`;
|
|
1138
1124
|
exports.EXAMPLE_SANDBOX_ENDPOINT_LIST = `
|
|
1139
|
-
|
|
1125
|
+
### list sandbox endpoints:
|
|
1140
1126
|
bdy sb ep ls sandbox-identifier
|
|
1141
|
-
|
|
1142
|
-
# list sandbox endpoints in another project:
|
|
1127
|
+
### list sandbox endpoints in another project:
|
|
1143
1128
|
bdy sb ep ls sandbox-identifier -p project`;
|
|
1144
|
-
exports.
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
bdy pip run pipeline-identifier
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1129
|
+
exports.EXAMPLE_PIPELINE_RUN_START = `
|
|
1130
|
+
### run pipeline with high priority and upload everything from scratch
|
|
1131
|
+
bdy pip run start pipeline-identifier --priority HIGH -f
|
|
1132
|
+
### run pipeline without cache and wait for execution to complete
|
|
1133
|
+
bdy pip run start pipeline-identifier --wait -c
|
|
1134
|
+
### run pipeline and pass custom variables to execution
|
|
1135
|
+
bdy pip run start pipeline-identifier -v key:val -v a:b
|
|
1136
|
+
### run pipeline and output only final jsonl
|
|
1137
|
+
bdy pip run start pipeline-identifier --no-follow --format jsonl`;
|
|
1138
|
+
exports.EXAMPLE_PIPELINE_RUN_STATUS = `
|
|
1139
|
+
### pipeline run status
|
|
1140
|
+
bdy pip run status pipeline-identifier run-id
|
|
1141
|
+
### pipeline run status, get only final jsonl
|
|
1142
|
+
bdy pip run status pipeline-identifier run-id --no-follow --format jsonl`;
|
|
1143
|
+
exports.EXAMPLE_PIPELINE_RUN_JSONL = `
|
|
1144
|
+
EXAMPLE JSONL STRUCTURES:
|
|
1145
|
+
{"type": "info", "message": "..."}
|
|
1146
|
+
{"type": "run", "run": {...}}
|
|
1147
|
+
{"type": "action", "action": {...}}
|
|
1148
|
+
{"type": "log", "log": "..."}
|
|
1149
|
+
{"type": "exit", "code": 0|1}
|
|
1150
|
+
`;
|
|
1151
|
+
exports.EXAMPLE_PIPELINE_RUN_LOGS = `
|
|
1152
|
+
### pipeline run logs
|
|
1153
|
+
bdy pip run logs pipeline-identifier run-id action-run-id
|
|
1154
|
+
### pipeline run logs with jsonl output
|
|
1155
|
+
bdy pip run logs pipeline-identifier run-id action-run-id --format jsonl`;
|
|
1156
|
+
exports.EXAMPLE_PIPELINE_RUN_APPLY = `
|
|
1157
|
+
### pipeline run approve
|
|
1158
|
+
bdy pip run approve pipeline-identifier run-id action-run-id
|
|
1159
|
+
### pipeline run pass params
|
|
1160
|
+
bdy pip run approve pipeline-identifier run-id action-run-id -v a:b
|
|
1161
|
+
### pipeline run approve with final output in jsonl
|
|
1162
|
+
bdy pip run approve pipeline-identifier run-id action-run-id --no-follow --format jsonl`;
|
|
1163
|
+
exports.EXAMPLE_PIPELINE_RUN_CANCEL = `
|
|
1164
|
+
### pipeline run cancel
|
|
1165
|
+
bdy pip run cancel pipeline-identifier run-id
|
|
1166
|
+
### pipeline run cancel with final output in jsonl
|
|
1167
|
+
bdy pip run cancel pipeline-identifier run-id --no-follow --format jsonl`;
|
|
1168
|
+
exports.EXAMPLE_PIPELINE_CREATE = `
|
|
1169
|
+
### pipeline create with name
|
|
1170
|
+
bdy pip create -n name
|
|
1171
|
+
### pipeline create with yaml
|
|
1172
|
+
bdy pip create --yaml @path/to/yaml
|
|
1173
|
+
### pipeline create with name, output json
|
|
1174
|
+
bdy pip create -n name --format json`;
|
|
1175
|
+
exports.EXAMPLE_PIPELINE_DELETE = `
|
|
1176
|
+
### pipeline delete
|
|
1177
|
+
bdy pip rm pipeline-identifier
|
|
1178
|
+
### pipeline force delete
|
|
1179
|
+
bdy pip rm pipeline-identifier -f`;
|
|
1180
|
+
exports.EXAMPLE_PIPELINE_UPDATE = `
|
|
1181
|
+
### pipeline update with yaml
|
|
1182
|
+
bdy pip update pipeline-identifier @path/to/yaml
|
|
1183
|
+
### pipeline update with yaml and output json
|
|
1184
|
+
bdy pip update pipeline-identifier @path/to/yaml --format json`;
|
|
1185
|
+
exports.EXAMPLE_PIPELINE_GET = `
|
|
1186
|
+
### pipeline get
|
|
1187
|
+
bdy pip get pipeline-identifier
|
|
1188
|
+
### pipeline get in json
|
|
1189
|
+
bdy pip get pipeline-identifier --format json`;
|
|
1190
|
+
exports.EXAMPLE_PIPELINE_YML = `
|
|
1191
|
+
### pipeline yml
|
|
1192
|
+
bdy pip yml pipeline-identifier`;
|
|
1193
|
+
exports.EXAMPLE_PIPELINE_LIST = `
|
|
1194
|
+
### pipeline list
|
|
1195
|
+
bdy pip list
|
|
1196
|
+
### pipeline list in json
|
|
1197
|
+
bdy pip list --format json`;
|
|
1198
|
+
exports.EXAMPLE_PIPELINE_RUN_LIST = `
|
|
1199
|
+
### pipeline run list
|
|
1200
|
+
bdy pip run list pipeline-identifier
|
|
1201
|
+
### pipeline run list in json
|
|
1202
|
+
bdy pip run list pipeline-identifier --format json`;
|
|
1203
|
+
exports.EXAMPLE_PIPELINE_RUN_RETRY = `
|
|
1204
|
+
### pipeline run retry
|
|
1205
|
+
bdy pip run retry pipeline-identifier run-id
|
|
1206
|
+
### pipeline run retry with only final json output
|
|
1207
|
+
bdy pip run retry pipeline-identifier run-id --no-follow --format json`;
|
|
1154
1208
|
exports.EXAMPLE_ARTIFACT_PUBLISH = `
|
|
1155
1209
|
EXAMPLES:
|
|
1156
|
-
|
|
1210
|
+
### publish new version of file artifact:
|
|
1157
1211
|
bdy art pub artifact-identifier:version /path/to/dir
|
|
1158
|
-
|
|
1159
|
-
# create new file artifact:
|
|
1212
|
+
### create new file artifact:
|
|
1160
1213
|
bdy art pub artifact-identifier --create
|
|
1161
|
-
|
|
1162
|
-
# overwrite existing version:
|
|
1214
|
+
### overwrite existing version:
|
|
1163
1215
|
bdy art pub artifact-identifier:version /path/to/dir -f`;
|
|
1164
1216
|
exports.EXAMPLE_ARTIFACT_DOWNLOAD = `
|
|
1165
1217
|
EXAMPLES:
|
|
1166
|
-
|
|
1218
|
+
### download file artifact version to local directory:
|
|
1167
1219
|
bdy art dd artifact-identifier:version /path/to/dir
|
|
1168
|
-
|
|
1169
|
-
# download latest file artifact version and replace contents of existing local directory:
|
|
1220
|
+
### download latest file artifact version and replace contents of existing local directory:
|
|
1170
1221
|
bdy art dd artifact-identifier /path/to/dir --replace
|
|
1171
|
-
|
|
1172
|
-
# download file artifact version and merge it with existing local directory:
|
|
1222
|
+
### download file artifact version and merge it with existing local directory:
|
|
1173
1223
|
bdy art dd artifact-identifier:version /path/to/dir --merge`;
|
|
1174
1224
|
exports.EXAMPLE_ARTIFACT_DELETE = `
|
|
1175
1225
|
EXAMPLES:
|
|
1176
|
-
|
|
1226
|
+
### delete artifact:
|
|
1177
1227
|
bdy art rm artifact-identifier
|
|
1178
|
-
|
|
1179
|
-
# delete artifact and automatically confirm deletion:
|
|
1228
|
+
### delete artifact and automatically confirm deletion:
|
|
1180
1229
|
bdy art rm artifact-identifier -f`;
|
|
1181
1230
|
exports.EXAMPLE_ARTIFACT_CREATE = `
|
|
1182
1231
|
EXAMPLES:
|
|
1183
|
-
|
|
1232
|
+
### create file artifact with name:
|
|
1184
1233
|
bdy art create test
|
|
1185
|
-
|
|
1186
|
-
# create file artifact with buddy authorization and identifier
|
|
1234
|
+
### create file artifact with buddy authorization and identifier
|
|
1187
1235
|
bdy art create test -b -i artifact-identifier
|
|
1188
|
-
|
|
1189
|
-
# create file artifact with basic authorization
|
|
1236
|
+
### create file artifact with basic authorization
|
|
1190
1237
|
bdy art create -a user:pass
|
|
1191
|
-
|
|
1192
|
-
# create docker containers artifact
|
|
1238
|
+
### create docker containers artifact
|
|
1193
1239
|
bdy art create registry -t CONTAINER`;
|
|
1194
1240
|
exports.EXAMPLE_ARTIFACT_VERSION_LIST = `
|
|
1195
1241
|
EXAMPLES:
|
|
1196
|
-
|
|
1242
|
+
### list artifact versions:
|
|
1197
1243
|
bdy art ver ls artifact-identifier
|
|
1198
|
-
|
|
1199
|
-
# list 20 artifact versions from page 2:
|
|
1244
|
+
### list 20 artifact versions from page 2:
|
|
1200
1245
|
bdy art ver ls artifact-identifier --page 2 --per-page 20`;
|
|
1201
1246
|
exports.EXAMPLE_ARTIFACT_VERSION_GET = `
|
|
1202
1247
|
EXAMPLES:
|
|
1203
|
-
|
|
1248
|
+
### get artifact version:
|
|
1204
1249
|
bdy art ver get artifact-identifier version
|
|
1205
|
-
|
|
1206
|
-
# get artifact version in another project:
|
|
1250
|
+
### get artifact version in another project:
|
|
1207
1251
|
bdy art ver get artifact-identifier version -p project`;
|
|
1208
1252
|
exports.EXAMPLE_ARTIFACT_VERSION_DELETE = `
|
|
1209
1253
|
EXAMPLES:
|
|
1210
|
-
|
|
1254
|
+
### delete artifact version:
|
|
1211
1255
|
bdy art ver rm artifact-identifier version
|
|
1212
|
-
|
|
1213
|
-
# delete artifact version and automatically confirm deletion:
|
|
1256
|
+
### delete artifact version and automatically confirm deletion:
|
|
1214
1257
|
bdy art ver rm artifact-identifier version -f`;
|