Files
deployment-portal-be/gocd-templates/sample-manifest/pipeline_manifest.json
Abhishek Katiyar 1a3f0765d3 INFRA-712 | Abhishek | Add changes to generate yaml for pipelines (#166)
* INFRA-712 | Abhishek | Add templates for stages in gocd-template

* INFRA-712 | Abhishek | Add service class and test cases to generate pipeline yaml from pipeline manifest

* INFRA-712 | Abhishek | Fix directory struture and naming

* INFRA-712 | Abhishek | Add changes to send error message to frontend

* INFRA-712 | Abhishek | Add changes to update ids in pipeline manifest

* INFRA-712 | Abhishek | Add ids according to pipeline

* INFRA-712 | Abhishek | Fix template for stages

* INFRA-712 | Abhishek | Rename pipeline service name

* INFRA-712 | Abhishek | Remove approval type from pipeline

* INFRA-712 | Abhishek | Update jsonnet code for gocd yaml to remove ids for ordering the pipelines

* INFRA-712 | Abhishek | Refactor code

* INFRA-712 | Abhishek | Format code and add approval type for stages

* INFRA-712 | Abhishek | Add apis to get the list of pipeline manifests saved

Add apis to get pipeline manifest by name
2021-04-19 06:49:27 +05:30

66 lines
1.1 KiB
JSON

{
"name": "spring-boot-demo",
"pipelines": [
{
"type": "test",
"env": "test",
"stages": [
{
"type": "test"
}
]
},
{
"type": "build",
"env": "build",
"stages": [
{
"type": "build"
}
]
},
{
"type": "migrate-deploy",
"env": "dev",
"stages": [
{
"type": "migrate",
"approvalType":"auto"
},
{
"type": "deploy",
"approvalType":"auto"
}
]
},
{
"type": "migrate-deploy",
"env": "qa",
"stages": [
{
"type": "migrate",
"approvalType":"auto"
},
{
"type": "deploy",
"approvalType":"auto"
}
]
},
{
"type": "migrate-deploy",
"env": "prod",
"stages": [
{
"type": "migrate",
"approvalType":"manual"
},
{
"type": "deploy",
"approvalType":"manual"
}
]
}
],
"infraVertical": "medici"
}