CLI tool for manage microservices
Project description
Microservice CLI
Tool for manage the talk-point microservices.
Install
$ pip install shopcloud-microservice
App
$ microservice app health
Security
$ microservice security merge-security-pull-requests
$ microservice security ci-secrets-rolling
Backup
Backup commands (test)
$ python -m shopcloud_microservice -d -s backup sql-init shopcloud-secrethub:europe-west3:secrethub # initialise backup storage for a instance
$ python -m shopcloud_microservice -d -s backup sql-list-instances # list all known instances from projects.yaml
$ python -m shopcloud_microservice -d -s backup sql-list-databases shopcloud-secrethub:europe-west3:secrethub # list databases on server
$ python -m shopcloud_microservice -d -s backup sql-dump # dumo all databaeses ob all known server from projects.yaml
$ python -m shopcloud_microservice -d -s backup sql-dumo shopcloud-secrethub:europe-west3:secrethub # dump all databases from instance
$ python -m shopcloud_microservice -d -s backup sql-dump shopcloud-secrethub:europe-west3:secrethub:shopcloud-secrethub-api # download a database from instance
$ python -m shopcloud_microservice -d -s backup sql-dump shopcloud-secrethub:europe-west3:secrethub:shopcloud-secrethub-api # download a database from instance
$ python -m shopcloud_microservice -d -s backup sql-download # download all dumpfiles to db-dumps
$ python -m shopcloud_microservice -d -s backup sql-push-to-drive /tmp # sync content from download-folder to specific path
Develop
Entwickle deine Änderungen im develop branch oder feature branch.
Beim mergen des Pull-Requests in den master wird automatisch ein deploy mittels wheel
und twine
durchgeführt.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for shopcloud-microservice-0.31.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b4d4ea49a90c5bc05101056a8ba1f0a68b538ea8663cf7cb880443b140e8232 |
|
MD5 | 7c1bb32d2f7522793cb88e4556336dad |
|
BLAKE2b-256 | f694393da675b18c963e340e4b77e2808aecba62b62b33375740b9af45aa47e8 |
Close
Hashes for shopcloud_microservice-0.31.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdc37486a4b48e1247b02f22a8a6a9167207cd53ec8e392fbd2ce2c2efeb4fbd |
|
MD5 | 3855e5712cf9170863b41ca920236a50 |
|
BLAKE2b-256 | dec66db47d1cf3aac9a3833cdaa17ea01ad4941e79512555a407fb04f711d9be |