ridectl
is Ridecell's internal tool that enables employees access and ways to interact with SummonPlatform/Microservice instances. Employee's permissions are restricted to certain environments or features, depending on their role.
Some key features are:
- Shelling into an instance (
shell
)
a. Summon-platformb. Microserviceridectl shell summontest-dev
ridectl shell svc-us-master-webhook-sms
- Shelling into an instance under the python environment (
pyshell
)
a. Summon-platformb. Microserviceridectl pyshell summontest-dev
ridectl pyshell svc-us-master-webhook-sms
- Shelling into the instance's database (
dbshell
)
a. Summon-platformb. Microserviceridectl dbshell summontest-dev
ridectl dbshell svc-us-master-webhook-sms
- Obtaining supported password/connection details (
password
)
a. Summon-platformridectl password summontest-dev
- Restart migrations for a summon instance(
restart-migrations
)
a. Summon-platformridectl restart-migrations summontest-dev
- Restart all pods of a certain type (web|celeryd|etc) (
restart
)
a. Summon-platformb. Microserviceridectl restart summontest-dev web
ridectl restart svc-us-master-webhook-sms web
For a full list of functionalities, run ridectl --help
curl -L "https://github.com/Ridecell/ridectl/releases/latest/download/ridectl_macos.zip" -o ./ridectl_macos.zip
unzip ridectl_macos.zip
chmod 0755 ridectl
sudo cp ridectl /usr/local/bin/ridectl
Note: When running ridectl
for first time, Mac OS will not allow the binary to execute. So, to solve this issue, navigate to System Prefrences
> Security & Privacy
and in General
section, allow ridectl
to open.
curl -L "https://github.com/Ridecell/ridectl/releases/latest/download/ridectl_linux.zip" -o ./ridectl_linux.zip
unzip ridectl_linux.zip
chmod 0755 ridectl
sudo cp ridectl /usr/local/bin/ridectl
List of environment variables used by ridectl
:
Environment variable | Value | Description |
---|---|---|
RIDECTL_SKIP_UPGRADE |
true|false |
If set true , skips auto-upgrade of ridectl version; used in Github actions workflows |
RIDECTL_SKIP_AWS_SSO |
true|false |
If set true , ridectl uses default AWS configuration instead of AWS SSO; used in Github actions workflows |
EDITOR |
vim , code , etc |
Sets editor's binary path for ridectl edit command |
RIDECTL_TSH_CHECK |
true|false |
If set false , ridectl does not check for tsh login profile; used in Github actions workflows |