4624804f80
- Create a site definition to support a full site deployment workflow using VMs Multi-Nodes Gate Enable multi-node gate for Airship using core Airship components. Deployment will be driven by Shipyard. We will re-use and adapt the source codes from the Promenade g2 Gate [1]. [1] https://github.com/openstack/airship-promenade/tree/master/tools/g2 Change-Id: I41e79f5f26311fa179a2e5c121aa815caa05cfcd
82 lines
1.6 KiB
JSON
82 lines
1.6 KiB
JSON
{
|
|
"configuration": {
|
|
"site": "gate-multinode",
|
|
"primary_repo": "deployment_files",
|
|
"aux_repos": []
|
|
},
|
|
"stages": [
|
|
{
|
|
"name": "Gate Setup",
|
|
"script": "gate-setup.sh"
|
|
},
|
|
{
|
|
"name": "Pegleg Collection",
|
|
"script": "pegleg-collect.sh"
|
|
},
|
|
{
|
|
"name": "Populate Image Cache",
|
|
"script": "registry-load.sh"
|
|
},
|
|
{
|
|
"name": "Generate Certificates",
|
|
"script": "generate-certificates.sh"
|
|
},
|
|
{
|
|
"name": "Build Scripts",
|
|
"script": "build-scripts.sh"
|
|
},
|
|
{
|
|
"name": "Create VMs",
|
|
"script": "create-vms.sh"
|
|
},
|
|
{
|
|
"name": "Genesis",
|
|
"script": "genesis.sh",
|
|
"on_error": "collect_genesis_info.sh"
|
|
},
|
|
{
|
|
"name": "Load Site Design",
|
|
"script": "shipyard-load-design.sh"
|
|
},
|
|
{
|
|
"name": "Deploy Site",
|
|
"script": "shipyard-deploy-site.sh"
|
|
},
|
|
{
|
|
"name": "Update Site",
|
|
"script": "shipyard-update-site.sh"
|
|
}
|
|
|
|
],
|
|
"vm": {
|
|
"n0" : {
|
|
"memory": 16384,
|
|
"vcpus": 8,
|
|
"mac": "52:54:00:00:a4:31",
|
|
"ip": "172.24.1.10",
|
|
"bootstrap": true
|
|
},
|
|
"n1" : {
|
|
"memory": 3072,
|
|
"vcpus": 2,
|
|
"mac": "52:54:00:00:a3:31",
|
|
"ip": "172.24.1.11",
|
|
"bootstrap": false
|
|
},
|
|
"n2" : {
|
|
"memory": 3072,
|
|
"vcpus": 2,
|
|
"mac": "52:54:00:1a:95:0d",
|
|
"ip": "172.24.1.12",
|
|
"bootstrap": false
|
|
},
|
|
"n3" : {
|
|
"memory": 3072,
|
|
"vcpus": 2,
|
|
"mac": "52:54:00:31:c2:36",
|
|
"ip": "172.24.1.13",
|
|
"bootstrap": false
|
|
}
|
|
}
|
|
}
|