pipeline.yml 51.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
groups:
- name: all
  jobs:
  - compile_gpdb_centos6
  - compile_gpdb_open_source_centos6
  - compile_gpdb_binary_swap_centos6
  - compile_gpdb_centos7
  - compile_gpdb_sles11
  - compile_gpdb_windows_cl
  - icw_planner_centos6
  - icw_gporca_centos6
  - icw_gporca_centos7
  - icw_gporca_sles11
  - icw_planner_ictcp_centos6
  - MU_check_centos
  - MM_gpperfmon
  - MM_gpcheck
L
Larry Hamel 已提交
18
  - MM_analyzedb
19 20
  - DPM_backup-restore
  - MM_gppkg
21
  - MM_gpinitsystem
22
  - MM_gpinitstandby
23 24 25
  - MM_pt-rebuild
  - fts
  - storage
26 27
  - cs_walrep_1
  - cs_walrep_2
28
  - QP_memory-accounting
29
  - regression_tests_gpcloud_centos
30
  - regression_tests_gphdfs_centos
31
  - regression_tests_pxf_centos
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
  - gpdb_rc_packaging_centos
  - gpdb_rc_packaging_sles
  - DPM_netbackup77
  - DPM_backup-restore-ddboost
  - DPM_backup_43_restore_5
  - MM_gpcheckcat
  - MM_gprecoverseg
  - MM_gpexpand
  - DPM_gptransfer-43x-to-5x
  - DPM_gptransfer-5x-to-5x
  - cs-pg-two-phase
  - cs-filerep-schema-topology-crashrecov
  - cs-filerep-end-to-end
  - cs-aoco-compression
  - mpp_interconnect
  - QP_runaway-query
  - QP_optimizer-functional
49
  - validate_pipeline
50 51 52 53

- name: Release
  jobs:
  - Release_Candidate
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70

- name: Remaining Pulse
  jobs:
  - DPM_netbackup77
  - DPM_backup-restore-ddboost
  - MM_gpcheckcat
  - MM_gpexpand
  - DPM_gptransfer-43x-to-5x
  - DPM_gptransfer-5x-to-5x
  - cs-pg-two-phase
  - cs-filerep-schema-topology-crashrecov
  - cs-filerep-end-to-end
  - cs-aoco-compression
  - mpp_interconnect

- name: Adopted CCP
  jobs:
71 72
  - cs_walrep_1
  - cs_walrep_2
73 74 75
  - DPM_backup-restore
  - MM_gppkg
  - MM_gprecoverseg
76
  - DPM_backup_43_restore_5
77

78 79 80 81 82 83 84 85 86 87
## ======================================================================
## resource types
## ======================================================================

resource_types:
- name: terraform
  type: docker-image
  source:
    repository: ljfranklin/terraform-resource

88 89 90 91 92
## ======================================================================
## resources
## ======================================================================

resources:
93 94 95 96 97 98
- name: ccp_src
  type: git
  source:
    branch: {{ccp-git-branch}}
    private_key: {{ccp-git-key}}
    uri: {{ccp-git-remote}}
99
    tag_filter: 1.0.0-beta.1
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128

- name: terraform
  type: terraform
  source:
    env:
      AWS_ACCESS_KEY_ID: {{tf-machine-access-key-id}}
      AWS_SECRET_ACCESS_KEY: {{tf-machine-secret-access-key}}
    storage:
      access_key_id: {{tf-machine-access-key-id}}
      secret_access_key: {{tf-machine-secret-access-key}}
      region_name: {{aws-region}}
      # This is not parameterized, on purpose. All tfstates will go to this spot,
      # and different teams will place there clusters' tfstate files under different paths
      bucket: gpdb5-pipeline-dynamic-terraform
      ###########################################################
      # Two conventions are allowed for bucket_path:            #
      # 1) Cluster are expected to be destroyed automatically   #
      #    Toolsmiths will reap old and orphaned clusters       #
      #                                                         #
      #      bucket_path: prod/[Pipeline Name]/                 #
      #                                                         #
      # 2) Long lived clusters for development.                 #
      #    The team that creates it is responsible for cluster  #
      #                                                         #
      #     bucket_path: dev/[Team Name]/                       #
      #                                                         #
      ###########################################################
      bucket_path: {{tf-bucket-path}}

129 130 131 132 133
- name: gpdb_src
  type: git
  source:
    branch: {{gpdb-git-branch}}
    uri: {{gpdb-git-remote}}
