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.30.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83e110e0de292f16275fd10fa26fb26c3f049087e07942d2f6f10539d61ae80e |
|
MD5 | a8794d876d811c303c996ce2243836e6 |
|
BLAKE2b-256 | f7c046248904c993a7f302f5233dd8b7278e13028dbf115ac08714c12d3b601c |
Close
Hashes for shopcloud_microservice-0.30.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c0a53f31855052492b159dafa7e69332531de3bffb4071269d3777fd21b3120 |
|
MD5 | 4b4fca9837c2f2af3c570ebf6a9967f3 |
|
BLAKE2b-256 | a0ac683450927e2f3c6443a3402d636463b22c46223f63529970c4a1fe9e6d11 |