Skip to main content

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) (es wird ein Export pro Instanz ausgeführt)

$ 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shopcloud-microservice-0.34.0.tar.gz (11.2 kB view hashes)

Uploaded Source

Built Distribution

shopcloud_microservice-0.34.0-py3-none-any.whl (13.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page