github.com/dcarley/cf-cli@v6.24.1-0.20170220111324-4225ff346898+incompatible/ci/infrastructure/pipeline.yml (about) 1 --- 2 resources: 3 - name: bosh-lite 4 type: git 5 source: 6 uri: https://github.com/cloudfoundry/bosh-lite.git 7 branch: master 8 9 - name: bosh-lite-stemcell 10 type: bosh-io-stemcell 11 source: 12 name: bosh-warden-boshlite-ubuntu-trusty-go_agent 13 14 - name: bosh-lite-acceptance-deploy-cf 15 type: bosh-deployment 16 source: 17 target: {{lite-acceptance-public-ip}} 18 username: admin 19 password: admin 20 deployment: cf-warden 21 22 - name: bosh-lite-1-deploy-cf 23 type: bosh-deployment 24 source: 25 target: {{lite-1-public-ip-address}} 26 username: admin 27 password: admin 28 deployment: cf-warden 29 30 - name: bosh-lite-2-deploy-cf 31 type: bosh-deployment 32 source: 33 target: {{lite-2-public-ip-address}} 34 username: admin 35 password: admin 36 deployment: cf-warden 37 38 - name: bosh-lite-3-deploy-cf 39 type: bosh-deployment 40 source: 41 target: {{lite-3-public-ip-address}} 42 username: admin 43 password: admin 44 deployment: cf-warden 45 46 - name: bosh-lite-4-deploy-cf 47 type: bosh-deployment 48 source: 49 target: {{lite-4-public-ip-address}} 50 username: admin 51 password: admin 52 deployment: cf-warden 53 54 - name: bosh-lite-5-deploy-cf 55 type: bosh-deployment 56 source: 57 target: {{lite-5-public-ip-address}} 58 username: admin 59 password: admin 60 deployment: cf-warden 61 62 - name: bosh-lites-acceptance-pool 63 type: pool 64 source: 65 uri: git@github.com:cloudfoundry/cli-pools 66 private_key: {{cli-pools-github-private-key}} 67 branch: master 68 pool: bosh-lites-acceptance 69 70 - name: bosh-lites-dea-pool 71 type: pool 72 source: 73 uri: git@github.com:cloudfoundry/cli-pools 74 private_key: {{cli-pools-github-private-key}} 75 branch: master 76 pool: bosh-lites-dea 77 78 - name: bosh-lites-diego-pool 79 type: pool 80 source: 81 uri: git@github.com:cloudfoundry/cli-pools 82 private_key: {{cli-pools-github-private-key}} 83 branch: master 84 pool: bosh-lites-diego 85 86 - name: cf-release 87 type: bosh-io-release 88 source: 89 repository: cloudfoundry/cf-release 90 91 - name: cf-release-repo 92 type: git 93 source: 94 uri: https://github.com/cloudfoundry/cf-release.git 95 branch: master 96 97 - name: cf-routing-release 98 type: bosh-io-release 99 source: 100 repository: cloudfoundry-incubator/cf-routing-release 101 102 - name: cf-routing-release-repo 103 type: git 104 source: 105 uri: https://github.com/cloudfoundry-incubator/cf-routing-release.git 106 branch: master 107 108 - name: cflinuxfs2-rootfs-release 109 type: bosh-io-release 110 source: 111 repository: cloudfoundry/cflinuxfs2-rootfs-release 112 113 - name: cli 114 type: git 115 source: 116 uri: https://github.com/cloudfoundry/cli 117 branch: master 118 paths: 119 - ci 120 121 - name: diego-release 122 type: bosh-io-release 123 source: 124 repository: cloudfoundry/diego-release 125 126 - name: diego-repo 127 type: git 128 source: 129 uri: https://github.com/cloudfoundry/diego-release.git 130 branch: master 131 132 - name: garden-runc-release 133 type: bosh-io-release 134 source: 135 repository: cloudfoundry/garden-runc-release 136 137 - name: netman-release 138 type: bosh-io-release 139 source: 140 repository: cloudfoundry-incubator/netman-release 141 142 groups: 143 - name: bosh-lites 144 jobs: 145 - provision-bosh-lite-1 146 - deploy-cf-release-1 147 - smoke-test-1 148 - deploy-diego-release-1 149 - deploy-routing-release-1 150 - provision-bosh-lite-2 151 - deploy-cf-release-2 152 - smoke-test-2 153 - deploy-diego-release-2 154 - deploy-routing-release-2 155 - provision-bosh-lite-3 156 - deploy-cf-release-3 157 - smoke-test-3 158 - deploy-diego-release-3 159 - deploy-routing-release-3 160 - provision-bosh-lite-4 161 - deploy-cf-release-4 162 - smoke-test-4 163 - deploy-diego-release-4 164 - deploy-routing-release-4 165 - provision-bosh-lite-5 166 - deploy-cf-release-5 167 - smoke-test-5 168 - deploy-diego-release-5 169 - deploy-routing-release-5 170 - name: dies-lite 171 jobs: 172 - provision-bosh-lite 173 - deploy-cf-release 174 - smoke-test 175 - deploy-diego-release 176 - deploy-routing-release 177 178 jobs: 179 - name: provision-bosh-lite-1 180 serial: true 181 plan: 182 - aggregate: 183 - get: bosh-lite 184 - get: cli 185 - put: bosh-lites-dea-pool 186 params: 187 claim: {{lite-1-hostname}} 188 - do: 189 - task: destroy 190 file: cli/ci/infrastructure/tasks/destroy-cf-lite.yml 191 params: 192 AWS_ACCESS_KEY_ID: {{lite-access-key-id}} 193 AWS_SECRET_ACCESS_KEY: {{lite-secret-access-key}} 194 AWS_REGION: {{lite-aws-region}} 195 LITE_INSTANCE_NAME: bosh-lite-1 196 - task: provision 197 file: cli/ci/infrastructure/tasks/provision-cf-lite.yml 198 privileged: true 199 params: 200 BOSH_LITE_NAME: bosh-lite-1 201 BOSH_AWS_ACCESS_KEY_ID: {{lite-access-key-id}} 202 BOSH_AWS_SECRET_ACCESS_KEY: {{lite-secret-access-key}} 203 BOSH_LITE_ELASTIC_IP: {{lite-1-public-ip-address}} 204 BOSH_LITE_KEYPAIR: {{lite-keypair}} 205 BOSH_LITE_SECURITY_GROUP: {{lite-aws-security-group}} 206 BOSH_LITE_SUBNET_ID: {{bosh-lite-subnet}} 207 LITE_PRIVATE_KEY: {{bosh-lite-private-key}} 208 209 - name: deploy-cf-release-1 210 serial: true 211 plan: 212 - aggregate: 213 - get: bosh-lites-dea-pool 214 passed: [provision-bosh-lite-1] 215 trigger: true 216 - get: cli 217 - get: cf-release-repo 218 - get: cf-release 219 - get: bosh-lite-stemcell 220 - do: 221 - task: create-cf-manifest 222 file: cli/ci/infrastructure/tasks/create-bosh-lite-cf-manifest.yml 223 params: 224 LITE_IP_ADDRESS: {{lite-1-public-ip-address}} 225 LITE_HOSTNAME: {{lite-1-hostname}} 226 LITE_EXTRA_STUB: 'properties: { dea_next : { memory_mb : 20480 } }' 227 - put: bosh-lite-1-deploy-cf 228 params: 229 manifest: bosh-lite-cf-manifest/cf.yml 230 stemcells: 231 - bosh-lite-stemcell/stemcell.tgz 232 releases: 233 - cf-release/release.tgz 234 235 - name: smoke-test-1 236 serial: true 237 plan: 238 - aggregate: 239 - get: bosh-lites-dea-pool 240 passed: [deploy-cf-release-1] 241 trigger: true 242 - get: cli 243 - task: run-smoke-tests 244 file: cli/ci/infrastructure/tasks/run-smoke-tests.yml 245 params: 246 LITE_IP_ADDRESS: {{lite-1-public-ip-address}} 247 248 - name: deploy-diego-release-1 249 serial: true 250 plan: 251 - aggregate: 252 - get: bosh-lite-lock 253 resource: bosh-lites-dea-pool 254 passed: [smoke-test-1] 255 trigger: true 256 - get: garden-runc-release 257 - get: diego-release 258 - get: diego-repo 259 - get: cflinuxfs2-rootfs-release 260 - get: netman-release 261 - get: cli 262 - task: deploy-diego 263 file: cli/ci/infrastructure/tasks/deploy-diego.yml 264 params: 265 LITE_IP_ADDRESS: {{lite-1-public-ip-address}} 266 267 - name: deploy-routing-release-1 268 serial: true 269 plan: 270 - aggregate: 271 - get: bosh-lite-lock 272 resource: bosh-lites-dea-pool 273 passed: [deploy-diego-release-1] 274 trigger: true 275 - get: cf-routing-release 276 - get: cf-routing-release-repo 277 - get: cf-release-repo 278 - get: cli 279 - task: deploy-routing 280 file: cli/ci/infrastructure/tasks/deploy-routing.yml 281 params: 282 LITE_IP_ADDRESS: {{lite-1-public-ip-address}} 283 LITE_HOSTNAME: {{lite-1-hostname}} 284 - task: test-routing 285 file: cli/ci/infrastructure/tasks/test-routing.yml 286 params: 287 LITE_IP_ADDRESS: {{lite-1-public-ip-address}} 288 - put: bosh-lites-dea-pool 289 params: 290 release: bosh-lite-lock 291 292 - name: provision-bosh-lite-2 293 serial: true 294 plan: 295 - aggregate: 296 - get: bosh-lite 297 - get: cli 298 - put: bosh-lites-dea-pool 299 params: 300 claim: {{lite-2-hostname}} 301 - do: 302 - task: destroy 303 file: cli/ci/infrastructure/tasks/destroy-cf-lite.yml 304 params: 305 AWS_ACCESS_KEY_ID: {{lite-access-key-id}} 306 AWS_SECRET_ACCESS_KEY: {{lite-secret-access-key}} 307 AWS_REGION: {{lite-aws-region}} 308 LITE_INSTANCE_NAME: bosh-lite-2 309 - task: provision 310 file: cli/ci/infrastructure/tasks/provision-cf-lite.yml 311 privileged: true 312 params: 313 BOSH_LITE_NAME: bosh-lite-2 314 BOSH_AWS_ACCESS_KEY_ID: {{lite-access-key-id}} 315 BOSH_AWS_SECRET_ACCESS_KEY: {{lite-secret-access-key}} 316 BOSH_LITE_ELASTIC_IP: {{lite-2-public-ip-address}} 317 BOSH_LITE_KEYPAIR: {{lite-keypair}} 318 BOSH_LITE_SECURITY_GROUP: {{lite-aws-security-group}} 319 BOSH_LITE_SUBNET_ID: {{bosh-lite-subnet}} 320 LITE_PRIVATE_KEY: {{bosh-lite-private-key}} 321 322 - name: deploy-cf-release-2 323 serial: true 324 plan: 325 - aggregate: 326 - get: bosh-lites-dea-pool 327 passed: [provision-bosh-lite-2] 328 trigger: true 329 - get: cli 330 - get: cf-release-repo 331 - get: cf-release 332 - get: bosh-lite-stemcell 333 - do: 334 - task: create-cf-manifest 335 file: cli/ci/infrastructure/tasks/create-bosh-lite-cf-manifest.yml 336 params: 337 LITE_IP_ADDRESS: {{lite-2-public-ip-address}} 338 LITE_HOSTNAME: {{lite-2-hostname}} 339 LITE_EXTRA_STUB: 'properties: { dea_next : { memory_mb : 20480 } }' 340 - put: bosh-lite-2-deploy-cf 341 params: 342 manifest: bosh-lite-cf-manifest/cf.yml 343 stemcells: 344 - bosh-lite-stemcell/stemcell.tgz 345 releases: 346 - cf-release/release.tgz 347 348 - name: smoke-test-2 349 serial: true 350 plan: 351 - aggregate: 352 - get: bosh-lites-dea-pool 353 passed: [deploy-cf-release-2] 354 trigger: true 355 - get: cli 356 - task: run-smoke-tests 357 file: cli/ci/infrastructure/tasks/run-smoke-tests.yml 358 params: 359 LITE_IP_ADDRESS: {{lite-2-public-ip-address}} 360 361 - name: deploy-diego-release-2 362 serial: true 363 plan: 364 - aggregate: 365 - get: bosh-lite-lock 366 resource: bosh-lites-dea-pool 367 passed: [smoke-test-2] 368 trigger: true 369 - get: garden-runc-release 370 - get: diego-release 371 - get: diego-repo 372 - get: cflinuxfs2-rootfs-release 373 - get: netman-release 374 - get: cli 375 - task: deploy-diego 376 file: cli/ci/infrastructure/tasks/deploy-diego.yml 377 params: 378 LITE_IP_ADDRESS: {{lite-2-public-ip-address}} 379 380 - name: deploy-routing-release-2 381 serial: true 382 plan: 383 - aggregate: 384 - get: bosh-lite-lock 385 resource: bosh-lites-dea-pool 386 passed: [deploy-diego-release-2] 387 trigger: true 388 - get: cf-routing-release 389 - get: cf-routing-release-repo 390 - get: cf-release-repo 391 - get: cli 392 - task: deploy-routing 393 file: cli/ci/infrastructure/tasks/deploy-routing.yml 394 params: 395 LITE_IP_ADDRESS: {{lite-2-public-ip-address}} 396 LITE_HOSTNAME: {{lite-2-hostname}} 397 - task: test-routing 398 file: cli/ci/infrastructure/tasks/test-routing.yml 399 params: 400 LITE_IP_ADDRESS: {{lite-2-public-ip-address}} 401 - put: bosh-lites-dea-pool 402 params: 403 release: bosh-lite-lock 404 405 - name: provision-bosh-lite-3 406 serial: true 407 plan: 408 - aggregate: 409 - get: bosh-lite 410 - get: cli 411 - put: bosh-lites-dea-pool 412 params: 413 claim: {{lite-3-hostname}} 414 - do: 415 - task: destroy 416 file: cli/ci/infrastructure/tasks/destroy-cf-lite.yml 417 params: 418 AWS_ACCESS_KEY_ID: {{lite-access-key-id}} 419 AWS_SECRET_ACCESS_KEY: {{lite-secret-access-key}} 420 AWS_REGION: {{lite-aws-region}} 421 LITE_INSTANCE_NAME: bosh-lite-3 422 - task: provision 423 file: cli/ci/infrastructure/tasks/provision-cf-lite.yml 424 privileged: true 425 params: 426 BOSH_LITE_NAME: bosh-lite-3 427 BOSH_AWS_ACCESS_KEY_ID: {{lite-access-key-id}} 428 BOSH_AWS_SECRET_ACCESS_KEY: {{lite-secret-access-key}} 429 BOSH_LITE_ELASTIC_IP: {{lite-3-public-ip-address}} 430 BOSH_LITE_KEYPAIR: {{lite-keypair}} 431 BOSH_LITE_SECURITY_GROUP: {{lite-aws-security-group}} 432 BOSH_LITE_SUBNET_ID: {{bosh-lite-subnet}} 433 LITE_PRIVATE_KEY: {{bosh-lite-private-key}} 434 435 - name: deploy-cf-release-3 436 serial: true 437 plan: 438 - aggregate: 439 - get: bosh-lites-dea-pool 440 passed: [provision-bosh-lite-3] 441 trigger: true 442 - get: cli 443 - get: cf-release-repo 444 - get: cf-release 445 - get: bosh-lite-stemcell 446 - do: 447 - task: create-cf-manifest 448 file: cli/ci/infrastructure/tasks/create-bosh-lite-cf-manifest.yml 449 params: 450 LITE_IP_ADDRESS: {{lite-3-public-ip-address}} 451 LITE_HOSTNAME: {{lite-3-hostname}} 452 LITE_EXTRA_STUB: 'properties: { dea_next : { memory_mb : 20480 } }' 453 - put: bosh-lite-3-deploy-cf 454 params: 455 manifest: bosh-lite-cf-manifest/cf.yml 456 stemcells: 457 - bosh-lite-stemcell/stemcell.tgz 458 releases: 459 - cf-release/release.tgz 460 461 - name: smoke-test-3 462 serial: true 463 plan: 464 - aggregate: 465 - get: bosh-lites-dea-pool 466 passed: [deploy-cf-release-3] 467 trigger: true 468 - get: cli 469 - task: run-smoke-tests 470 file: cli/ci/infrastructure/tasks/run-smoke-tests.yml 471 params: 472 LITE_IP_ADDRESS: {{lite-3-public-ip-address}} 473 474 - name: deploy-diego-release-3 475 serial: true 476 plan: 477 - aggregate: 478 - get: bosh-lite-lock 479 resource: bosh-lites-dea-pool 480 passed: [smoke-test-3] 481 trigger: true 482 - get: garden-runc-release 483 - get: diego-release 484 - get: diego-repo 485 - get: cflinuxfs2-rootfs-release 486 - get: netman-release 487 - get: cli 488 - task: deploy-diego 489 file: cli/ci/infrastructure/tasks/deploy-diego.yml 490 params: 491 LITE_IP_ADDRESS: {{lite-3-public-ip-address}} 492 493 - name: deploy-routing-release-3 494 serial: true 495 plan: 496 - aggregate: 497 - get: bosh-lite-lock 498 resource: bosh-lites-dea-pool 499 passed: [deploy-diego-release-3] 500 trigger: true 501 - get: cf-routing-release 502 - get: cf-routing-release-repo 503 - get: cf-release-repo 504 - get: cli 505 - task: deploy-routing 506 file: cli/ci/infrastructure/tasks/deploy-routing.yml 507 params: 508 LITE_IP_ADDRESS: {{lite-3-public-ip-address}} 509 LITE_HOSTNAME: {{lite-3-hostname}} 510 - task: test-routing 511 file: cli/ci/infrastructure/tasks/test-routing.yml 512 params: 513 LITE_IP_ADDRESS: {{lite-3-public-ip-address}} 514 - put: bosh-lites-dea-pool 515 params: 516 release: bosh-lite-lock 517 518 - name: provision-bosh-lite-4 519 serial: true 520 plan: 521 - aggregate: 522 - get: bosh-lite 523 - get: cli 524 - put: bosh-lites-diego-pool 525 params: 526 claim: {{lite-4-hostname}} 527 - do: 528 - task: destroy 529 file: cli/ci/infrastructure/tasks/destroy-cf-lite.yml 530 params: 531 AWS_ACCESS_KEY_ID: {{lite-access-key-id}} 532 AWS_SECRET_ACCESS_KEY: {{lite-secret-access-key}} 533 AWS_REGION: {{lite-aws-region}} 534 LITE_INSTANCE_NAME: bosh-lite-4 535 - task: provision 536 file: cli/ci/infrastructure/tasks/provision-cf-lite.yml 537 privileged: true 538 params: 539 BOSH_LITE_NAME: bosh-lite-4 540 BOSH_AWS_ACCESS_KEY_ID: {{lite-access-key-id}} 541 BOSH_AWS_SECRET_ACCESS_KEY: {{lite-secret-access-key}} 542 BOSH_LITE_ELASTIC_IP: {{lite-4-public-ip-address}} 543 BOSH_LITE_KEYPAIR: {{lite-keypair}} 544 BOSH_LITE_SECURITY_GROUP: {{lite-aws-security-group}} 545 BOSH_LITE_SUBNET_ID: {{bosh-lite-subnet}} 546 LITE_PRIVATE_KEY: {{bosh-lite-private-key}} 547 548 - name: deploy-cf-release-4 549 serial: true 550 plan: 551 - aggregate: 552 - get: bosh-lites-diego-pool 553 passed: [provision-bosh-lite-4] 554 trigger: true 555 - get: cli 556 - get: cf-release-repo 557 - get: cf-release 558 - get: bosh-lite-stemcell 559 - do: 560 - task: create-cf-manifest 561 file: cli/ci/infrastructure/tasks/create-bosh-lite-cf-manifest.yml 562 params: 563 LITE_IP_ADDRESS: {{lite-4-public-ip-address}} 564 LITE_HOSTNAME: {{lite-4-hostname}} 565 - put: bosh-lite-4-deploy-cf 566 params: 567 manifest: bosh-lite-cf-manifest/cf.yml 568 stemcells: 569 - bosh-lite-stemcell/stemcell.tgz 570 releases: 571 - cf-release/release.tgz 572 573 - name: smoke-test-4 574 serial: true 575 plan: 576 - aggregate: 577 - get: bosh-lites-diego-pool 578 passed: [deploy-cf-release-4] 579 trigger: true 580 - get: cli 581 - task: run-smoke-tests 582 file: cli/ci/infrastructure/tasks/run-smoke-tests.yml 583 params: 584 LITE_IP_ADDRESS: {{lite-4-public-ip-address}} 585 586 - name: deploy-diego-release-4 587 serial: true 588 plan: 589 - aggregate: 590 - get: bosh-lite-lock 591 resource: bosh-lites-diego-pool 592 passed: [smoke-test-4] 593 trigger: true 594 - get: garden-runc-release 595 - get: diego-release 596 - get: diego-repo 597 - get: cflinuxfs2-rootfs-release 598 - get: netman-release 599 - get: cli 600 - do: 601 - task: deploy-diego 602 file: cli/ci/infrastructure/tasks/deploy-diego.yml 603 params: 604 LITE_IP_ADDRESS: {{lite-4-public-ip-address}} 605 - task: default-to-diego 606 file: cli/ci/infrastructure/tasks/set-cf-backend-to-diego.yml 607 params: 608 LITE_IP_ADDRESS: {{lite-4-public-ip-address}} 609 610 - name: deploy-routing-release-4 611 serial: true 612 plan: 613 - aggregate: 614 - get: bosh-lite-lock 615 resource: bosh-lites-diego-pool 616 passed: [deploy-diego-release-4] 617 trigger: true 618 - get: cf-routing-release 619 - get: cf-routing-release-repo 620 - get: cf-release-repo 621 - get: cli 622 - task: deploy-routing 623 file: cli/ci/infrastructure/tasks/deploy-routing.yml 624 params: 625 LITE_IP_ADDRESS: {{lite-4-public-ip-address}} 626 LITE_HOSTNAME: {{lite-4-hostname}} 627 - task: test-routing 628 file: cli/ci/infrastructure/tasks/test-routing.yml 629 params: 630 LITE_IP_ADDRESS: {{lite-4-public-ip-address}} 631 - put: bosh-lites-diego-pool 632 params: 633 release: bosh-lite-lock 634 635 - name: provision-bosh-lite-5 636 serial: true 637 plan: 638 - aggregate: 639 - get: bosh-lite 640 - get: cli 641 - put: bosh-lites-dea-pool 642 params: 643 claim: {{lite-5-hostname}} 644 - do: 645 - task: destroy 646 file: cli/ci/infrastructure/tasks/destroy-cf-lite.yml 647 params: 648 AWS_ACCESS_KEY_ID: {{lite-access-key-id}} 649 AWS_SECRET_ACCESS_KEY: {{lite-secret-access-key}} 650 AWS_REGION: {{lite-aws-region}} 651 LITE_INSTANCE_NAME: bosh-lite-5 652 - task: provision 653 file: cli/ci/infrastructure/tasks/provision-cf-lite.yml 654 privileged: true 655 params: 656 BOSH_LITE_NAME: bosh-lite-5 657 BOSH_AWS_ACCESS_KEY_ID: {{lite-access-key-id}} 658 BOSH_AWS_SECRET_ACCESS_KEY: {{lite-secret-access-key}} 659 BOSH_LITE_ELASTIC_IP: {{lite-5-public-ip-address}} 660 BOSH_LITE_KEYPAIR: {{lite-keypair}} 661 BOSH_LITE_SECURITY_GROUP: {{lite-aws-security-group}} 662 BOSH_LITE_SUBNET_ID: {{bosh-lite-subnet}} 663 LITE_PRIVATE_KEY: {{bosh-lite-private-key}} 664 665 - name: deploy-cf-release-5 666 serial: true 667 plan: 668 - aggregate: 669 - get: bosh-lites-dea-pool 670 passed: [provision-bosh-lite-5] 671 trigger: true 672 - get: cli 673 - get: cf-release-repo 674 - get: cf-release 675 - get: bosh-lite-stemcell 676 - do: 677 - task: create-cf-manifest 678 file: cli/ci/infrastructure/tasks/create-bosh-lite-cf-manifest.yml 679 params: 680 LITE_IP_ADDRESS: {{lite-5-public-ip-address}} 681 LITE_HOSTNAME: {{lite-5-hostname}} 682 LITE_EXTRA_STUB: 'properties: { dea_next : { memory_mb : 20480 } }' 683 - put: bosh-lite-5-deploy-cf 684 params: 685 manifest: bosh-lite-cf-manifest/cf.yml 686 stemcells: 687 - bosh-lite-stemcell/stemcell.tgz 688 releases: 689 - cf-release/release.tgz 690 691 - name: smoke-test-5 692 serial: true 693 plan: 694 - aggregate: 695 - get: bosh-lites-dea-pool 696 passed: [deploy-cf-release-5] 697 trigger: true 698 - get: cli 699 - task: run-smoke-tests 700 file: cli/ci/infrastructure/tasks/run-smoke-tests.yml 701 params: 702 LITE_IP_ADDRESS: {{lite-5-public-ip-address}} 703 704 - name: deploy-diego-release-5 705 serial: true 706 plan: 707 - aggregate: 708 - get: bosh-lite-lock 709 resource: bosh-lites-dea-pool 710 passed: [smoke-test-5] 711 trigger: true 712 - get: garden-runc-release 713 - get: diego-release 714 - get: diego-repo 715 - get: cflinuxfs2-rootfs-release 716 - get: netman-release 717 - get: cli 718 - task: deploy-diego 719 file: cli/ci/infrastructure/tasks/deploy-diego.yml 720 params: 721 LITE_IP_ADDRESS: {{lite-5-public-ip-address}} 722 723 - name: deploy-routing-release-5 724 serial: true 725 plan: 726 - aggregate: 727 - get: bosh-lite-lock 728 resource: bosh-lites-dea-pool 729 passed: [deploy-diego-release-5] 730 trigger: true 731 - get: cf-routing-release 732 - get: cf-routing-release-repo 733 - get: cf-release-repo 734 - get: cli 735 - task: deploy-routing 736 file: cli/ci/infrastructure/tasks/deploy-routing.yml 737 params: 738 LITE_IP_ADDRESS: {{lite-5-public-ip-address}} 739 LITE_HOSTNAME: {{lite-5-hostname}} 740 - task: test-routing 741 file: cli/ci/infrastructure/tasks/test-routing.yml 742 params: 743 LITE_IP_ADDRESS: {{lite-5-public-ip-address}} 744 - put: bosh-lites-dea-pool 745 params: 746 release: bosh-lite-lock 747 748 - name: provision-bosh-lite 749 serial: true 750 plan: 751 - aggregate: 752 - get: bosh-lite 753 - get: cli 754 - put: bosh-lites-acceptance-pool 755 params: 756 claim: {{lite-acceptance-hostname}} 757 - do: 758 - task: destroy 759 file: cli/ci/infrastructure/tasks/destroy-cf-lite.yml 760 params: 761 AWS_ACCESS_KEY_ID: {{lite-access-key-id}} 762 AWS_SECRET_ACCESS_KEY: {{lite-secret-access-key}} 763 AWS_REGION: {{lite-aws-region}} 764 LITE_INSTANCE_NAME: {{lite-acceptance-name}} 765 - task: provision 766 file: cli/ci/infrastructure/tasks/provision-cf-lite.yml 767 privileged: true 768 params: 769 BOSH_LITE_NAME: {{lite-acceptance-name}} 770 BOSH_AWS_ACCESS_KEY_ID: {{lite-access-key-id}} 771 BOSH_AWS_SECRET_ACCESS_KEY: {{lite-secret-access-key}} 772 BOSH_LITE_ELASTIC_IP: {{lite-acceptance-public-ip}} 773 BOSH_LITE_KEYPAIR: {{acceptance-keypair}} 774 BOSH_LITE_SECURITY_GROUP: {{lite-acceptance-security-group}} 775 BOSH_LITE_SUBNET_ID: {{lite-acceptance-subnet-id}} 776 LITE_PRIVATE_KEY: {{dies-lite-private-key}} 777 778 - name: deploy-cf-release 779 serial: true 780 plan: 781 - aggregate: 782 - get: bosh-lites-acceptance-pool 783 passed: [provision-bosh-lite] 784 trigger: true 785 - get: cli 786 - get: cf-release-repo 787 - get: cf-release 788 - get: bosh-lite-stemcell 789 - task: create-cf-manifest 790 file: cli/ci/infrastructure/tasks/create-bosh-lite-cf-manifest.yml 791 params: 792 LITE_IP_ADDRESS: {{lite-acceptance-public-ip}} 793 LITE_HOSTNAME: {{lite-acceptance-hostname}} 794 LITE_EXTRA_STUB: "properties: { doppler: { port: 443 } }" 795 - put: bosh-lite-acceptance-deploy-cf 796 params: 797 manifest: bosh-lite-cf-manifest/cf.yml 798 stemcells: 799 - bosh-lite-stemcell/stemcell.tgz 800 releases: 801 - cf-release/release.tgz 802 803 - name: smoke-test 804 serial: true 805 plan: 806 - aggregate: 807 - get: bosh-lites-acceptance-pool 808 passed: [deploy-cf-release] 809 trigger: true 810 - get: cli 811 - task: run-smoke-tests 812 file: cli/ci/infrastructure/tasks/run-smoke-tests.yml 813 params: 814 LITE_IP_ADDRESS: {{lite-acceptance-public-ip}} 815 816 - name: deploy-diego-release 817 serial: true 818 plan: 819 - aggregate: 820 - get: bosh-lite-lock 821 resource: bosh-lites-acceptance-pool 822 passed: [smoke-test] 823 trigger: true 824 - get: garden-runc-release 825 - get: diego-release 826 - get: diego-repo 827 - get: cflinuxfs2-rootfs-release 828 - get: netman-release 829 - get: cli 830 - do: 831 - task: deploy-diego 832 file: cli/ci/infrastructure/tasks/deploy-diego.yml 833 params: 834 LITE_IP_ADDRESS: {{lite-acceptance-public-ip}} 835 - task: default-to-diego 836 file: cli/ci/infrastructure/tasks/set-cf-backend-to-diego.yml 837 params: 838 LITE_IP_ADDRESS: {{lite-acceptance-public-ip}} 839 840 - name: deploy-routing-release 841 serial: true 842 plan: 843 - aggregate: 844 - get: bosh-lite-lock 845 resource: bosh-lites-acceptance-pool 846 passed: [deploy-diego-release] 847 trigger: true 848 - get: cf-routing-release 849 - get: cf-routing-release-repo 850 - get: cf-release-repo 851 - get: cli 852 - task: deploy-routing 853 file: cli/ci/infrastructure/tasks/deploy-routing.yml 854 params: 855 LITE_IP_ADDRESS: {{lite-acceptance-public-ip}} 856 LITE_HOSTNAME: {{lite-acceptance-hostname}} 857 - task: test-routing 858 file: cli/ci/infrastructure/tasks/test-routing.yml 859 params: 860 LITE_IP_ADDRESS: {{lite-acceptance-public-ip}} 861 - put: bosh-lites-acceptance-pool 862 params: 863 release: bosh-lite-lock