A simple project to download a zip file from the internet, and perform a number of filesystem operations on it.
To install a blueprint, follow these steps:
- Download the selected blueprints to your desktop.
- Log in to RapidDeploy and go to ‘Menu’ -> ‘Resources’ -> ‘Projects’
- Click the ‘Upload Project’ button in the top right of the project list panel.
- Select the file you downloaded and then follow the on-screen instructions!
The link below will download the Docker Deploy blueprint to your desktop
Here is a summary of what this project will achieve.
This project is designed to download a zip file from the MidVision support site to a Linux /tmp directory and perform a number of operations on it, demonstrating some of the RapidDeploy filesystem plugin tasks.
One target environment is configured in the project to perform the job on the localhost (RapidDeploy server).
This project is configured for use on Linux/Mac only.
What is preconfigured and demonstrated.
- Target server for Linux using localhost
- Use of the Remote agent plugin
- Windows batch file or shell script depending on target
How to use this project.
- Download the project to your desktop by clicking on one of the links. The file will be saved as FileSystem-Demo-41.zip
- Log into your RapidDeploy instance as mvadmin.
- Navigate to Resources-> Projects.
- In the top right hand corner click on the Upload Project button.
- Select the zip file you downloaded in step 1.
- You are guided through a project import wizard. The important thing to check and change (if necessary) here is the path to the project storage directory. Ideally this should be under the projects directory in your RapidDeploy installation. E.g.
- More information on this projects orchestration tasks can be found on the Explore the Filesystem Demo Project page.
- Once the project is imported, you’ll need to create a package to deploy.
- Firstly, navigate to Resources-> Projects and edit the project (pencil icon on the tool menu).
- Navigate to the Packages tab and click the Create Package button. A new package is created with a version number. This is the package you’ll deploy later, containing all the environment definitions, actions and paylod (scripts) to allow the jobs to be run on all defined servers.
- Over time, as you update the configuration or payload (script), you’ll create more packages, which are a versioned snapshot of the configuration and payload at the time they are created.
- Now you can run a new job to the environment of your choice.
- Navigate to Jobs-> New Job.
- Double click on the ‘Empty’ project job box, and select the project you created earlier from the droplist.
- Select the Target you want to deploy from the droplist.
- Select the Version (package version) you want to deploy from the droplist.
- Since there is only one package, it is preselected. The latest package will always be preselected by default.
- Click on the Run button in the bottom right corner, enter a comment for this run and click and click Yes .
- The deployment is started. Click on the Running Jobs icon in the top right corner and you see the tasks executed and job log in real time.
- Explore the Filesystem Demo Project
- CopyTask from the Folder management plugin
- MoveTask from the Folder management plugin
- ZipTask from the Folder management plugin
- DeleteTask from the Folder management plugin
- ChmodTask from the Folder management plugin
- CheckFIleTask from the Folder management plugin
- DiskSpaceCheckTask from the Folder management plugin
- DirectoryWriteCheckTask from the Folder management plugin
- MkDIrTask from the Folder management plugin
- SearchReplaceTask from core orchestration
- XPathReplaceTask from core orchestration
- WgetTask from core orchestration
- Use of Built In Variables
- YouTube video demonstrating this project.