Rackspace Cloud Files Deployment
This page documents deployments using dpl v1 which is currently the legacy version. The dpl v2 is released, and we recommend useig it. Please see our blog post for details. dpl v2 documentation can be found here.
Travis CI can automatically upload your build to Rackspace Cloud Files after a successful build.
For a minimal configuration, all you need to do is add the following to your .travis.yml:
deploy:
provider: cloudfiles
username: "RACKSPACE USERNAME"
api_key: "RACKSPACE API KEY"
region: "CLOUDFILE REGION"
container: "CLOUDFILES CONTAINER NAME"
This example is almost certainly not ideal, as you probably want to upload your built binaries and documentation. Set skip_cleanup to true to prevent Travis CI from deleting your build artifacts.
deploy:
provider: cloudfiles
username: "RACKSPACE