|
2 | 2 | CHANNEL = "Aleph.im network channel where the message is or will be broadcasted" |
3 | 3 | PRIVATE_KEY = "Your private key. Cannot be used with --private-key-file" |
4 | 4 | PRIVATE_KEY_FILE = "Path to your private key file" |
5 | | -REF = "Checkout https://aleph-im.gitbook.io/aleph-js/api-resources-reference/posts" |
| 5 | +REF = "Item hash of the message to update" |
6 | 6 | SIGNABLE_MESSAGE = "Message to sign" |
7 | 7 | CUSTOM_DOMAIN_TARGET_TYPES = "IPFS|PROGRAM|INSTANCE" |
8 | 8 | CUSTOM_DOMAIN_OWNER_ADDRESS = "Owner address, default current account" |
9 | 9 | CUSTOM_DOMAIN_NAME = "Domain name. ex: aleph.im" |
10 | 10 | CUSTOM_DOMAIN_ITEM_HASH = "Item hash" |
11 | 11 | SKIP_VOLUME = "Skip prompt to attach more volumes" |
12 | | -PERSISTENT_VOLUME = """Persistent volumes are allocated on the host machine and are not deleted when the VM is stopped.\n |
13 | | -Requires at least "name", "persistence", "mount" and "size_mib". For more info, see the docs: https://docs.aleph.im/computing/volumes/persistent/\n |
14 | | -Example: --persistent_volume name=data,persistence=host,size_mib=100,mount=/opt/data""" |
15 | | -EPHEMERAL_VOLUME = """Ephemeral volumes are allocated on the host machine when the VM is started and deleted when the VM is stopped.\n |
16 | | -Requires at least "name", "mount" and "size_mib".\n |
17 | | -Example: --ephemeral-volume name=temp,size_mib=100,mount=/tmp/data""" |
18 | | -IMMUTABLE_VOLUME = """Immutable volumes are pinned on the network and can be used by multiple VMs at the same time. They are read-only and useful for setting up libraries or other dependencies.\n |
19 | | -Requires at least "name", "ref" (message hash) and "mount" path. "use_latest" is True by default, to use the latest version of the volume, if it has been amended. See the docs for more info: https://docs.aleph.im/computing/volumes/immutable/\n |
20 | | -Example: --immutable-volume name=libs,ref=25a393222692c2f73489dc6710ae87605a96742ceef7b91de4d7ec34bb688d94,mount=/lib/python3.8/site-packages""" |
| 12 | +PERSISTENT_VOLUME = "Persistent volumes are allocated on the host machine and are not deleted when the VM is stopped.\nRequires at least `name`, `persistence`, `mount` and `size_mib`. For more info, see the docs: https://docs.aleph.im/computing/volumes/persistent/\nExample: --persistent_volume name=data,persistence=host,size_mib=100,mount=/opt/data" |
| 13 | +EPHEMERAL_VOLUME = "Ephemeral volumes are allocated on the host machine when the VM is started and deleted when the VM is stopped.\nRequires at least `name`, `mount` and `size_mib`.\nExample: --ephemeral-volume name=temp,size_mib=100,mount=/tmp/data" |
| 14 | +IMMUTABLE_VOLUME = "Immutable volumes are pinned on the network and can be used by multiple VMs at the same time. They are read-only and useful for setting up libraries or other dependencies.\nRequires at least `name`, `ref` (message hash) and `mount` path. `use_latest` is True by default, to use the latest version of the volume, if it has been amended. See the docs for more info: https://docs.aleph.im/computing/volumes/immutable/\nExample: --immutable-volume name=libs,ref=25a3...8d94,mount=/lib/python3.11/site-packages" |
| 15 | +SKIP_ENV_VAR = "Skip prompt to set environment variables" |
| 16 | +ENVIRONMENT_VARIABLES = "Environment variables to pass. They will be public and visible in the message, so don't include secrets. Must be a comma separated list. Example: `KEY=value` or `KEY=value,KEY=value`" |
21 | 17 | ASK_FOR_CONFIRMATION = "Prompt user for confirmation" |
22 | 18 | IPFS_CATCH_ALL_PATH = "Choose a relative path to catch all unmatched route or a 404 error" |
23 | 19 | PAYMENT_TYPE = "Payment method, either holding tokens, NFTs, or Pay-As-You-Go via token streaming" |
|
46 | 42 | VM_ID = "Item hash of your VM. If provided, skip the instance creation, else create a new one" |
47 | 43 | VM_NOT_READY = "VM not initialized/started" |
48 | 44 | VM_SCHEDULED = "VM scheduled but not available yet" |
49 | | -VM_NOT_AVAILABLE_YET = "VM not available yet" |
| 45 | +CRN_UNKNOWN = "Unknown" |
50 | 46 | CRN_PENDING = "Pending..." |
51 | 47 | ALLOCATION_AUTO = "Auto - Scheduler" |
52 | 48 | ALLOCATION_MANUAL = "Manual - Selection" |
|
56 | 52 | ADDRESS_CHAIN = "Chain for the address" |
57 | 53 | CREATE_REPLACE = "Overwrites private key file if it already exists" |
58 | 54 | CREATE_ACTIVE = "Loads the new private key after creation" |
| 55 | +PROMPT_CRN_URL = "URL of the CRN (Compute node) on which the instance is running" |
| 56 | +PROMPT_PROGRAM_CRN_URL = "URL of the CRN (Compute node) on which the program is running" |
| 57 | +PROGRAM_PATH = "Path to your source code. Can be a directory, a .squashfs file or a .zip archive" |
| 58 | +PROGRAM_ENTRYPOINT = "Your program entrypoint. Example: `main:app` for Python programs, else `run.sh` for a script containing your launch command" |
| 59 | +PROGRAM_RUNTIME = "Hash of the runtime to use for your program. You can also create your own runtime and pin it. Currently defaults to `{runtime_id}` (Use `aleph program runtime-checker` to inspect it)" |
| 60 | +PROGRAM_BETA = "If true, you will be prompted to add message subscriptions to your program" |
| 61 | +PROGRAM_UPDATABLE = "Allow program updates. By default, only the source code can be modified without requiring redeployement (same item hash). When enabled (set to True), this option allows to update any other field. However, such modifications will require a program redeployment (new item hash)" |
| 62 | +PROGRAM_KEEP_CODE = "Keep the source code intact instead of deleting it" |
| 63 | +PROGRAM_KEEP_PREV = "Keep the previous program intact instead of deleting it" |
0 commit comments