-
Notifications
You must be signed in to change notification settings - Fork 70
Importing templates library
Sergei Pogrebnyak edited this page May 1, 2018
·
11 revisions
The latest template library is automatically imported when you use SoftwareAG/sagdevops-cc-server project to set up your Command Central server:
git clone --recursive https://github.com/SoftwareAG/sagdevops-cc-server.git
cd sagdevops-cc-server
ant boot -Daccept.license=true
ant up
When the above process completes
- The sagdevops-cc-server/library/templates folder contains all default templates source code
- The default templates are imported into your Command Central server and are ready to be used
- Navigate to the project releases page
- Download a release source code as .zip, for example, [https://github.com/SoftwareAG/sagdevops-templates/archive/20180401.zip]
- Unzip the downloaded file
- Navigate to templates/ subfolder
- Import the template by running
sagcc exec templates composite import -i template.yaml overwrite=true
- Check the list of imported templates
sagcc list templates composite
- Browse to the template.yaml file you want to import and click on the Raw button. For example sag-um-server/template.yaml
- Download the file using its URL displayed in the browser address bar, e.g. `bash curl -O https://raw.githubusercontent.com/SoftwareAG/sagdevops-templates/release/102apr2018/templates/sag-um-server/template.yaml
* Import the template by running
```bash
sagcc exec templates composite import -i template.yaml overwrite=true
- Check the list of imported templates
sagcc list templates composite
Next: Using default templates