Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Deployment tools for Cinderella runtime
Clojure
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
resources
src/cinderella/groups
test/cinderella/groups
.gitignore
README.md
project.clj

README.md

Cinderella deployment

Cinderella deployment. Deploys a single node running cinderella and vblob.

Running

Install leiningen 2.

In the project root, configure pallet with your username and password:

lein pallet add-service bluelock vcloud-ORG USER@ORG PASSWORD vcloud.endpoint https://zone01.bluelock.com/api vcloud.template osFamily=UBUNTU jclouds.vcloud.defaults.network 'internet01-.*'

To create the cinderalla node:

lein pallet converge cinderella.groups.cinderella/cinderella 1

To list the node:

lein pallet nodes

To remove the node:

lein pallet converge cinderella.groups.cinderella/cinderella 0

Testing

To run the live tests add the following in your ~/.lein/profiles.clj file:

{:live-test {:jvm-opts ["-Dpallet.test.live=true
                        "-Dpallet.test.service-name=bluelock"]
             :dependencies [[org.jclouds/jclouds-compute
                             "1.5.0-beta.11"]
                            [org.jclouds/jclouds-blobstore
                             "1.5.0-beta.11"]
                            [org.jclouds/jclouds-all
                             "1.5.0-beta.11"]
                            [org.cloudhoist/pallet-jclouds
                             "1.5.0-SNAPSHOT"]]}}

adjusting the service-name to correspond to the pallet service you have confiured, and the dependencies to pull in the correct jclouds providers.

Then you can run

lein pallet with-profiles live-test,default test

License

Licensed under the Apache License, Version 2.0.

Something went wrong with that request. Please try again.