Script to deploy Senza definitions using a Lizzy server.
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.
Use the list subcommand to list stacks:
$ lizzy list
For see more options use lizzy list --help.
Use the traffic subcommand to change the stacks traffic:
$ lizzy traffic my_app 1.0 95
For see more options use lizzy traffic --help.
Use the delete subcommand to delete stacks:
$ lizzy delete my_app 1.0
For see more options use lizzy delete --help.
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
Lizzy client works with Berry out of the box. To run it locally for testing purposes see python-token's documentation.
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.