Deploy a Data Loading Process from a Ruby Script
To deploy a process from a Ruby script, you can use one of the following options:
- A GoodData-provided Ruby script To get the path to the script, contact GoodData Support.
- Your own Ruby script That script must be placed in the GoodData repositories. To have your script uploaded to the repositories, do the following:
Prepare a Ruby script together with
info.json. If you need help with creating these files, contact GoodData Support.
Contact GoodData Support with a request to commit your files to the GoodData repositories. GoodData Support will have your files verified and will send you the path to them in the GoodData repositories.The verification service may be subject to a charge. With questions, contact GoodData Support.
You can also deploy Ruby scripts via API for deploying a Ruby process with bundled dependencies.
From the Data Integration Console (see Accessing Data Integration Console), click Workspaces.
Click the name of the workspace where you want to deploy a Ruby script.
Click Deploy Process. The deployment dialog opens.
From the Component dropdown, select Generic Ruby.If you cannot see the Generic Ruby option, contact GoodData Support.
Make sure that the git option button is selected.
Enter the path to the script that you obtained from GoodData Support.
Enter the name of the process. The alias will be automatically generated from the name. You can update it, if needed.
Click Deploy. The process is deployed.Some deployment paths may not be allowed to be deployed to your GoodData domains. If you need to deploy a new component/version or the deployment path does not work for you, contact GoodData Support.
You can now schedule the deployed data loading process (see Schedule a Data Loading Process).