# Settings needed for Picasso (Functions-as-a-Service) plugin # ----------------------------------------------------------- # Set up default directories # Picasso service configuration PICASSO_REPO=${PICASSO_REPO:-git@github.com:openstack/picasso.git} PICASSO_BRANCH=${PICASSO_BRANCH:-master} PICASSO_DIR=${PICASSO_DIR:-${DEST}/picasso} PICASSO_PORT=${PICASSO_PORT:-10001} PICASSO_LOG_LEVEL=${PICASSO_LOG_LEVEL:-DEBUG} # Picasso client configuration PICASSO_CLIENT_REPO=${PICASSO_CLIENT_REPO:-git@github.com:openstack/python-picassoclient.git} PICASSO_CLIENT_DIR=${PICASSO_CLIENT_DIR:-${DEST}/python-picassoclient} PICASSO_CLIENT_BRANCH=${PICASSO_CLIENT_BRANCH:-master} # IronFunctions configuration GOPATH=${GOPATH:-${DEST}/functions} FUNCTIONS_DIR=${FUNCTIONS_DIR:-${GOPATH}/src/github.com/iron-io/functions} FUNCTIONS_REPO=${FUNCTIONS_REPO:-git@github.com:iron-io/functions.git} FUNCTIONS_BRANCH=${FUNCTIONS_BRANCH:-master} FUNCTIONS_PORT=${FUNCTIONS_PORT:-10501} FUNCTIONS_DB=${FUNCTIONS_DBPATH:-bolt://$FUNCTIONS_DIR/devstack.functions.storage.db?bucket=funcs} FUNCTIONS_MQ=${FUNCTIONS_DBPATH:-bolt://$FUNCTIONS_DIR/devstack.functions.queue.db} FUNCTIONS_LOG_LEVEL=${FUNCTIONS_LOG_LEVEL:-DEBUG} DOCKERD_OPTS=${DOCKER_OPTS:---dns 8.8.8.8 --dns 8.8.4.4 --storage-driver=overlay2} enable_service picasso