Deploy to Rackspace
How to deploy to Rackspace?
Deploying to Rackspace with Buddy involves setting up a pipeline that allows you to automatically update your Rackspace Cloud Files on every push to branch. You can also run your pipeline manually or schedule recurrent deployments.
Image loading...Example pipeline with deployment to Rackspace
đź“š Learn more about Rackspace action features, integrations and alternatives.
Configure pipeline in Buddy
- Create a new project in Buddy and select your Git provider.
Image loading...Creating new project
- Add a new pipeline and configure the details: name, trigger mode, and a branch from which you want to deploy.
Image loading...Adding new pipeline
Configure Rackspace Container
- Make sure to define the container in your Rackspace account under Storage → Files:
Image loading...Creating container in Rackspace
- Click Create Containers and specify container details:
- name
- region (here's a list of available Rackspace regions to choose from)
- type - whether the created container should be private, public, or a static website (in our case, the container should be Private as files copy will be kept in it)
Image loading...Container details in Rackspace
Configure Rackspace deployment
- Look up and click Rackspace on the action list to add it to the pipeline:
Image loading...Adding Rackspace action
- The action has five configuration tabs:
- Transfer – here you define the source path, deployment flags, and files to ignore
- Target – here you select the Rackspace integration, region, container, and path
- Variables – here you can add and modify environment variables required by your workflow
- Conditions – here you configure the trigger conditions for which the action will run
- Options – here you define the action's name and behavior on failure and timeout
- In the Path field, specify whether to deploy the entire filesystem content or a specific folder e.g.
/build
directory:
Image loading...Transfer tab in Rackspace action configuration window
- In the Target tab:
- select an existing or add a new Rackspace integration
- choose a region in which the container was created.
Image loading...Target tab in Rackspace action configuration window
If both fields are selected correctly, you should be able to see the created container on the containers list.
Finally, select the target path where the files will be deployed and test the connection to see if the action works correctly.
- When ready, click Add this action to finish configuration.
Sep 24, 2024