mirror of
https://github.com/FlipsideCrypto/convox.git
synced 2026-02-06 10:56:56 +00:00
More examples
This commit is contained in:
parent
99c1ac1310
commit
9a9ac1ff6f
@ -6,7 +6,8 @@ Copy files
|
||||
|
||||
### Usage
|
||||
|
||||
convox cp
|
||||
convox cp <[pid:]src> <[pid:]dst>
|
||||
|
||||
### Examples
|
||||
|
||||
$ convox cp 7b6bccfd9fdf:/root/test.sh .
|
||||
|
||||
@ -6,6 +6,25 @@ Create and promote a build
|
||||
|
||||
### Usage
|
||||
|
||||
convox deploy
|
||||
convox deploy [dir]
|
||||
|
||||
### Examples
|
||||
### Examples
|
||||
|
||||
$ convox deploy
|
||||
Packaging source... OK
|
||||
Uploading source... OK
|
||||
Starting build... OK
|
||||
Authenticating https://index.docker.io/v1/: Login Succeeded
|
||||
Authenticating 1234567890.dkr.ecr.us-east-1.amazonaws.com: Login Succeeded
|
||||
Building: .
|
||||
...
|
||||
...
|
||||
Running: docker tag convox/myapp:web.BABCDEFGHI 1234567890.dkr.ecr.us-east-1.amazonaws.com/test-regis-1mjiluel3aiv3:web.BABCDEFGHI
|
||||
Running: docker push 1234567890.dkr.ecr.us-east-1.amazonaws.com/test-regis-1mjiluel3aiv3:web.BABCDEFGHI
|
||||
Promoting RABCDEFGHI...
|
||||
...
|
||||
...
|
||||
2020-01-31T15:41:16Z system/cloudformation aws/cfm test-myapp-ServiceApp-ZNV5T8E1R2XQ DELETE_COMPLETE ExecutionRole
|
||||
2020-01-31T15:41:27Z system/cloudformation aws/cfm test-myapp DELETE_COMPLETE ServiceApp
|
||||
2020-01-31T15:41:27Z system/cloudformation aws/cfm test-myapp UPDATE_COMPLETE test-myapp
|
||||
OK
|
||||
@ -9,6 +9,12 @@ List env vars
|
||||
convox env
|
||||
|
||||
### Examples
|
||||
|
||||
$ convox env
|
||||
COUNT=0
|
||||
FOO=bar
|
||||
TEST=dummy
|
||||
|
||||
## env edit
|
||||
|
||||
Edit env interactively
|
||||
@ -18,30 +24,48 @@ Edit env interactively
|
||||
convox env edit
|
||||
|
||||
### Examples
|
||||
|
||||
$ convox env edit
|
||||
Setting ... OK
|
||||
Release: RABCDEFGHI
|
||||
|
||||
## env get
|
||||
|
||||
Get an env var
|
||||
|
||||
### Usage
|
||||
|
||||
convox env get
|
||||
convox env get <var>
|
||||
|
||||
### Examples
|
||||
|
||||
$ convox env get FOO
|
||||
bar
|
||||
|
||||
## env set
|
||||
|
||||
Set env var(s)
|
||||
|
||||
### Usage
|
||||
|
||||
convox env set
|
||||
convox env set <key=value> [key=value]...
|
||||
|
||||
### Examples
|
||||
|
||||
$ convox env set FOO=bar
|
||||
Setting FOO... OK
|
||||
Release: RABCDEFGHI
|
||||
|
||||
## env unset
|
||||
|
||||
Unset env var(s)
|
||||
|
||||
### Usage
|
||||
|
||||
convox env unset
|
||||
convox env unset <key> [key]...
|
||||
|
||||
### Examples
|
||||
### Examples
|
||||
|
||||
$ convox env unset FOO
|
||||
Unsetting FOO... OK
|
||||
Release: RABCDEFGHI
|
||||
@ -6,6 +6,9 @@ Execute a command in a running process
|
||||
|
||||
### Usage
|
||||
|
||||
convox exec
|
||||
convox exec <pid> <command>
|
||||
|
||||
### Examples
|
||||
|
||||
$ convox exec 7b6bccfd9fdf bash
|
||||
bash-3.2$
|
||||
|
||||
@ -9,6 +9,15 @@ List instances
|
||||
convox instances
|
||||
|
||||
### Examples
|
||||
|
||||
$ convox instances
|
||||
ID STATUS STARTED PS CPU MEM PUBLIC PRIVATE
|
||||
i-029382969778a743a active 2 months ago 3 18.75% 45.08% 32.207.218.250 10.0.2.39
|
||||
i-06d0eaf588c96ee5a active 2 months ago 2 18.75% 32.64% 52.208.102.198 10.0.2.17
|
||||
i-0a69dd90d3b542c3a active 2 months ago 3 21.88% 58.13% 52.160.141.135 10.0.1.151
|
||||
i-0cbaa6d2dd1d094ca active 2 months ago 5 37.50% 77.72% 1.226.241.132 10.0.3.45
|
||||
i-0d4493dded1fa9aea active 2 months ago 5 50.00% 97.91% 52.144.245.283 10.0.1.56
|
||||
|
||||
## instances keyroll
|
||||
|
||||
Roll ssh key on instances
|
||||
@ -18,21 +27,46 @@ Roll ssh key on instances
|
||||
convox instances keyroll
|
||||
|
||||
### Examples
|
||||
|
||||
$ convox instances keyroll
|
||||
Rolling instance key...
|
||||
...
|
||||
...
|
||||
2020-01-31T15:44:37Z system/cloudformation aws/cfm custom2 UPDATE_IN_PROGRESS Instances Received SUCCESS signal with UniqueId i-0f5fb7f262fd2c50a
|
||||
2020-01-31T15:44:38Z system/cloudformation aws/cfm custom2 UPDATE_IN_PROGRESS Instances Terminating instance(s) [i-075f25eed26ea9cea]; replacing with 1 new instance(s).
|
||||
OK
|
||||
|
||||
|
||||
## instances ssh
|
||||
|
||||
Run a shell on an instance
|
||||
|
||||
### Usage
|
||||
|
||||
convox instances ssh
|
||||
convox instances ssh <instance_id>
|
||||
|
||||
### Examples
|
||||
|
||||
$ convox instances ssh i-029382969778a743a
|
||||
|
||||
__| __| __|
|
||||
_| ( \__ \ Amazon Linux 2 (ECS Optimized)
|
||||
____|\___|____/
|
||||
|
||||
For documentation, visit http://aws.amazon.com/documentation/ecs
|
||||
17 package(s) needed for security, out of 46 available
|
||||
Run "sudo yum update" to apply all updates.
|
||||
[ec2-user@ip-10-0-2-39 ~]$
|
||||
|
||||
## instances terminate
|
||||
|
||||
Terminate an instance
|
||||
|
||||
### Usage
|
||||
|
||||
convox instances terminate
|
||||
convox instances terminate <instance_id>
|
||||
|
||||
### Examples
|
||||
### Examples
|
||||
|
||||
$ convox instances terminate i-029382969778a743a
|
||||
Terminating instance... OK
|
||||
Loading…
Reference in New Issue
Block a user