Repository navigation
CLI: every deployment method, placement, workspaces, databases, services, servers, domains - #2
Merged
Merged
Conversation
- deploy: this folder, --git (branch, sub-folder), --image (private registry), --compose (a service), --template (catalogue); a new workspace on IDEM's infrastructure (--region) or on your server (--server); build settings; an application from Git or an image is rebuilt from its source (--upload sends the folder instead). - servers: add (SSH key generated or yours, readiness checks, Docker and proxy installed), check, setup, rm. - workspaces: ls, create (--server / --region), show (what runs, how it is reached), rm. - db: ls, create (+ start), show (address, credentials; --reveal), start/stop/restart, backup, rm — the 9 engines. - services: ls, start/stop/restart, rm; templates [search]. - domains: ls (DNS/HTTPS state), add (DNS record to create), rm. - start, stop, destroy, deployments; menu extended.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follows #1: most of what the iDeploy UI does, from the terminal.
Deploy (all the methods)
idem deploy--git <url> [--branch] [--base-dir]--image <ref> [--tag] [--registry-user]IDEM_REGISTRY_PASSWORD, never on the command line)--compose <file>--template <name>--regionwhen the plan allows it) or one of your servers (--server). On a terminal, the CLI asks.--install,--build,--start,--port,--publish-dir.--uploadsends the folder instead.New commands
start,stop,destroy(asks to type the name),deployments,domains ls/add/rm(DNS and HTTPS state, record to create).ls,create --server/--region,show(what runs, internal addresses),rm.db ls/create/show/start/stop/restart/backup/rm.show --revealgives the credentials.ls/start/stop/restart/rm,templates [search].servers ls/add/check/setup/rm.addgenerates the SSH key (or uses yours), shows theauthorized_keysline, checks the server, then installs Docker and the proxy.idemmenu is extended, and the README is updated.Checks
Done in a Node 20 container:
tsc --noEmit, build,--helpand the error paths (two sources at once, not signed in).