134 135 136
    ignore_paths:
    - gpdb-doc/*
    - README*
137

138 139 140
- name: gpdb_src_binary_swap
  type: git
  source:
141 142
    branch: {{gpdb-binary-swap-git-tag}}
    uri: {{gpdb-binary-swap-git-remote}}
143 144 145 146
    ignore_paths:
    - gpdb-doc/*
    - README*

147 148 149 150
- name: gpaddon_src
  type: git
  source:
    branch: {{gpaddon-git-branch}}
151
    private_key: {{gpaddon-git-key}}
152 153
    uri: {{gpaddon-git-remote}}

154 155 156 157 158 159 160
- name: pxf_src
  type: git
  source:
    branch: {{pxf-git-branch}}
    private_key: {{pxf-git-key}}
    uri: {{pxf-git-remote}}

161
- name: centos-gpdb-dev-6
162 163
  type: docker-image
  source:
164
    repository: pivotaldata/centos-gpdb-dev
165
    tag: '6-gcc6.2-llvm3.7'
166

167
- name: centos-gpdb-dev-7
168 169
  type: docker-image
  source:
170 171
    repository: pivotaldata/centos-gpdb-dev
    tag: 7-gcc6.2-llvm3.7
172

T
Tom Meyer 已提交
173 174 175 176 177 178
- name: sles-gpdb-dev-11-beta
  type: docker-image
  source:
    repository: pivotaldata/sles-gpdb-dev
    tag: 11-beta

179 180 181 182
- name: centos-mingw
  type: docker-image
  source:
    repository: pivotaldata/centos-mingw
183

J
Jingyi Mei 已提交
184
- name: bin_gpdb_centos6
185 186 187 188 189 190
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
191
    versioned_file: {{bin_gpdb_centos_versioned_file}}
192

193 194 195 196 197 198 199 200 201
- name: binary_swap_gpdb_centos6
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
    versioned_file: {{binary_swap_gpdb_centos_versioned_file}}

J
Jingyi Mei 已提交
202 203 204 205 206 207 208 209 210
- name: bin_gpdb_centos7
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
    versioned_file: {{bin_gpdb_centos7_versioned_file}}

T
Tom Meyer 已提交
211 212 213 214 215 216 217 218 219
- name: bin_gpdb_sles11
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
    versioned_file: {{bin_gpdb_sles11_versioned_file}}

220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236
- name: bin_gpdb_windows_clients
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
    regexp: windows-cl/greenplum-clients-5.(.*)-WinXP-x86_32.msi

- name: bin_gpdb_windows_loaders
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
    regexp: windows-cl/greenplum-loaders-5.(.*)-WinXP-x86_32.msi
237

238 239 240 241 242 243 244 245 246
- name: bin_gpdb4_centos6
  type: s3
  source:
    access_key_id: {{gpdb4-bucket-access-key-id}}
    bucket: {{gpdb4-bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{gpdb4-bucket-secret-access-key}}
    versioned_file: bin_gpdb_centos/bin_gpdb.tar.gz

247 248 249 250 251 252 253
- name: installer_rhel6_gpdb_rc
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
J
Jingyi Mei 已提交
254
    regexp: deliverables/software_only_installer/greenplum-db-(.*)-rhel6-x86_64.zip
255

256
- name: installer_rhel6_gpdb_rc_sha256
257 258 259 260 261 262
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
J
Jingyi Mei 已提交
263
    regexp: deliverables/software_only_installer/greenplum-db-(.*)-rhel6-x86_64.zip.sha256
264

J
Jingyi Mei 已提交
265 266 267 268 269 270 271
- name: installer_rhel7_gpdb_rc
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
J
Jingyi Mei 已提交
272
    regexp: deliverables/software_only_installer/greenplum-db-(.*)-rhel7-x86_64.zip
J
Jingyi Mei 已提交
273

274
- name: installer_rhel7_gpdb_rc_sha256
J
Jingyi Mei 已提交
275 276 277 278 279 280
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
J
Jingyi Mei 已提交
281
    regexp: deliverables/software_only_installer/greenplum-db-(.*)-rhel7-x86_64.zip.sha256
J
Jingyi Mei 已提交
282

T
Tom Meyer 已提交
283 284 285 286 287 288 289
- name: installer_sles11_gpdb_rc
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
J
Jingyi Mei 已提交
290
    regexp: deliverables/software_only_installer/greenplum-db-(.*)-sles11-x86_64.zip
T
Tom Meyer 已提交
291

292
- name: installer_sles11_gpdb_rc_sha256
T
Tom Meyer 已提交
293 294 295 296 297 298
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
J
Jingyi Mei 已提交
299
    regexp: deliverables/software_only_installer/greenplum-db-(.*)-sles11-x86_64.zip.sha256
T
Tom Meyer 已提交
300

301 302 303 304 305 306 307
- name: installer_appliance_rhel6_gpdb_rc
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
J
Jingyi Mei 已提交
308
    regexp: deliverables/appliance_installer/greenplum-db-appliance-(.*)-rhel6-x86_64.zip
309

310
- name: installer_appliance_rhel6_gpdb_rc_sha256
311 312 313 314 315 316
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
J
Jingyi Mei 已提交
317
    regexp: deliverables/appliance_installer/greenplum-db-appliance-(.*)-rhel6-x86_64.zip.sha256
318

319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336
- name: installer_rhel6_gpdb_clients
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
    regexp: deliverables/greenplum-clients-5.(.*)-rhel6-x86_64.zip

- name: installer_rhel6_gpdb_loaders
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
    regexp: deliverables/greenplum-loaders-5.(.*)-rhel6-x86_64.zip

J
Jingyi Mei 已提交
337 338 339 340 341 342 343
- name: installer_appliance_rhel7_gpdb_rc
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
J
Jingyi Mei 已提交
344
    regexp: deliverables/appliance_installer/greenplum-db-appliance-(.*)-rhel7-x86_64.zip
J
Jingyi Mei 已提交
345

346
- name: installer_appliance_rhel7_gpdb_rc_sha256
J
Jingyi Mei 已提交
347 348 349 350 351 352
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
J
Jingyi Mei 已提交
353
    regexp: deliverables/appliance_installer/greenplum-db-appliance-(.*)-rhel7-x86_64.zip.sha256
J
Jingyi Mei 已提交
354

355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372
- name: installer_rhel7_gpdb_clients
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
    regexp: deliverables/greenplum-clients-5.(.*)-rhel7-x86_64.zip

- name: installer_rhel7_gpdb_loaders
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
    regexp: deliverables/greenplum-loaders-5.(.*)-rhel7-x86_64.zip

373 374 375 376 377 378 379 380
- name: qautils_rhel6_tarball
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
    versioned_file: deliverables/QAUtils-rhel6-x86_64.tar.gz
381

J
Jingyi Mei 已提交
382 383 384 385 386 387 388 389 390
- name: qautils_rhel7_tarball
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
    versioned_file: deliverables/QAUtils-rhel7-x86_64.tar.gz

T
Tom Meyer 已提交
391 392 393 394 395 396 397 398 399 400
- name: qautils_sles11_tarball
  type: s3
  source:
    private: true
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
    versioned_file: deliverables/QAUtils-sles11-x86_64.tar.gz

401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418
- name: installer_sles11_gpdb_clients
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
    regexp: deliverables/greenplum-clients-5.(.*)-sles11-x86_64.zip

- name: installer_sles11_gpdb_loaders
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
    regexp: deliverables/greenplum-loaders-5.(.*)-sles11-x86_64.zip

419 420 421 422 423 424 425
- name: gpdb_src_tinc_tarball
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
426
    regexp: deliverables/greenplum-db-(.*)-src.tar.gz
427

M
Marbin Tan 已提交
428 429 430 431 432 433 434
- name: gpdb_src_behave_tarball
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
435
    regexp: deliverables/greenplum-db-(.*)-behave.tar.gz
436

437 438 439
- name: singlecluster
  type: s3
  source:
440 441
    access_key_id: {{pxf-aws-access-key-id}}
    secret_access_key: {{pxf-aws-secret-access-key}}
442 443 444 445
    bucket: {{pxf-aws-bucket-name}}
    region_name: {{aws-region}}
    versioned_file: singlecluster-without-pxf/singlecluster-CDH.tar.gz

446
- name: nightly-trigger
447 448 449
  type: time
  source:
    location: America/Los_Angeles
450
    days: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday]
451 452 453
    start: 6:00 AM
    stop: 7:00 AM

454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492
## ======================================================================
## reusable anchors
## ======================================================================

ccp_create_params_anchor: &ccp_create_params
  action: create
  delete_on_failure: true
  generate_random_name: true
  terraform_source: ccp_src/aws/
  vars:
    aws_instance-node-instance_type: t2.medium

ccp_destroy_anchor: &ccp_destroy
  put: terraform
  params:
    action: destroy
    env_name_file: terraform/name
    terraform_source: ccp_src/aws/
    vars:
      aws_instance-node-instance_type: t2.micro #t2.micro is ignored in destroy, but aws_instance-node-instance_type is required.
  get_params:
    action: destroy

debug_sleep_anchor: &debug_sleep
  do:
  - task: debug_sleep
    config:
      platform: linux
      image_resource:
        type: docker-image
        source:
          repository: alpine
          tag: latest
      run:
        path: 'sh'
        args: ['-c', 'sleep 6h']
    ensure:
      <<: *ccp_destroy

493 494 495 496 497 498 499 500 501 502 503 504 505
## ======================================================================
## jobs
## ======================================================================

# Stage 1: Build and C Unit Tests

jobs:

- name: compile_gpdb_centos6
  plan:
  - aggregate:
    - get: gpdb_src
      trigger: true
M
Marbin Tan 已提交
506
    - get: gpaddon_src
507 508
    - get: pxf_src
      trigger: true
509
    - get: centos-gpdb-dev-6
510
  - task: compile_gpdb
511
    file: gpdb_src/concourse/tasks/compile_gpdb.yml
512
    image: centos-gpdb-dev-6
513 514 515 516 517
    params:
      IVYREPO_HOST: {{ivyrepo_host}}
      IVYREPO_REALM: {{ivyrepo_realm}}
      IVYREPO_USER: {{ivyrepo_user}}
      IVYREPO_PASSWD: {{ivyrepo_passwd}}
518
      CONFIGURE_FLAGS: {{configure_flags}}
519 520
      TARGET_OS: centos
      TARGET_OS_VERSION: 6
521
      BLD_TARGETS: "clients loaders"
522
  - aggregate:
J
Jingyi Mei 已提交
523
    - put: bin_gpdb_centos6
524 525
      params:
        file: gpdb_artifacts/bin_gpdb.tar.gz
526 527 528 529 530 531
    - put: installer_rhel6_gpdb_clients
      params:
        file: gpdb_artifacts/greenplum-clients-*-rhel6-x86_64.zip
    - put: installer_rhel6_gpdb_loaders
      params:
        file: gpdb_artifacts/greenplum-loaders-*-rhel6-x86_64.zip
532

533
- name: compile_gpdb_open_source_centos6
534 535 536 537 538
  public: true
  plan:
  - aggregate:
    - get: gpdb_src
      trigger: true
539
    - get: centos-gpdb-dev-6
540
  - task: compile_gpdb
541
    file: gpdb_src/concourse/tasks/compile_gpdb_open_source.yml
542
    image: centos-gpdb-dev-6
543 544
    params:
        CONFIGURE_FLAGS: {{configure_flags}}
545

546 547 548 549 550
- name: compile_gpdb_centos7
  plan:
  - aggregate:
    - get: gpdb_src
      trigger: true
M
Marbin Tan 已提交
551
    - get: gpaddon_src
552 553
    - get: pxf_src
      trigger: true
554
    - get: centos-gpdb-dev-7
555
  - task: compile_gpdb
556
    file: gpdb_src/concourse/tasks/compile_gpdb.yml
557
    image: centos-gpdb-dev-7
558 559 560 561 562
    params:
      IVYREPO_HOST: {{ivyrepo_host}}
      IVYREPO_REALM: {{ivyrepo_realm}}
      IVYREPO_USER: {{ivyrepo_user}}
      IVYREPO_PASSWD: {{ivyrepo_passwd}}
563
      CONFIGURE_FLAGS: {{configure_flags}}
564 565
      TARGET_OS: centos
      TARGET_OS_VERSION: 7
566
      BLD_TARGETS: "clients loaders"
J
Jingyi Mei 已提交
567 568 569 570
  - aggregate:
    - put: bin_gpdb_centos7
      params:
        file: gpdb_artifacts/bin_gpdb.tar.gz
571 572 573 574 575 576
    - put: installer_rhel7_gpdb_clients
      params:
        file: gpdb_artifacts/greenplum-clients-*-rhel7-x86_64.zip
    - put: installer_rhel7_gpdb_loaders
      params:
        file: gpdb_artifacts/greenplum-loaders-*-rhel7-x86_64.zip
577

T
Tom Meyer 已提交
578 579 580 581 582 583
- name: compile_gpdb_sles11
  plan:
  - aggregate:
    - get: gpdb_src
      trigger: true
    - get: gpaddon_src
584
    - get: pxf_src
T
Tom Meyer 已提交
585 586 587 588 589 590 591 592 593
    - get: sles-gpdb-dev-11-beta
  - task: compile_gpdb
    file: gpdb_src/concourse/tasks/compile_gpdb.yml
    image: sles-gpdb-dev-11-beta
    params:
      IVYREPO_HOST: {{ivyrepo_host}}
      IVYREPO_REALM: {{ivyrepo_realm}}
      IVYREPO_USER: {{ivyrepo_user}}
      IVYREPO_PASSWD: {{ivyrepo_passwd}}
594
      CONFIGURE_FLAGS: {{configure_flags}}
T
Tom Meyer 已提交
595 596
      TARGET_OS: sles
      TARGET_OS_VERSION:
597
      BLD_TARGETS: "clients loaders"
T
Tom Meyer 已提交
598 599 600
  - put: bin_gpdb_sles11
    params:
      file: gpdb_artifacts/bin_gpdb.tar.gz
601 602 603 604 605 606
  - put: installer_sles11_gpdb_clients
    params:
      file: gpdb_artifacts/greenplum-clients-*-sles11-x86_64.zip
  - put: installer_sles11_gpdb_loaders
    params:
      file: gpdb_artifacts/greenplum-loaders-*-sles11-x86_64.zip
T
Tom Meyer 已提交
607

608 609 610 611 612 613
- name: compile_gpdb_windows_cl
  plan:
  - aggregate:
    - get: gpdb_src
      trigger: true
    - get: gpaddon_src
614
    - get: pxf_src
615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633
    - get: centos-mingw
  - task: compile_gpdb
    file: gpdb_src/concourse/tasks/compile_gpdb.yml
    image: centos-mingw
    params:
      TARGET_OS: win32
      TARGET_OS_VERSION:
      BLD_TARGETS: clients loaders
      IVYREPO_HOST: {{ivyrepo_host}}
      IVYREPO_REALM: {{ivyrepo_realm}}
      IVYREPO_USER: {{ivyrepo_user}}
      IVYREPO_PASSWD: {{ivyrepo_passwd}}
  - aggregate:
    - put: bin_gpdb_windows_clients
      params:
        file: gpdb_artifacts/greenplum-clients-*-WinXP-x86_32.msi
    - put: bin_gpdb_windows_loaders
      params:
        file: gpdb_artifacts/greenplum-loaders-*-WinXP-x86_32.msi
634

635 636 637 638 639 640 641 642 643 644 645
# This acts like a cache as this job will only be run once to get a
# binary to use for our binary swap compatibility tests. Setting a new
# tag or branch for the gpdb_src_binary_swap resource via set-pipeline
# will replace the cached binary.
- name: compile_gpdb_binary_swap_centos6
  plan:
  - aggregate:
    - get: gpdb_src
      resource: gpdb_src_binary_swap
      trigger: true
    - get: gpaddon_src
646
    - get: pxf_src
647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662
    - get: centos-gpdb-dev-6
  - task: compile_gpdb
    file: gpdb_src/concourse/tasks/compile_gpdb.yml
    image: centos-gpdb-dev-6
    params:
      IVYREPO_HOST: {{ivyrepo_host}}
      IVYREPO_REALM: {{ivyrepo_realm}}
      IVYREPO_USER: {{ivyrepo_user}}
      IVYREPO_PASSWD: {{ivyrepo_passwd}}
      TARGET_OS: centos
      TARGET_OS_VERSION: 6
  - aggregate:
    - put: binary_swap_gpdb_centos6
      params:
        file: gpdb_artifacts/bin_gpdb.tar.gz

663 664
# Stage 2a: Run regression tests against binaries (make installcheck-world and similar)

665
- name: icw_planner_centos6
666 667 668 669 670
  plan:
  - aggregate:
    - get: gpdb_src
      passed: [compile_gpdb_centos6]
    - get: bin_gpdb
J
Jingyi Mei 已提交
671
      resource: bin_gpdb_centos6
672 673
      passed: [compile_gpdb_centos6]
      trigger: true
674 675 676 677
    - get: binary_swap_gpdb
      resource: binary_swap_gpdb_centos6
      passed: [compile_gpdb_binary_swap_centos6]
      trigger: true
678
    - get: centos-gpdb-dev-6
679
  - task: ic_gpdb
680
    file: gpdb_src/concourse/tasks/ic_gpdb_binary_swap.yml
681
    image: centos-gpdb-dev-6
682
    params:
683
      MAKE_TEST_COMMAND: PGOPTIONS='-c optimizer=off' installcheck-world
H
Heikki Linnakangas 已提交
684
      BLDWRAP_POSTGRES_CONF_ADDONS: "fsync=off"
685
      TEST_OS: centos
686
      TEST_BINARY_SWAP: false
687
      CONFIGURE_FLAGS: {{configure_flags}}
688

689
- name: icw_gporca_centos6
690 691 692 693 694
  plan:
  - aggregate:
    - get: gpdb_src
      passed: [compile_gpdb_centos6]
    - get: bin_gpdb
J
Jingyi Mei 已提交
695
      resource: bin_gpdb_centos6
696 697
      passed: [compile_gpdb_centos6]
      trigger: true
698
    - get: centos-gpdb-dev-6
699
  - task: ic_gpdb
700
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
701
    image: centos-gpdb-dev-6
702
    params:
703
      MAKE_TEST_COMMAND: PGOPTIONS='-c optimizer=on' installcheck-world
H
Heikki Linnakangas 已提交
704
      BLDWRAP_POSTGRES_CONF_ADDONS: "fsync=off"
705
      TEST_OS: centos
706
      CONFIGURE_FLAGS: {{configure_flags}}
707

J
Jingyi Mei 已提交
708 709 710 711 712 713 714 715 716 717 718 719 720 721 722
- name: icw_gporca_centos7
  serial: true
  plan:
  - aggregate:
    - get: gpdb_src
      passed: [compile_gpdb_centos7]
    - get: bin_gpdb
      resource: bin_gpdb_centos7
      passed: [compile_gpdb_centos7]
      trigger: true
    - get: centos-gpdb-dev-7
  - task: ic_gpdb
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
    image: centos-gpdb-dev-7
    params:
723
      MAKE_TEST_COMMAND: PGOPTIONS='-c optimizer=on' installcheck-world
J
Jingyi Mei 已提交
724 725
      BLDWRAP_POSTGRES_CONF_ADDONS: "fsync=off"
      TEST_OS: centos
726
      CONFIGURE_FLAGS: {{configure_flags}}
J
Jingyi Mei 已提交
727

T
Tom Meyer 已提交
728 729 730 731 732
- name: icw_gporca_sles11
  serial: true
  plan:
  - aggregate:
    - get: gpdb_src
733
      passed: [compile_gpdb_sles11]
T
Tom Meyer 已提交
734 735
    - get: bin_gpdb
      resource: bin_gpdb_sles11
736
      passed: [compile_gpdb_sles11]
T
Tom Meyer 已提交
737 738 739 740 741 742
      trigger: true
    - get: sles-gpdb-dev-11-beta
  - task: ic_gpdb
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
    image: sles-gpdb-dev-11-beta
    params:
743
      MAKE_TEST_COMMAND: PGOPTIONS='-c optimizer=on' installcheck-world
T
Tom Meyer 已提交
744 745
      BLDWRAP_POSTGRES_CONF_ADDONS: "fsync=off"
      TEST_OS: sles
746
      CONFIGURE_FLAGS: {{configure_flags}}
T
Tom Meyer 已提交
747

748 749 750 751 752 753 754 755 756 757 758 759 760 761
- name: icw_planner_ictcp_centos6
  plan:
  - aggregate:
    - get: gpdb_src
      passed: [compile_gpdb_centos6]
    - get: bin_gpdb
      resource: bin_gpdb_centos6
      passed: [compile_gpdb_centos6]
      trigger: true
    - get: centos-gpdb-dev-6
  - task: ic_gpdb
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
    image: centos-gpdb-dev-6
    params:
762
      MAKE_TEST_COMMAND: PGOPTIONS='-c gp_interconnect_type=tcp -c optimizer=off' installcheck-world
763 764 765
      BLDWRAP_POSTGRES_CONF_ADDONS: "fsync=off"
      TEST_OS: centos

766 767 768 769 770 771
- name: MU_check_centos
  plan:
  - aggregate:
    - get: gpdb_src
      passed: [compile_gpdb_centos6]
    - get: bin_gpdb
J
Jingyi Mei 已提交
772
      resource: bin_gpdb_centos6
773 774 775 776 777 778 779 780 781
      passed: [compile_gpdb_centos6]
      trigger: true
    - get: centos-gpdb-dev-6
  - task: MU_check_centos
    file: gpdb_src/concourse/tasks/gpMgmt_check_gpdb.yml
    image: centos-gpdb-dev-6
    params:
      TEST_OS: centos

782 783 784 785 786 787
- name: regression_tests_gpcloud_centos
  plan:
  - aggregate:
    - get: gpdb_src
      passed: [compile_gpdb_centos6]
    - get: bin_gpdb
J
Jingyi Mei 已提交
788
      resource: bin_gpdb_centos6
789 790 791 792 793 794 795
      passed: [compile_gpdb_centos6]
      trigger: true
    - get: centos-gpdb-dev-6
  - task: regression_tests_gpcloud
    file: gpdb_src/concourse/tasks/regression_tests_gpcloud.yml
    image: centos-gpdb-dev-6
    params:
796 797
      gpcloud_access_key_id: {{gpcloud-access-key-id}}
      gpcloud_secret_access_key: {{gpcloud-secret-access-key}}
A
Adam Lee 已提交
798
      overwrite_gpcloud: false
799 800 801
      TARGET_OS: centos
      TARGET_OS_VERSION: 6

802 803 804 805
- name: regression_tests_pxf_centos
  plan:
  - aggregate:
    - get: gpdb_src
806
      passed: [compile_gpdb_centos6]
807
    - get: bin_gpdb
808 809
      resource: bin_gpdb_centos6
      passed: [compile_gpdb_centos6]
810 811 812 813 814 815 816 817 818 819 820 821
      trigger: true
    - get: singlecluster
      trigger: true
    - get: centos-gpdb-dev-6
  - task: regression_tests_pxf
    file: gpdb_src/concourse/tasks/regression_tests_pxf.yml
    image: centos-gpdb-dev-6
    params:
      overwrite_pxf: false
      TARGET_OS: centos
      TARGET_OS_VERSION: 6

822
- name: MM_gpperfmon
M
Marbin Tan 已提交
823
  plan:
824
  - aggregate: &gets_for_behave
M
Marbin Tan 已提交
825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840
    - get: gpdb_src
      params:
        submodules:
        - gpMgmt/bin/pythonSrc/ext
      passed: [compile_gpdb_centos6]
    - get: bin_gpdb
      resource: bin_gpdb_centos6
      passed: [compile_gpdb_centos6]
      trigger: true
    - get: centos-gpdb-dev-6
  - task: gpperfmon
    file: gpdb_src/concourse/tasks/behave_gpdb.yml
    image: centos-gpdb-dev-6
    params:
      BEHAVE_TAGS: gpperfmon

N
Nadeem Ghani 已提交
841 842
- name: MM_gpcheck
  plan:
843 844 845 846 847 848 849
  - aggregate: *gets_for_behave
  - task: gpcheck_as_gpadmin
    file: gpdb_src/concourse/tasks/behave_gpdb.yml
    image: centos-gpdb-dev-6
    params:
      BEHAVE_TAGS: gpcheck_as_gpadmin
      GPCHECK_SETUP: true
N
Nadeem Ghani 已提交
850

L
Larry Hamel 已提交
851 852
- name: MM_analyzedb
  plan:
853
  - aggregate: *gets_for_behave
L
Larry Hamel 已提交
854 855 856 857 858 859
  - task: analyzedb
    file: gpdb_src/concourse/tasks/behave_gpdb.yml
    image: centos-gpdb-dev-6
    params:
      BEHAVE_TAGS: analyzedb

860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875
- name: DPM_backup-restore
  plan:
  - aggregate:
    - get: gpdb_src
      params:
        submodules:
        - gpMgmt/bin/pythonSrc/ext
      passed: [compile_gpdb_centos6]
    - get: gpdb_binary
      resource: bin_gpdb_centos6
      passed: [compile_gpdb_centos6]
      trigger: true
    - get: ccp_src
    - get: centos-gpdb-dev-6
  - put: terraform
    params:
M
Marbin Tan 已提交
876
      <<: *ccp_create_params
877 878 879 880 881 882 883 884
  - task: gen_cluster
    file: ccp_src/ci/tasks/gen_cluster.yml
    on_failure:
      <<: *ccp_destroy
  - task: run_tests
    file: gpdb_src/concourse/tasks/run_behave.yml
    image: centos-gpdb-dev-6
    params:
L
Larry Hamel 已提交
885
      BEHAVE_FLAGS: --tags=backups,backup_and_restore_backups,backup_and_restore_restores,restores --tags=-nbuonly --tags=-ddonly
886
    on_failure:
J
Jim Doty 已提交
887
      <<: *debug_sleep
888 889
  - *ccp_destroy

890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981
- name: DPM_backup_43_restore_5
  plan:
  - get: nightly-trigger
    trigger: true
  - aggregate:
    - get: gpdb_src
      params:
        submodules:
        - gpMgmt/bin/pythonSrc/ext
      passed: [compile_gpdb_centos6]
    - get: gpdb_binary
      resource: bin_gpdb_centos6
      passed: [compile_gpdb_centos6]
    - get: gpdb4_binary
      resource: bin_gpdb4_centos6
    - get: ccp_src
    - get: centos-gpdb-dev-6
  - put: terraform
    params:
      <<: *ccp_create_params
  - task: setup_gpdb4
    config:
      platform: linux
      image_resource:
        type: docker-image
        source:
          repository: centos
          tag: "7"
      inputs:
      - name: terraform
      - name: gpdb4_binary
      - name: ccp_src
      - name: gpdb_src
      outputs:
      - name: cluster_env_files
      run:
        path: bash
        args:
        - -c
        - |
          set -ex
          source ccp_src/aws/generate_env_files.sh
          ccp_src/aws/setup_ssh_to_cluster.sh
          ccp_src/aws/preinstall_gpdb.sh
          ccp_src/aws/install_gpdb.sh gpdb4_binary
          ccp_src/aws/run_inspec.sh
    on_failure:
      <<: *ccp_destroy
  - task: run_backup_tests
    file: gpdb_src/concourse/tasks/run_behave.yml
    image: centos-gpdb-dev-6
    params:
      BEHAVE_FLAGS: --tags=backup_and_restore_backups --tags=-nbuonly --tags=-ddonly --tags=-skip_for_gpdb_43
    on_failure:
      <<: *debug_sleep
  - task: setup_gpdb5
    config:
      platform: linux
      image_resource:
        type: docker-image
        source:
          repository: centos
          tag: "7"
      inputs:
      - name: terraform
      - name: gpdb_binary
      - name: ccp_src
      - name: gpdb_src
      - name: cluster_env_files
      run:
        path: bash
        args:
        - -c
        - |
          set -ex
          ccp_src/aws/setup_ssh_to_cluster.sh
          scp cluster_env_files/hostfile_all mdw:/home/gpadmin/hostfile_all
          ssh -t mdw "source /home/gpadmin/gpdb_src/concourse/scripts/backup_utils.sh; copy_backup_files"
          ssh -t mdw "source /home/gpadmin/gpdb_src/concourse/scripts/backup_utils.sh; destroy_gpdb"
          ccp_src/aws/install_gpdb.sh gpdb_binary
          ssh -t mdw "source /home/gpadmin/gpdb_src/concourse/scripts/backup_utils.sh; restore_backup_files"
    on_failure:
      <<: *debug_sleep
  - task: run_restore_tests
    file: gpdb_src/concourse/tasks/run_behave.yml
    image: centos-gpdb-dev-6
    params:
      BEHAVE_FLAGS: --tags=backup_and_restore_restores --tags=-nbuonly --tags=-ddonly --tags=-skip_for_gpdb_43
    on_failure:
      <<: *debug_sleep
  - *ccp_destroy

T
Tushar Dadlani 已提交
982 983 984 985 986 987 988 989
- name: MM_gppkg
  plan:
  - aggregate:
    - get: gpdb_src
      params:
        submodules:
        - gpMgmt/bin/pythonSrc/ext
      passed: [compile_gpdb_centos6]
N
Nadeem Ghani 已提交
990
    - get: gpdb_binary
T
Tushar Dadlani 已提交
991 992 993
      resource: bin_gpdb_centos6
      passed: [compile_gpdb_centos6]
      trigger: true
N
Nadeem Ghani 已提交
994
    - get: ccp_src
T
Tushar Dadlani 已提交
995
    - get: centos-gpdb-dev-6
N
Nadeem Ghani 已提交
996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010
  - put: terraform
    params:
      <<: *ccp_create_params
  - task: gen_cluster
    file: ccp_src/ci/tasks/gen_cluster.yml
    on_failure:
      <<: *ccp_destroy
  - task: setup_gppkg_second_install
    file: gpdb_src/concourse/tasks/gppkg_behave.yml
    params:
      SECOND_BINARY_INSTALL_LOCATION: /tmp/gppkg_migrate
    on_failure:
      <<: *ccp_destroy
  - task: run_tests
    file: gpdb_src/concourse/tasks/run_behave.yml
T
Tushar Dadlani 已提交
1011 1012
    image: centos-gpdb-dev-6
    params:
M
Marbin Tan 已提交
1013
      BEHAVE_FLAGS: --tags=gppkg
N
Nadeem Ghani 已提交
1014 1015 1016
    on_failure:
      <<: *debug_sleep
  - *ccp_destroy
T
Tushar Dadlani 已提交
1017

1018 1019
- name: MM_gpinitsystem
  plan:
1020
  - aggregate: *gets_for_behave
1021 1022 1023 1024
  - task: gpinitsystem
    file: gpdb_src/concourse/tasks/behave_gpdb.yml
    image: centos-gpdb-dev-6
    params:
1025 1026 1027 1028 1029 1030 1031 1032 1033 1034
      BEHAVE_TAGS: gpinitsystem

- name: MM_gpinitstandby
  plan:
  - aggregate: *gets_for_behave
  - task: gpinitstandby
    file: gpdb_src/concourse/tasks/behave_gpdb.yml
    image: centos-gpdb-dev-6
    params:
      BEHAVE_TAGS: gpinitstandby
1035

1036
- name: MM_pt-rebuild
1037
  plan:
1038
  - aggregate: *gets_for_behave
1039 1040 1041 1042 1043 1044 1045
  - aggregate:
    - task: persistent_table_rebuild
      file: gpdb_src/concourse/tasks/behave_gpdb.yml
      image: centos-gpdb-dev-6
      params:
        BEHAVE_TAGS: persistent_rebuild
    - task: persistent_table_rebuild_crash_recovery
A
Ashwin Agrawal 已提交
1046
      file: gpdb_src/concourse/tasks/tinc_gpdb.yml
1047 1048 1049 1050
      image: centos-gpdb-dev-6
      params:
        MAKE_TEST_COMMAND: persistent_table_rebuild
        TEST_OS: centos
1051
        CONFIGURE_FLAGS: {{configure_flags}}
1052

1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069
- name: fts
  plan:
  - aggregate:
    - get: gpdb_src
      params: {submodules: none}
      passed: [compile_gpdb_centos6]
    - get: bin_gpdb
      resource: bin_gpdb_centos6
      passed: [compile_gpdb_centos6]
      trigger: true
    - get: centos-gpdb-dev-6
  - aggregate:
    - task: fts_transitions_part01
      file: gpdb_src/concourse/tasks/tinc_gpdb.yml
      image: centos-gpdb-dev-6
      params:
        MAKE_TEST_COMMAND: fts_transitions_part01
1070
        BLDWRAP_POSTGRES_CONF_ADDONS: gp_segment_connect_timeout=35 gp_fts_probe_interval=20
1071
        TEST_OS: centos
1072
        CONFIGURE_FLAGS: {{configure_flags}}
1073 1074 1075 1076 1077
    - task: fts_transitions_part02
      file: gpdb_src/concourse/tasks/tinc_gpdb.yml
      image: centos-gpdb-dev-6
      params:
        MAKE_TEST_COMMAND: fts_transitions_part02
1078
        BLDWRAP_POSTGRES_CONF_ADDONS: gp_segment_connect_timeout=35 gp_fts_probe_interval=20
1079
        TEST_OS: centos
1080
        CONFIGURE_FLAGS: {{configure_flags}}
1081 1082 1083 1084 1085
    - task: fts_transitions_part03
      file: gpdb_src/concourse/tasks/tinc_gpdb.yml
      image: centos-gpdb-dev-6
      params:
        MAKE_TEST_COMMAND: fts_transitions_part03
1086
        BLDWRAP_POSTGRES_CONF_ADDONS: gp_segment_connect_timeout=35 gp_fts_probe_interval=20
1087
        TEST_OS: centos
1088
        CONFIGURE_FLAGS: {{configure_flags}}
1089

1090 1091 1092 1093 1094 1095
- name: storage
  plan:
  - aggregate:
    - get: gpdb_src
      params: {submodules: none}
      passed: [compile_gpdb_centos6]
1096
    - get: bin_gpdb
1097 1098 1099 1100 1101 1102 1103 1104 1105 1106
      resource: bin_gpdb_centos6
      passed: [compile_gpdb_centos6]
      trigger: true
    - get: centos-gpdb-dev-6
  - aggregate:
    - task: aocoalter_catalog_loaders
      file: gpdb_src/concourse/tasks/tinc_gpdb.yml
      params:
        MAKE_TEST_COMMAND: aocoalter_catalog_loaders
        TEST_OS: centos
1107
        CONFIGURE_FLAGS: {{configure_flags}}
1108
      image: centos-gpdb-dev-6
1109
    - task: storage_persistent_accessmethods_and_vacuum
1110 1111
      file: gpdb_src/concourse/tasks/tinc_gpdb.yml
      params:
1112
        MAKE_TEST_COMMAND: storage_persistent_accessmethods_and_vacuum
1113
        TEST_OS: centos
1114
        CONFIGURE_FLAGS: {{configure_flags}}
1115 1116
      image: centos-gpdb-dev-6
      timeout: 3h
1117
    - task: storage_filerep
1118 1119
      file: gpdb_src/concourse/tasks/tinc_gpdb.yml
      params:
1120
        MAKE_TEST_COMMAND: storage_filerep
1121
        TEST_OS: centos
1122
        CONFIGURE_FLAGS: {{configure_flags}}
1123 1124
      image: centos-gpdb-dev-6
      timeout: 3h
1125
    - task: storage_uao_transactionmanagement
1126 1127
      file: gpdb_src/concourse/tasks/tinc_gpdb.yml
      params:
1128
        MAKE_TEST_COMMAND: storage_uao_and_transactionmanagement
1129
        TEST_OS: centos
1130
        CONFIGURE_FLAGS: {{configure_flags}}
1131 1132 1133 1134 1135 1136 1137
      image: centos-gpdb-dev-6
      timeout: 3h
    - task: storage_vacuum_xidlimits
      file: gpdb_src/concourse/tasks/tinc_gpdb.yml
      params:
        MAKE_TEST_COMMAND: storage_vacuum_xidlimits
        TEST_OS: centos
1138
        CONFIGURE_FLAGS: {{configure_flags}}
1139 1140 1141
      image: centos-gpdb-dev-6
      timeout: 3h

1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195
- name: cs_walrep_1
  plan:
  - aggregate:
    - get: gpdb_src
      passed: [compile_gpdb_centos6]
    - get: gpdb_binary
      resource: bin_gpdb_centos6
      passed: [compile_gpdb_centos6]
      trigger: true
    - get: ccp_src
    - get: centos-gpdb-dev-6
  - put: terraform
    params:
      <<: *ccp_create_params
  - task: gen_cluster
    file: ccp_src/ci/tasks/gen_cluster.yml
    on_failure:
      <<: *ccp_destroy
  - task: run_tests
    file: gpdb_src/concourse/tasks/run_tinc.yml
    image: centos-gpdb-dev-6
    params:
      TINC_TARGET: walrep_1
    on_failure:
      <<: *debug_sleep
  - *ccp_destroy

- name: cs_walrep_2
  plan:
  - aggregate:
    - get: gpdb_src
      passed: [compile_gpdb_centos6]
    - get: gpdb_binary
      resource: bin_gpdb_centos6
      passed: [compile_gpdb_centos6]
      trigger: true
    - get: ccp_src
    - get: centos-gpdb-dev-6
  - put: terraform
    params:
      <<: *ccp_create_params
  - task: gen_cluster
    file: ccp_src/ci/tasks/gen_cluster.yml
    on_failure:
      <<: *ccp_destroy
  - task: run_tests
    file: gpdb_src/concourse/tasks/run_tinc.yml
    image: centos-gpdb-dev-6
    params:
      TINC_TARGET: walrep_2
    on_failure:
      <<: *debug_sleep
  - *ccp_destroy

1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212
- name: QP_memory-accounting
  plan:
  - aggregate:
    - get: gpdb_src
      passed: [compile_gpdb_centos6]
      trigger: true
    - get: bin_gpdb
      passed: [compile_gpdb_centos6]
      resource: bin_gpdb_centos6
    - get: centos-gpdb-dev-6
  - task: memory-accounting
    timeout: 3h
    file: gpdb_src/concourse/tasks/tinc_gpdb.yml
    image: centos-gpdb-dev-6
    params:
      MAKE_TEST_COMMAND: memory_accounting
      TEST_OS: "centos"
1213
      CONFIGURE_FLAGS: {{configure_flags}}
1214 1215 1216 1217 1218 1219 1220 1221

- name: regression_tests_gphdfs_centos
  plan:
  - aggregate:
    - get: gpdb_src
      passed: [compile_gpdb_centos6]
    - get: bin_gpdb
      passed: [compile_gpdb_centos6]
1222
      trigger: true
1223 1224 1225 1226 1227 1228 1229 1230 1231 1232
      resource: bin_gpdb_centos6
    - get: centos-gpdb-dev-6
  - task: regression_tests_gphdfs
    file: gpdb_src/concourse/tasks/regression_tests_gphdfs.yml
    image: centos-gpdb-dev-6
    params:
      TARGET_OS: centos
      TARGET_OS_VERSION: 6

# Stage 2b: Packaging
1233 1234 1235 1236 1237

- name: gpdb_rc_packaging_centos
  plan:
  - aggregate:
    - get: gpdb_src
J
Jingyi Mei 已提交
1238
      passed:
1239 1240
      - compile_gpdb_centos6
      - compile_gpdb_centos7
1241
    - get: gpaddon_src
1242
      passed: [compile_gpdb_centos6]
J
Jingyi Mei 已提交
1243
    - get: bin_gpdb_centos6
1244
      passed: [compile_gpdb_centos6]
J
Jingyi Mei 已提交
1245 1246
      trigger: true
    - get: bin_gpdb_centos7
1247
      passed: [compile_gpdb_centos7]
1248
      trigger: true
1249
    - get: centos-gpdb-dev-6
J
Jingyi Mei 已提交
1250 1251
    - get: centos-gpdb-dev-7
  - task: separate_qautils_files_for_rc_centos6
1252
    file: gpdb_src/concourse/tasks/separate_qautils_files_for_rc.yml
1253
    image: centos-gpdb-dev-6
J
Jingyi Mei 已提交
1254 1255 1256 1257
    input_mapping:
      bin_gpdb: bin_gpdb_centos6
    output_mapping:
      rc_bin_gpdb: rc_bin_gpdb_rhel6
1258 1259
    params:
      QAUTILS_TARBALL: rc_bin_gpdb/QAUtils-rhel6-x86_64.tar.gz
1260

J
Jingyi Mei 已提交
1261 1262 1263 1264 1265 1266 1267 1268 1269 1270
  - task: separate_qautils_files_for_rc_centos7
    file: gpdb_src/concourse/tasks/separate_qautils_files_for_rc.yml
    image: centos-gpdb-dev-7
    input_mapping:
      bin_gpdb: bin_gpdb_centos7
    output_mapping:
      rc_bin_gpdb: rc_bin_gpdb_rhel7
    params:
      QAUTILS_TARBALL: rc_bin_gpdb/QAUtils-rhel7-x86_64.tar.gz

1271
  - task: gpdb_src_tinc_packaging
C
Corbin Halliwill 已提交
1272
    file: gpdb_src/concourse/tasks/gpdb_src_tinc_packaging.yml
1273
    image: centos-gpdb-dev-6
J
Jingyi Mei 已提交
1274 1275
    input_mapping:
      bin_gpdb: bin_gpdb_centos6
1276 1277 1278
    output_mapping:
      rc_bin_gpdb: packaged_gpdb_src_tinc
    params:
1279
      GPDB_SRC_TAR_GZ: rc_bin_gpdb/greenplum-db-@GP_VERSION@-src.tar.gz
1280

M
Marbin Tan 已提交
1281 1282 1283
  - task: gpdb_src_behave_packaging
    file: gpdb_src/concourse/tasks/gpdb_src_behave_packaging.yml
    image: centos-gpdb-dev-6
J
Jingyi Mei 已提交
1284 1285
    input_mapping:
      bin_gpdb: bin_gpdb_centos6
M
Marbin Tan 已提交
1286 1287 1288
    output_mapping:
      rc_bin_gpdb: packaged_gpdb_src_behave
    params:
1289
      GPDB_SRC_TAR_GZ: rc_bin_gpdb/greenplum-db-@GP_VERSION@-behave.tar.gz
M
Marbin Tan 已提交
1290

1291
  - aggregate:
J
Jingyi Mei 已提交
1292
    - task: gpdb_rc_packaging_centos6
1293
      file: gpdb_src/concourse/tasks/gpdb_packaging.yml
1294
      image: centos-gpdb-dev-6
1295
      input_mapping:
J
Jingyi Mei 已提交
1296
        bin_gpdb: rc_bin_gpdb_rhel6
1297
      output_mapping:
J
Jingyi Mei 已提交
1298
        packaged_gpdb: packaged_gpdb_rc_centos6
1299 1300
      params:
        INSTALL_SCRIPT_SRC: gpdb_src/gpAux/addon/license/installer-header-rhel-gpdb.sh
J
Jingyi Mei 已提交
1301
        INSTALLER_ZIP: packaged_gpdb/greenplum-db-@GP_VERSION@-rhel6-x86_64.zip
1302 1303
        ADD_README_INSTALL: true
    - task: gpdb_appliance_rhel6_rc_packaging
1304
      file: gpdb_src/concourse/tasks/gpdb_packaging.yml
1305
      image: centos-gpdb-dev-6
1306
      input_mapping:
J
Jingyi Mei 已提交
1307
        bin_gpdb: rc_bin_gpdb_rhel6
1308
      output_mapping:
J
Jingyi Mei 已提交
1309
        packaged_gpdb: packaged_gpdb_appliance_rc_centos6
1310 1311
      params:
        INSTALL_SCRIPT_SRC: gpdb_src/gpAux/addon/license/installer-appliance-header-rhel-gpdb.sh
J
Jingyi Mei 已提交
1312
        INSTALLER_ZIP: packaged_gpdb/greenplum-db-appliance-@GP_VERSION@-rhel6-x86_64.zip
J
Jingyi Mei 已提交
1313 1314 1315 1316 1317 1318 1319 1320 1321 1322

    - task: gpdb_rc_packaging_centos7
      file: gpdb_src/concourse/tasks/gpdb_packaging.yml
      image: centos-gpdb-dev-7
      input_mapping:
        bin_gpdb: rc_bin_gpdb_rhel7
      output_mapping:
        packaged_gpdb: packaged_gpdb_rc_centos7
      params:
        INSTALL_SCRIPT_SRC: gpdb_src/gpAux/addon/license/installer-header-rhel-gpdb.sh
J
Jingyi Mei 已提交
1323
        INSTALLER_ZIP: packaged_gpdb/greenplum-db-@GP_VERSION@-rhel7-x86_64.zip
J
Jingyi Mei 已提交
1324 1325 1326 1327 1328 1329 1330 1331 1332 1333
        ADD_README_INSTALL: true
    - task: gpdb_appliance_rhel7_rc_packaging
      file: gpdb_src/concourse/tasks/gpdb_packaging.yml
      image: centos-gpdb-dev-7
      input_mapping:
        bin_gpdb: rc_bin_gpdb_rhel7
      output_mapping:
        packaged_gpdb: packaged_gpdb_appliance_rc_centos7
      params:
        INSTALL_SCRIPT_SRC: gpdb_src/gpAux/addon/license/installer-appliance-header-rhel-gpdb.sh
J
Jingyi Mei 已提交
1334
        INSTALLER_ZIP: packaged_gpdb/greenplum-db-appliance-@GP_VERSION@-rhel7-x86_64.zip
1335
  - aggregate:
J
Jingyi Mei 已提交
1336
    # RHEL 6
1337 1338
    - put: installer_rhel6_gpdb_rc
      params:
J
Jingyi Mei 已提交
1339
        file: packaged_gpdb_rc_centos6/greenplum-db-*-rhel6-x86_64.zip
1340
    - put: installer_rhel6_gpdb_rc_sha256
1341
      params:
J
Jingyi Mei 已提交
1342
        file: packaged_gpdb_rc_centos6/greenplum-db-*-rhel6-x86_64.zip.sha256
1343 1344
    - put: installer_appliance_rhel6_gpdb_rc
      params:
J
Jingyi Mei 已提交
1345
        file: packaged_gpdb_appliance_rc_centos6/greenplum-db-appliance-*-rhel6-x86_64.zip
1346
    - put: installer_appliance_rhel6_gpdb_rc_sha256
1347
      params:
J
Jingyi Mei 已提交
1348
        file: packaged_gpdb_appliance_rc_centos6/greenplum-db-appliance-*-rhel6-x86_64.zip.sha256
1349 1350
    - put: qautils_rhel6_tarball
      params:
J
Jingyi Mei 已提交
1351 1352 1353 1354 1355
        file: rc_bin_gpdb_rhel6/QAUtils-rhel6-x86_64.tar.gz

    # RHEL 7
    - put: installer_rhel7_gpdb_rc
      params:
J
Jingyi Mei 已提交
1356
        file: packaged_gpdb_rc_centos7/greenplum-db-*-rhel7-x86_64.zip
1357
    - put: installer_rhel7_gpdb_rc_sha256
J
Jingyi Mei 已提交
1358
      params:
J
Jingyi Mei 已提交
1359
        file: packaged_gpdb_rc_centos7/greenplum-db-*-rhel7-x86_64.zip.sha256
J
Jingyi Mei 已提交
1360 1361
    - put: installer_appliance_rhel7_gpdb_rc
      params:
J
Jingyi Mei 已提交
1362
        file: packaged_gpdb_appliance_rc_centos7/greenplum-db-appliance-*-rhel7-x86_64.zip
1363
    - put: installer_appliance_rhel7_gpdb_rc_sha256
J
Jingyi Mei 已提交
1364
      params:
J
Jingyi Mei 已提交
1365
        file: packaged_gpdb_appliance_rc_centos7/greenplum-db-appliance-*-rhel7-x86_64.zip.sha256
J
Jingyi Mei 已提交
1366 1367 1368 1369 1370
    - put: qautils_rhel7_tarball
      params:
        file: rc_bin_gpdb_rhel7/QAUtils-rhel7-x86_64.tar.gz

    # Source
1371 1372
    - put: gpdb_src_tinc_tarball
      params:
1373
        file: packaged_gpdb_src_tinc/greenplum-db-*-src.tar.gz
M
Marbin Tan 已提交
1374 1375
    - put: gpdb_src_behave_tarball
      params:
1376
        file: packaged_gpdb_src_behave/greenplum-db-*-behave.tar.gz
C
C.J. Jameson 已提交
1377

T
Tom Meyer 已提交
1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401
- name: gpdb_rc_packaging_sles
  plan:
  - aggregate:
    - get: gpdb_src
      passed: [compile_gpdb_sles11]
    - get: gpaddon_src
      passed: [compile_gpdb_sles11]
    - get: bin_gpdb
      resource: bin_gpdb_sles11
      passed: [compile_gpdb_sles11]
      trigger: true
    - get: sles-gpdb-dev-11-beta
  - task: separate_qautils_files_for_rc
    file: gpdb_src/concourse/tasks/separate_qautils_files_for_rc.yml
    image: sles-gpdb-dev-11-beta
    params:
      QAUTILS_TARBALL: rc_bin_gpdb/QAUtils-sles11-x86_64.tar.gz
  - task: gpdb_rc_packaging_sles
    file: gpdb_src/concourse/tasks/gpdb_packaging.yml
    image: sles-gpdb-dev-11-beta
    input_mapping:
      bin_gpdb: rc_bin_gpdb
    params:
      INSTALL_SCRIPT_SRC: gpdb_src/gpAux/addon/license/installer-header-sles-gpdb.sh
J
Jingyi Mei 已提交
1402
      INSTALLER_ZIP: packaged_gpdb/greenplum-db-@GP_VERSION@-sles11-x86_64.zip
T
Tom Meyer 已提交
1403 1404 1405
      ADD_README_INSTALL: true
  - put: installer_sles11_gpdb_rc
    params:
J
Jingyi Mei 已提交
1406
      file: packaged_gpdb/greenplum-db-*-sles11-x86_64.zip
1407
  - put: installer_sles11_gpdb_rc_sha256
T
Tom Meyer 已提交
1408
    params:
J
Jingyi Mei 已提交
1409
      file: packaged_gpdb/greenplum-db-*-sles11-x86_64.zip.sha256
T
Tom Meyer 已提交
1410 1411 1412 1413
  - put: qautils_sles11_tarball
    params:
      file: rc_bin_gpdb/QAUtils-sles11-x86_64.tar.gz

1414
# Stage 3: Trigger jobs that rely on packaging
1415

1416
- name: DPM_netbackup77
1417
  plan:
1418 1419 1420
  - get: nightly-trigger
    trigger: true
  - aggregate: &post_packaging_gets_trigger_false
1421
    - get: gpdb_src
1422
      params: {submodules: none}
1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433
      tags: ["gpdb5-pulse-worker"]
      passed: [gpdb_rc_packaging_centos]
    - get: gpdb_src_tinc_tarball
      tags: ["gpdb5-pulse-worker"]
      passed: [gpdb_rc_packaging_centos]
    - get: installer_rhel6_gpdb_rc
      tags: ["gpdb5-pulse-worker"]
      passed: [gpdb_rc_packaging_centos]
    - get: qautils_rhel6_tarball
      tags: ["gpdb5-pulse-worker"]
      passed: [gpdb_rc_packaging_centos]
1434 1435 1436
    - get: gpdb_src_behave_tarball
      tags: ["gpdb5-pulse-worker"]
      passed: [gpdb_rc_packaging_centos]
1437 1438 1439
  - task: trigger_pulse
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/trigger_pulse.yml
1440
    input_mapping: &input_mappings
1441 1442 1443
      gpdb_src_archive: gpdb_src_tinc_tarball
      installer_gpdb_rc: installer_rhel6_gpdb_rc
      qautils_tarball: qautils_rhel6_tarball
1444 1445
      gpdb_src_behave_tarball: gpdb_src_behave_tarball
    params: &pulse_properties
1446
      PULSE_URL: {{pulse_url}}
1447
      PULSE_PROJECT_NAME: "GPDB-BehaveNetBackup77"
1448 1449 1450
      PULSE_USERNAME: {{pulse_username}}
      PULSE_PASSWORD: {{pulse_password}}
  - task: monitor_pulse
1451
    attempts: 2
1452 1453
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/monitor_pulse.yml
1454 1455
    params: *pulse_properties

1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475
- name: DPM_backup-restore-ddboost
  plan:
  - get: nightly-trigger
    trigger: true
  - aggregate: *post_packaging_gets_trigger_false
  - task: trigger_pulse
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/trigger_pulse.yml
    input_mapping: *input_mappings
    params:
      <<: *pulse_properties
      PULSE_PROJECT_NAME: "GPDB-BehaveBackupRestore_HarmonizeDDBoost"
  - task: monitor_pulse
    attempts: 2
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/monitor_pulse.yml
    params:
      <<: *pulse_properties
      PULSE_PROJECT_NAME: "GPDB-BehaveBackupRestore_HarmonizeDDBoost"

1476
- name: MM_gpcheckcat
1477
  plan:
1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495
  - aggregate: &post_packaging_gets_trigger_true
    - get: gpdb_src
      params: {submodules: none}
      tags: ["gpdb5-pulse-worker"]
      passed: [gpdb_rc_packaging_centos]
      trigger: true
    - get: gpdb_src_tinc_tarball
      tags: ["gpdb5-pulse-worker"]
      passed: [gpdb_rc_packaging_centos]
    - get: installer_rhel6_gpdb_rc
      tags: ["gpdb5-pulse-worker"]
      passed: [gpdb_rc_packaging_centos]
    - get: qautils_rhel6_tarball
      tags: ["gpdb5-pulse-worker"]
      passed: [gpdb_rc_packaging_centos]
    - get: gpdb_src_behave_tarball
      tags: ["gpdb5-pulse-worker"]
      passed: [gpdb_rc_packaging_centos]
1496 1497 1498 1499 1500 1501 1502 1503
  - task: trigger_pulse
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/trigger_pulse.yml
    input_mapping: *input_mappings
    params:
      <<: *pulse_properties
      PULSE_PROJECT_NAME: "GPDB-BehaveGPCheckcat"
  - task: monitor_pulse
1504
    attempts: 2
1505 1506 1507 1508 1509 1510
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/monitor_pulse.yml
    params:
      <<: *pulse_properties
      PULSE_PROJECT_NAME: "GPDB-BehaveGPCheckcat"

1511
- name: MM_gprecoverseg
1512
  plan:
1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525
  - aggregate:
    - get: gpdb_src
      params:
        submodules:
        - gpMgmt/bin/pythonSrc/ext
      passed: [compile_gpdb_centos6]
    - get: gpdb_binary
      resource: bin_gpdb_centos6
      passed: [compile_gpdb_centos6]
      trigger: true
    - get: ccp_src
    - get: centos-gpdb-dev-6
  - put: terraform
1526
    params:
M
Marbin Tan 已提交
1527
      <<: *ccp_create_params
1528 1529 1530 1531 1532 1533 1534
  - task: gen_cluster
    file: ccp_src/ci/tasks/gen_cluster.yml
    on_failure:
      <<: *ccp_destroy
  - task: run_tests
    file: gpdb_src/concourse/tasks/run_behave.yml
    image: centos-gpdb-dev-6
1535
    params:
1536 1537
      BEHAVE_FLAGS: --tags=gprecoverseg
    on_failure:
1538
      <<: *debug_sleep
1539
  - *ccp_destroy
1540

1541
- name: MM_gpexpand
1542
  plan:
1543 1544 1545
  - get: nightly-trigger
    trigger: true
  - aggregate: *post_packaging_gets_trigger_false
1546 1547 1548 1549 1550 1551
  - task: trigger_pulse
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/trigger_pulse.yml
    input_mapping: *input_mappings
    params:
      <<: *pulse_properties
1552
      PULSE_PROJECT_NAME: "GPDB-gpexpand-parallel"
1553
  - task: monitor_pulse
1554
    attempts: 2
1555 1556 1557 1558
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/monitor_pulse.yml
    params:
      <<: *pulse_properties
1559
      PULSE_PROJECT_NAME: "GPDB-gpexpand-parallel"
1560

1561
- name: DPM_gptransfer-43x-to-5x
1562
  plan:
1563 1564 1565
  - get: nightly-trigger
    trigger: true
  - aggregate: *post_packaging_gets_trigger_false
1566 1567 1568 1569 1570 1571 1572 1573
  - task: trigger_pulse
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/trigger_pulse.yml
    input_mapping: *input_mappings
    params:
      <<: *pulse_properties
      PULSE_PROJECT_NAME: "GPDB-behave_gptransfer_43x_to_5x"
  - task: monitor_pulse
1574
    attempts: 2
1575 1576 1577 1578 1579 1580
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/monitor_pulse.yml
    params:
      <<: *pulse_properties
      PULSE_PROJECT_NAME: "GPDB-behave_gptransfer_43x_to_5x"

1581
- name: DPM_gptransfer-5x-to-5x
1582
  plan:
1583
  - aggregate: *post_packaging_gets_trigger_true
1584 1585 1586 1587 1588 1589 1590 1591
  - task: trigger_pulse
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/trigger_pulse.yml
    input_mapping: *input_mappings
    params:
      <<: *pulse_properties
      PULSE_PROJECT_NAME: "GPDB-behave_gptransfer_5x_to_5x"
  - task: monitor_pulse
1592
    attempts: 2
1593 1594 1595 1596 1597 1598
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/monitor_pulse.yml
    params:
      <<: *pulse_properties
      PULSE_PROJECT_NAME: "GPDB-behave_gptransfer_5x_to_5x"

1599 1600 1601

- name: cs-pg-two-phase
  plan:
1602
  - aggregate: *post_packaging_gets_trigger_true
1603 1604 1605
  - task: trigger_pulse
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/trigger_pulse.yml
1606
    input_mapping: *input_mappings
1607
    params:
1608
      <<: *pulse_properties
1609 1610
      PULSE_PROJECT_NAME: "cs-pg-two-phase"
  - task: monitor_pulse
1611
    attempts: 2
1612 1613 1614
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/monitor_pulse.yml
    params:
1615
      <<: *pulse_properties
1616 1617
      PULSE_PROJECT_NAME: "cs-pg-two-phase"

1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655
- name: cs-filerep-schema-topology-crashrecov
  plan:
  - aggregate: *post_packaging_gets_trigger_true
  - task: trigger_pulse
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/trigger_pulse.yml
    input_mapping: *input_mappings
    params:
      <<: *pulse_properties
      PULSE_PROJECT_NAME: "cs-filerep-schema-topology-crashrecov"
  - task: monitor_pulse
    attempts: 2
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/monitor_pulse.yml
    params:
      <<: *pulse_properties
      PULSE_PROJECT_NAME: "cs-filerep-schema-topology-crashrecov"

- name: cs-filerep-end-to-end
  plan:
  - get: nightly-trigger
    trigger: true
  - aggregate: *post_packaging_gets_trigger_false
  - task: trigger_pulse
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/trigger_pulse.yml
    input_mapping: *input_mappings
    params:
      <<: *pulse_properties
      PULSE_PROJECT_NAME: "cs-filerep-end-to-end"
  - task: monitor_pulse
    attempts: 2
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/monitor_pulse.yml
    params:
      <<: *pulse_properties
      PULSE_PROJECT_NAME: "cs-filerep-end-to-end"

1656 1657
- name: cs-aoco-compression
  plan:
1658
  - get: nightly-trigger
1659
    trigger: true
1660
  - aggregate: *post_packaging_gets_trigger_false
1661 1662 1663 1664 1665 1666 1667 1668
  - task: trigger_pulse
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/trigger_pulse.yml
    input_mapping: *input_mappings
    params:
      <<: *pulse_properties
      PULSE_PROJECT_NAME: "cs-aoco-compression"
  - task: monitor_pulse
1669
    attempts: 2
1670 1671 1672 1673 1674 1675
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/monitor_pulse.yml
    params:
      <<: *pulse_properties
      PULSE_PROJECT_NAME: "cs-aoco-compression"

M
Marbin Tan 已提交
1676
- name: mpp_interconnect
1677
  plan:
1678
  - aggregate: *post_packaging_gets_trigger_true
1679 1680 1681
  - task: trigger_pulse
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/trigger_pulse.yml
1682
    input_mapping: *input_mappings
1683
    params:
1684
      <<: *pulse_properties
1685 1686
      PULSE_PROJECT_NAME: "mpp-interconnect"
  - task: monitor_pulse
1687
    attempts: 2
1688 1689 1690
    tags: ["gpdb5-pulse-worker"]
    file: gpdb_src/ci/pulse/api/monitor_pulse.yml
    params:
1691
      <<: *pulse_properties
1692 1693
      PULSE_PROJECT_NAME: "mpp-interconnect"

1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710
- name: QP_runaway-query
  plan:
  - aggregate:
    - get: gpdb_src
      passed: [compile_gpdb_centos6]
      trigger: true
    - get: bin_gpdb
      passed: [compile_gpdb_centos6]
      resource: bin_gpdb_centos6
    - get: centos-gpdb-dev-6
  - task: runaway-query
    timeout: 3h
    file: gpdb_src/concourse/tasks/tinc_gpdb.yml
    image: centos-gpdb-dev-6
    params:
      MAKE_TEST_COMMAND: runaway_query
      TEST_OS: "centos"
1711
      CONFIGURE_FLAGS: {{configure_flags}}
1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730

- name: QP_optimizer-functional
  plan:
  - aggregate:
    - get: gpdb_src
      params: {submodules: none}
      passed: [compile_gpdb_centos6]
    - get: bin_gpdb
      resource: bin_gpdb_centos6
      passed: [compile_gpdb_centos6]
      trigger: true
    - get: centos-gpdb-dev-6
  - aggregate:
    - task: optimizer_functional_part1
      timeout: 3h
      file: gpdb_src/concourse/tasks/tinc_gpdb.yml
      image: centos-gpdb-dev-6
      params:
        MAKE_TEST_COMMAND: optimizer_functional_part1
V
Venkatesh Raghavan 已提交
1731
        BLDWRAP_POSTGRES_CONF_ADDONS: fsync=off optimizer_print_missing_stats=off
1732
        TEST_OS: centos
1733
        CONFIGURE_FLAGS: {{configure_flags}}
1734 1735 1736 1737 1738 1739
    - task: optimizer_functional_part2
      timeout: 3h
      file: gpdb_src/concourse/tasks/tinc_gpdb.yml
      image: centos-gpdb-dev-6
      params:
        MAKE_TEST_COMMAND: optimizer_functional_part2
V
Venkatesh Raghavan 已提交
1740
        BLDWRAP_POSTGRES_CONF_ADDONS: fsync=off optimizer_print_missing_stats=off
1741
        TEST_OS: centos
1742
        CONFIGURE_FLAGS: {{configure_flags}}
1743

1744 1745 1746 1747 1748 1749 1750 1751 1752 1753
- name: validate_pipeline
  plan:
  - aggregate:
    - get: gpdb_src
      trigger: true
    - get: centos-gpdb-dev-6
  - task: validate_pipeline
    file: gpdb_src/concourse/tasks/validate_pipeline.yml
    image: centos-gpdb-dev-6

1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769
- name: Release_Candidate
  plan:
  - get: gpdb_src
    trigger: true
    passed:
    - compile_gpdb_centos6
    - compile_gpdb_open_source_centos6
    - compile_gpdb_centos7
    - compile_gpdb_sles11
    - compile_gpdb_windows_cl
    - icw_planner_centos6
    - icw_gporca_centos6
    - icw_gporca_centos7
    - icw_gporca_sles11
    - icw_planner_ictcp_centos6
    - MU_check_centos
1770 1771
    - MM_analyzedb
    - MM_gpinitsystem
1772 1773 1774 1775 1776 1777 1778
    - MM_gpperfmon
    - MM_gpcheck
    - DPM_backup-restore
    - MM_gppkg
    - MM_pt-rebuild
    - fts
    - storage
1779 1780
    - cs_walrep_1
    - cs_walrep_2
1781
    - QP_memory-accounting
1782
    - regression_tests_gpcloud_centos
1783
    - regression_tests_gphdfs_centos
1784
    - regression_tests_pxf_centos
1785 1786 1787 1788 1789 1790 1791 1792
    - gpdb_rc_packaging_centos
    - gpdb_rc_packaging_sles
    - DPM_netbackup77
    - DPM_backup-restore-ddboost
    - DPM_backup_43_restore_5
    - MM_gpcheckcat
    - MM_gprecoverseg
    - MM_gpexpand
M
Marbin Tan 已提交
1793
    - MM_gpinitstandby
1794 1795 1796 1797 1798 1799 1800 1801 1802
    - DPM_gptransfer-43x-to-5x
    - DPM_gptransfer-5x-to-5x
    - cs-pg-two-phase
    - cs-filerep-schema-topology-crashrecov
    - cs-filerep-end-to-end
    - cs-aoco-compression
    - mpp_interconnect
    - QP_runaway-query
    - QP_optimizer-functional
1803
    - validate_pipeline
1804