Skip to content
This repository has been archived by the owner on May 24, 2018. It is now read-only.

ollivir/lizzy-client

 
 

Repository files navigation

Travis CI build status

Coveralls status

Lizzy Client

Script to deploy Senza definitions using a Lizzy server.

Create a new stack

Use the create subcommand to create stacks. The syntax is `lizzy create [OPTIONS] DEFINITION IMAGE_VERSION`:

$ lizzy create  senza.yaml 1.0

For see more options use lizzy create --help.

List stacks

Use the list subcommand to list stacks:

$ lizzy list

For see more options use lizzy list --help.

Change stack traffic

Use the traffic subcommand to change the stacks traffic:

$ lizzy traffic my_app 1.0 95

For see more options use lizzy traffic --help.

Deleting stacks

Use the delete subcommand to delete stacks:

$ lizzy delete my_app 1.0

For see more options use lizzy delete --help.

Configuration

Lizzy Client can be configured with environmental variables:

  • LIZZY_URL — location of Lizzy (https://lizzy.example.com/)
  • LIZZY_SCOPES — should be uid
  • OAUTH2_ACCESS_TOKEN_URL — Oauth2 Access Token Url
  • CREDENTIALS_DIR — berry credentials folder, using the Zalando Stups' infrastructure, and by default /meta/credentials

Authentication

Lizzy client works with Berry out of the box. To run it locally for testing purposes see python-token's documentation.

License

Copyright 2015 Zalando SE

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Script to deploy Senza definitions using a Lizzy server.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%