gpdb_6X_STABLE-generated.yml 84.0 KB
Newer Older
K
Kalen Krempely 已提交
1
## ######################################################################
2
##            ___   ___    _  _  ___ _____   ___ ___ ___ _____
3
##           |   \ / _ \  | \| |/ _ \_   _| | __|   \_ _|_   _|
4 5 6
##           | |) | (_) | | .` | (_) || |   | _|| |) | |  | |
##           |___/ \___/  |_|\_|\___/ |_|   |___|___/___| |_|
##            _____ _  _ ___ ___   ___ ___ _    ___ _
7 8 9 10 11 12 13 14
##           |_   _| || |_ _/ __| | __|_ _| |  | __| |
##             | | | __ || |\__ \ | _| | || |__| _||_|
##             |_| |_||_|___|___/ |_| |___|____|___(_)
##
## This is a generated file. Please edit the corresponding template
## file (example: templates/gpdb-tpl.yml) and regenerate the pipeline
## using appropriate tool (example: gen_pipeline.py -t prod).
## ----------------------------------------------------------------------
15
## Generated by gen_pipeline.py at: 2019-06-26 14:06:46.029533
16
## Template file: gpdb-tpl.yml
17
## OS Types: ['centos6', 'centos7', 'ubuntu18.04', 'win']
18
## Test Sections: ['ICW', 'Replication', 'ResourceGroups', 'Interconnect', 'CLI', 'UD', 'AA', 'Extensions', 'Gpperfmon']
19
## ======================================================================
K
Kris Macoskey 已提交
20

21
## ======================================================================
22
##   __ _ _ __ ___  _   _ _ __  ___
23 24 25
##  / _` | '__/ _ \| | | | '_ \/ __|
## | (_| | | | (_) | |_| | |_) \__ \
##  \__, |_|  \___/ \__,_| .__/|___/
26
##  |___/                |_|
27 28
## ======================================================================

29 30 31
groups:
- name: all
  jobs:
32
  - concourse_unit_tests
33
  - compile_gpdb_centos6
34
  - prepare_binary_swap_gpdb_centos6
35
  - compile_gpdb_open_source_centos6
36
  - compile_gpdb_centos7
37
  - compile_gpdb_ubuntu18.04
38
  - compile_gpdb_clients_windows
39
  - test_gpdb_clients_windows
40
  ## --------------------------------------------------------------------
41
  - icw_gporca_centos6
42 43 44
  - icw_gporca_centos6_gpos_memory
  - icw_planner_centos6
  - icw_planner_ictcp_centos6
45
  - gpexpand
46
  - pg_upgrade
47
  - icw_gporca_centos7
K
Kris Macoskey 已提交
48
  - icw_planner_centos7
49 50
  - icw_gporca_ubuntu18.04
  - icw_planner_ubuntu18.04
51
  - gate_icw_end
52
  ## --------------------------------------------------------------------
53
  - interconnect
54
  ## --------------------------------------------------------------------
55
  - gate_resource_groups_start
56 57
  - resource_group_centos6
  - resource_group_centos7
58
  ## --------------------------------------------------------------------
59 60 61 62
  - gate_gpperfmon_start
  - gpperfmon_centos6
  - gpperfmon_centos7
  ## --------------------------------------------------------------------
63
  - gate_cli_start
64
  - gpmovemirrors
65
  - gpmovemirrors_ubuntu18
66
  - gppkg
67
  - gppkg_ubuntu18
68
  - analyzedb
69
  - analyzedb_ubuntu18
70
  - gpinitsystem
71
  - gpinitsystem_ubuntu18
J
Jacob Champion 已提交
72
  - gpstate
73
  - gpstate_ubuntu18
74
  - replication_slots
75
  - replication_slots_ubuntu18
76
  - gpactivatestandby
77
  - gpactivatestandby_ubuntu18
78
  - gpinitstandby
79
  - gpinitstandby_ubuntu18
80
  - gpcheckcat
81
  - gpcheckcat_ubuntu18
82
  - gprecoverseg
83
  - gprecoverseg_ubuntu18
84
  - gpaddmirrors
85
  - gpaddmirrors_ubuntu18
86
  - gpconfig
87
  - gpconfig_ubuntu18
88
  - gpssh-exkeys
89
  - gpssh-exkeys_ubuntu18
90
  - check_centos
91
  ## --------------------------------------------------------------------
92
  - gate_advanced_analytics_start
93
  - madlib_build_gppkg
94 95 96 97
  - MADlib_Test_orca_centos6
  - MADlib_Test_planner_centos6
  - MADlib_Test_orca_centos7
  - MADlib_Test_planner_centos7
98 99
 ## ---------------------------------------------------------------------
  - icw_extensions_gpcloud_centos6
100

101 102

## ======================================================================
103 104 105

- name: Release
  jobs:
106
  - gate_release_candidate_start
107
  - Release_Candidate
108

109 110
## ======================================================================

111
- name: Compile
112 113
  jobs:
  - compile_gpdb_centos6
114
  - compile_gpdb_open_source_centos6
115
  - compile_gpdb_centos7
116
  - compile_gpdb_ubuntu18.04
117
  - compile_gpdb_clients_windows
118
  - test_gpdb_clients_windows
119

120 121
## ======================================================================

122
- name: ICW
123
  jobs:
124
  - prepare_binary_swap_gpdb_centos6
125 126
  - icw_gporca_centos6
  - icw_gporca_centos6_gpos_memory
127
  - icw_planner_centos6
128
  - icw_planner_ictcp_centos6
129
  - compile_gpdb_centos6
130
  - pg_upgrade
131
  - icw_gporca_centos7
K
Kris Macoskey 已提交
132
  - icw_planner_centos7
133
  - compile_gpdb_centos7
134 135
  - icw_gporca_ubuntu18.04
  - icw_planner_ubuntu18.04
136 137
  - gate_icw_end

138 139 140 141 142 143 144

## ======================================================================

- name: Extensions
  jobs:
  - icw_extensions_gpcloud_centos6

145 146
## ======================================================================

147
- name: Interconnect
M
Michael Roth 已提交
148
  jobs:
149
  - compile_gpdb_centos6
150
  - interconnect
151 152 153 154 155

## ======================================================================

- name: ResourceGroups
  jobs:
156
  - gate_resource_groups_start
157
  - resource_group_centos6
158
  - compile_gpdb_centos6
159
  - resource_group_centos7
160
  - compile_gpdb_centos7
161

162 163
## ======================================================================

164 165 166 167 168 169 170 171 172 173
- name: Gpperfmon
  jobs:
  - gate_gpperfmon_start
  - gpperfmon_centos6
  - compile_gpdb_centos6
  - gpperfmon_centos7
  - compile_gpdb_centos7

## ======================================================================

174
- name: CLI
175
  jobs:
176
  - gate_cli_start
177
  - compile_gpdb_ubuntu18.04
178
  - gpmovemirrors
179
  - gpmovemirrors_ubuntu18
180
  - gppkg
181
  - gppkg_ubuntu18
182
  - analyzedb
183
  - analyzedb_ubuntu18
184
  - gpinitsystem
185
  - gpinitsystem_ubuntu18
J
Jacob Champion 已提交
186
  - gpstate
187
  - gpstate_ubuntu18
188
  - replication_slots
189
  - replication_slots_ubuntu18
190
  - gpactivatestandby
191
  - gpactivatestandby_ubuntu18
192
  - gpinitstandby
193
  - gpinitstandby_ubuntu18
194
  - gpcheckcat
195
  - gpcheckcat_ubuntu18
196
  - gprecoverseg
197
  - gprecoverseg_ubuntu18
198
  - gpaddmirrors
199
  - gpaddmirrors_ubuntu18
200
  - gpconfig
201
  - gpconfig_ubuntu18
202
  - gpssh-exkeys
203
  - gpssh-exkeys_ubuntu18
204
  - check_centos
205
  - compile_gpdb_centos6
206
  - gpexpand
207
  - pg_upgrade
208

209 210 211 212

- name: AdvancedAnalytics
  jobs:
  - gate_advanced_analytics_start
213
  - madlib_build_gppkg
214 215 216 217 218
  - MADlib_Test_orca_centos6
  - MADlib_Test_planner_centos6
  - MADlib_Test_orca_centos7
  - MADlib_Test_planner_centos7

219
## ======================================================================
220 221
##                                           _
##  _ __ ___  ___  ___  _   _ _ __ ___ ___  | |_ _   _ _ __   ___  ___
222 223 224
## | '__/ _ \/ __|/ _ \| | | | '__/ __/ _ \ | __| | | | '_ \ / _ \/ __|
## | | |  __/\__ \ (_) | |_| | | | (_|  __/ | |_| |_| | |_) |  __/\__ \
## |_|  \___||___/\___/ \__,_|_|  \___\___|  \__|\__, | .__/ \___||___/
225
##                                               |___/|_|
226 227 228 229 230 231 232
## ======================================================================

resource_types:
- name: terraform
  type: docker-image
  source:
    repository: ljfranklin/terraform-resource
233
    tag: 0.11.14
234 235 236 237
- name: gcs
  type: docker-image
  source:
    repository: frodenas/gcs-resource
238 239 240 241 242
- name: pivnet
  type: docker-image
  source:
    repository: pivotalcf/pivnet-resource
    tag: latest-final
243
## ======================================================================
244
##  _ __ ___  ___  ___  _   _ _ __ ___ ___  ___
245 246 247
## | '__/ _ \/ __|/ _ \| | | | '__/ __/ _ \/ __|
## | | |  __/\__ \ (_) | |_| | | | (_|  __/\__ \
## |_|  \___||___/\___/ \__,_|_|  \___\___||___/
248 249 250
## ======================================================================

resources:
251 252 253 254 255 256 257 258 259 260 261 262 263
- name: ccp_src
  type: git
  source:
    branch: {{ccp-git-branch}}
    private_key: {{ccp-git-key}}
    uri: {{ccp-git-remote}}

- name: terraform
  type: terraform
  source:
    env:
      AWS_ACCESS_KEY_ID: {{tf-machine-access-key-id}}
      AWS_SECRET_ACCESS_KEY: {{tf-machine-secret-access-key}}
A
Alexandra Wang 已提交
264 265 266
      GOOGLE_CREDENTIALS: {{google-service-account-key}}
    vars:
      project_id: {{google-project-id}}
267 268 269 270 271 272 273
    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
A
Alexandra Wang 已提交
274
      bucket_path: clusters-google/
275

276 277 278 279 280 281
- name: ccp-image
  type: docker-image
  source:
    repository: pivotaldata/ccp
    tag: '7'

282
- name: icw_gporca_centos6_dump
283
  type: gcs
284
  source:
285 286 287
    bucket: ((gcs-bucket-intermediates))
    json_key: ((concourse-gcs-resources-service-account-key))
    versioned_file: ((pipeline-name))/icw_gporca_centos6_dump/dump.sql.xz
288

289 290 291 292 293
- name: gpdb_src
  type: git
  source:
    branch: {{gpdb-git-branch}}
    uri: {{gpdb-git-remote}}
294 295 296
    ignore_paths:
    - gpdb-doc/*
    - README*
297

298
- name: bats_core_src
299 300 301 302
  type: git
  source:
    branch: master
    uri: https://github.com/bats-core/bats-core.git
303
    tag_filter: v1.1.0
304

305 306
- name: previous_gpdb_rpm
  type: pivnet
307
  source:
308 309 310
    api_token: ((pivotal-gpdb-pivnet-api-token))
    product_slug: pivotal-gpdb
    product_version: ((pivotal-gpdb-pivnet-product-version))
311

312

313 314 315 316 317 318 319 320 321 322 323 324 325 326
- name: libquicklz-centos6
  type: gcs
  source:
    bucket: ((pivotal-gp-internal-artifacts-gcs-bucket))
    json_key: ((gcs-key))
    regexp: centos6/libquicklz-(\d.*)\.el6\.x86_64\.rpm

- name: libquicklz-devel-centos6
  type: gcs
  source:
    bucket: ((pivotal-gp-internal-artifacts-gcs-bucket))
    json_key: ((gcs-key))
    regexp: centos6/libquicklz-devel-(\d.*)\.el6\.x86_64\.rpm

327 328 329 330 331 332 333
- name: libsigar-centos6
  type: gcs
  source:
    bucket: ((pivotal-gp-internal-artifacts-gcs-bucket))
    json_key: ((gcs-key))
    regexp: centos6/sigar-rhel6_x86_64-(.*)\.targz

334 335 336 337 338 339 340 341 342 343 344 345 346 347
- name: libquicklz-centos7
  type: gcs
  source:
    bucket: ((pivotal-gp-internal-artifacts-gcs-bucket))
    json_key: ((gcs-key))
    regexp: centos7/libquicklz-(\d.*)\.el7\.x86_64\.rpm

- name: libquicklz-devel-centos7
  type: gcs
  source:
    bucket: ((pivotal-gp-internal-artifacts-gcs-bucket))
    json_key: ((gcs-key))
    regexp: centos7/libquicklz-devel-(\d.*)\.el7\.x86_64\.rpm

348 349 350 351 352 353 354
- name: libsigar-centos7
  type: gcs
  source:
    bucket: ((pivotal-gp-internal-artifacts-gcs-bucket))
    json_key: ((gcs-key))
    regexp: centos7/sigar-rhel7_x86_64-(.*)\.targz

355 356 357 358 359 360
- name: libquicklz-ubuntu18.04
  type: gcs
  source:
    bucket: ((pivotal-gp-internal-artifacts-gcs-bucket))
    json_key: ((gcs-key))
    versioned_file: ubuntu18.04/libquicklz-dev_1.5.0-1_amd64.deb
361 362 363 364 365 366 367 368 369 370 371 372 373 374
- name: python-centos6
  type: gcs
  source:
    bucket: gp-internal-artifacts
    json_key: ((gcs-key))
    versioned_file: centos6/python-2.7.12.tar.gz

- name: python-centos7
  type: gcs
  source:
    bucket: gp-internal-artifacts
    json_key: ((gcs-key))
    versioned_file: centos7/python-2.7.12.tar.gz

375 376 377 378 379 380 381
- name: python-ubuntu18.04
  type: gcs
  source:
    bucket: gp-internal-artifacts
    json_key: ((gcs-key))
    versioned_file: ubuntu18.04/python-2.7.12.tar.gz

382
- name: gpdb6-centos6-build
383 384
  type: docker-image
  source:
385 386
    repository: pivotaldata/gpdb6-centos6-build
    tag: latest
387

388
- name: gpdb6-centos6-test
389 390
  type: docker-image
  source:
391 392 393
    repository: pivotaldata/gpdb6-centos6-test
    tag: latest
- name: gpdb6-centos7-build
394 395
  type: docker-image
  source:
396 397
    repository: pivotaldata/gpdb6-centos7-build
    tag: latest
398

399
- name: gpdb6-centos7-test
400 401
  type: docker-image
  source:
402 403
    repository: pivotaldata/gpdb6-centos7-test
    tag: latest
404

405 406 407 408 409 410 411 412 413 414 415 416
- name: gpdb6-ubuntu18.04-build
  type: docker-image
  source:
    repository: pivotaldata/gpdb6-ubuntu18.04-build
    tag: latest

- name: gpdb6-ubuntu18.04-test
  type: docker-image
  source:
    repository: pivotaldata/gpdb6-ubuntu18.04-test
    tag: latest

J
Jingyi Mei 已提交
417
- name: bin_gpdb_centos6
418
  type: gcs
419
  source:
420 421 422
    bucket: ((gcs-bucket-intermediates))
    json_key: ((concourse-gcs-resources-service-account-key))
    versioned_file: ((pipeline-name))/bin_gpdb_centos6/bin_gpdb.tar.gz
423

424 425 426 427 428 429 430
- name: bin_gpdb_clients_centos6
  type: gcs
  source:
    bucket: ((gcs-bucket-intermediates))
    json_key: ((concourse-gcs-resources-service-account-key))
    versioned_file: ((pipeline-name))/bin_gpdb_clients_centos6/bin_gpdb_clients.tar.gz

431 432 433 434 435 436 437
- name: bin_gpdb_centos6_icw_green
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
438
    versioned_file: bin_gpdb_centos6/gpdb_branch_6X_STABLE/icw_green/bin_gpdb.tar.gz
439

440
- name: bin_gpdb_centos6_rc
441 442 443 444 445 446 447 448 449 450 451 452 453
  type: gcs
  source:
    bucket: ((gcs-bucket))
    json_key: ((concourse-gcs-resources-service-account-key))
    regexp: server/published/gpdb6/server-rc-(.*)-rhel6_x86_64((rc-build-type-gcs)).tar.gz

- name: bin_gpdb_centos7_rc
  type: gcs
  source:
    bucket: ((gcs-bucket))
    json_key: ((concourse-gcs-resources-service-account-key))
    regexp: server/published/gpdb6/server-rc-(.*)-rhel7_x86_64((rc-build-type-gcs)).tar.gz

454 455 456 457 458 459 460
- name: bin_gpdb_ubuntu18.04_rc
  type: gcs
  source:
    bucket: ((gcs-bucket))
    json_key: ((concourse-gcs-resources-service-account-key))
    regexp: server/published/gpdb6/server-rc-(.*)-ubuntu18.04_x86_64((rc-build-type-gcs)).tar.gz

461 462
# DEPRECATED: Use the above GCS resources instead of these S3 resources.
- name: bin_gpdb_centos6_rc_s3
463 464 465 466 467 468 469
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{gpdb-stable-builds-bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
    versioned_file: release_candidates/bin_gpdb_centos6/gpdb6/((rc-build-type))/bin_gpdb.tar.gz
470
- name: bin_gpdb_centos7_rc_s3
471 472 473 474 475 476 477 478
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{gpdb-stable-builds-bucket-name}}
    region_name: {{aws-region}}
    secret_access_key: {{bucket-secret-access-key}}
    versioned_file: release_candidates/bin_gpdb_centos7/gpdb6/((rc-build-type))/bin_gpdb.tar.gz

479 480 481 482 483
- name: bin_gpdb_clients_centos6_rc
  type: gcs
  source:
    bucket: ((gcs-bucket))
    json_key: ((concourse-gcs-resources-service-account-key))
484
    regexp: clients/published/gpdb6/clients-rc-(.*)-rhel6_x86_64((rc-build-type-gcs)).tar.gz
485 486 487 488 489 490

- name: bin_gpdb_clients_centos7_rc
  type: gcs
  source:
    bucket: ((gcs-bucket))
    json_key: ((concourse-gcs-resources-service-account-key))
491
    regexp: clients/published/gpdb6/clients-rc-(.*)-rhel7_x86_64((rc-build-type-gcs)).tar.gz
492

493 494 495 496 497 498 499
- name: bin_gpdb_clients_ubuntu18.04_rc
  type: gcs
  source:
    bucket: ((gcs-bucket))
    json_key: ((concourse-gcs-resources-service-account-key))
    regexp: clients/published/gpdb6/clients-rc-(.*)-ubuntu18.04_x86_64((rc-build-type-gcs)).tar.gz

500
- name: binary_swap_gpdb_centos6
501
  type: gcs
502
  source:
503 504 505
    bucket: ((gcs-bucket-intermediates))
    json_key: ((concourse-gcs-resources-service-account-key))
    versioned_file: ((pipeline-name))/binary_swap_gpdb_centos6/bin_gpdb.tar.gz
506

J
Jingyi Mei 已提交
507
- name: bin_gpdb_centos7
508
  type: gcs
J
Jingyi Mei 已提交
509
  source:
510 511 512
    bucket: ((gcs-bucket-intermediates))
    json_key: ((concourse-gcs-resources-service-account-key))
    versioned_file: ((pipeline-name))/bin_gpdb_centos7/bin_gpdb.tar.gz
J
Jingyi Mei 已提交
513

514 515 516 517 518 519 520
- name: bin_gpdb_clients_centos7
  type: gcs
  source:
    bucket: ((gcs-bucket-intermediates))
    json_key: ((concourse-gcs-resources-service-account-key))
    versioned_file: ((pipeline-name))/bin_gpdb_clients_centos7/bin_gpdb_clients.tar.gz

521 522 523 524 525 526 527 528 529 530 531 532 533 534
- name: bin_gpdb_ubuntu18.04
  type: gcs
  source:
    bucket: ((gcs-bucket-intermediates))
    json_key: ((concourse-gcs-resources-service-account-key))
    versioned_file: ((pipeline-name))/bin_gpdb_ubuntu18.04/bin_gpdb.tar.gz

- name: bin_gpdb_clients_ubuntu18.04
  type: gcs
  source:
    bucket: ((gcs-bucket-intermediates))
    json_key: ((concourse-gcs-resources-service-account-key))
    versioned_file: ((pipeline-name))/bin_gpdb_clients_ubuntu18.04/bin_gpdb_clients.tar.gz

535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554
- name: terraform_windows
  type: terraform
  source:
    env:
      AWS_ACCESS_KEY_ID: {{tf-machine-access-key-id}}
      AWS_SECRET_ACCESS_KEY: {{tf-machine-secret-access-key}}
      GOOGLE_CREDENTIALS: {{google-service-account-key}}
    vars:
      project: {{google-project-id}}
      region: {{google-region}}
      region_zone: {{google-zone}}
    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
      bucket_path: gp-clients-windows-tests-google/

555 556 557 558 559
- name: bin_gpdb_clients_windows
  type: gcs
  source:
    bucket: ((gcs-bucket-intermediates))
    json_key: ((concourse-gcs-resources-service-account-key))
560
    versioned_file: ((pipeline-name))/bin_gpdb_clients_windows/greenplum-clients-x86_64.tar.gz
561

562 563 564 565 566
- name: bin_gpdb_clients_windows_rc
  type: gcs
  source:
    bucket: ((gcs-bucket))
    json_key: ((concourse-gcs-resources-service-account-key))
567
    regexp: clients/published/gpdb6/greenplum-clients-(.*)-x86_64.msi
568 569 570
- name: madlib_src
  type: git
  source:
571 572
    branch: {{madlib-git-branch}}
    uri: {{madlib-git-remote}}
573

574 575 576 577 578 579 580 581
- name: madlib_ci
  type: git
  source:
    branch: {{madlib-ci-git-branch}}
    uri: {{madlib-ci-git-remote}}
    private_key: {{madlib-ci-git-key}}

- name: madlib_gppkg
582
  type: gcs
583
  source:
584 585 586
    bucket: ((gcs-bucket-intermediates))
    json_key: ((concourse-gcs-resources-service-account-key))
    versioned_file: ((pipeline-name))/madlib_gppkg/madlib-master-gp6-rhel6-x86_64.gppkg
587 588 589 590 591 592 593

- name: cmake_tar
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{madlib-bucket-name}}
    region_name: {{madlib-s3-region}}
594
    secret_access_key: {{bucket-secret-access-key}}
595
    versioned_file: {{madlib-cmake-versioned-file}}
596

597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622
- name: pyxb
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{madlib-bucket-name}}
    region_name: {{madlib-s3-region}}
    secret_access_key: {{bucket-secret-access-key}}
    versioned_file: {{madlib-pyxb-versioned-file}}

- name: eigen
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{madlib-bucket-name}}
    region_name: {{madlib-s3-region}}
    secret_access_key: {{bucket-secret-access-key}}
    versioned_file: {{madlib-eigen-versioned-file}}

- name: boost
  type: s3
  source:
    access_key_id: {{bucket-access-key-id}}
    bucket: {{madlib-bucket-name}}
    region_name: {{madlib-s3-region}}
    secret_access_key: {{bucket-secret-access-key}}
    versioned_file: {{madlib-boost-versioned-file}}
623

624 625 626 627
- name: reduced-frequency-trigger
  type: time
  source:
    location: America/Los_Angeles
M
Michael Roth 已提交
628
    days: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]
629 630
    start: {{reduced-frequency-trigger-start}}
    stop: {{reduced-frequency-trigger-stop}}
631
## ======================================================================
632 633
##                   _
##   __ _ _ __   ___| |__   ___  _ __ ___
634 635 636
##  / _` | '_ \ / __| '_ \ / _ \| '__/ __|
## | (_| | | | | (__| | | | (_) | |  \__ \
##  \__,_|_| |_|\___|_| |_|\___/|_|  |___/
637
## ======================================================================
638

639
anchors:
640
- &ccp_default_params
641 642 643
  action: create
  delete_on_failure: true
  generate_random_name: true
A
Alexandra Wang 已提交
644
  terraform_source: ccp_src/google/
645

646
- &ccp_default_vars
A
Alexandra Wang 已提交
647 648
  instance_type: n1-standard-1
  PLATFORM: centos6
649

650
- &ccp_destroy
651 652 653 654
  put: terraform
  params:
    action: destroy
    env_name_file: terraform/name
A
Alexandra Wang 已提交
655
    terraform_source: ccp_src/google/
656 657
    vars:
      aws_instance-node-instance_type: t2.micro #t2.micro is ignored in destroy, but aws_instance-node-instance_type is required.
658
      aws_ebs_volume_type: standard
659 660 661
  get_params:
    action: destroy

662
- &ccp_destroy_two_clusters
C
Chris Hajas 已提交
663 664 665 666 667 668
  do:
  - *ccp_destroy
  - put: terraform2
    params:
      action: destroy
      env_name_file: terraform2/name
A
Alexandra Wang 已提交
669
      terraform_source: ccp_src/google/
C
Chris Hajas 已提交
670
      vars:
A
Alexandra Wang 已提交
671
        PLATFORM: centos6
C
Chris Hajas 已提交
672 673 674 675 676
        aws_instance-node-instance_type: t2.micro
        cluster_suffix: "-2"
    get_params:
      action: destroy

677
- &ccp_gen_cluster_default_params
678 679 680
  AWS_ACCESS_KEY_ID: {{tf-machine-access-key-id}}
  AWS_SECRET_ACCESS_KEY: {{tf-machine-secret-access-key}}
  AWS_DEFAULT_REGION: {{aws-region}}
A
Alexandra Wang 已提交
681
  BUCKET_PATH: clusters-google/
682
  BUCKET_NAME: {{tf-bucket-name}}
A
Alexandra Wang 已提交
683
  CLOUD_PROVIDER: google
684

685
- &set_failed
686
  do:
687
  - task: on_failure_set_failed
688 689 690 691 692
    config:
      platform: linux
      image_resource:
        type: docker-image
        source:
693
          repository: pivotaldata/ccp
694 695 696 697
          tag: "7"
      inputs:
        - name: ccp_src
        - name: terraform
698
      run:
A
Alexandra Wang 已提交
699
        path: 'ccp_src/google/ccp_failed_test.sh'
700
      params:
A
Alexandra Wang 已提交
701 702 703 704
        GOOGLE_CREDENTIALS: {{google-service-account-key}}
        GOOGLE_PROJECT_ID: {{google-project-id}}
        GOOGLE_ZONE: {{google-zone}}
        GOOGLE_SERVICE_ACCOUNT: {{google-service-account}}
705 706 707
        AWS_ACCESS_KEY_ID: {{tf-machine-access-key-id}}
        AWS_SECRET_ACCESS_KEY: {{tf-machine-secret-access-key}}
        AWS_DEFAULT_REGION: {{tf-machine-region}}
A
Alexandra Wang 已提交
708
        BUCKET_PATH: clusters-google/
709
        BUCKET_NAME: {{tf-bucket-name}}
710

711
- &set_failed_two_clusters
712 713 714 715 716 717 718 719 720 721 722 723 724 725
  do:
  - *set_failed
  - task: on_failure_set_failed
    config:
      platform: linux
      image_resource:
        type: docker-image
        source:
          repository: pivotaldata/ccp
          tag: "7"
      inputs:
        - name: ccp_src
        - name: terraform2
      run:
A
Alexandra Wang 已提交
726
        path: 'ccp_src/google/ccp_failed_test.sh'
727
      params:
A
Alexandra Wang 已提交
728 729 730 731
        GOOGLE_CREDENTIALS: {{google-service-account-key}}
        GOOGLE_PROJECT_ID: {{google-project-id}}
        GOOGLE_ZONE: {{google-zone}}
        GOOGLE_SERVICE_ACCOUNT: {{google-service-account}}
732 733 734
        AWS_ACCESS_KEY_ID: {{tf-machine-access-key-id}}
        AWS_SECRET_ACCESS_KEY: {{tf-machine-secret-access-key}}
        AWS_DEFAULT_REGION: {{tf-machine-region}}
A
Alexandra Wang 已提交
735
        BUCKET_PATH: clusters-google/
736
        BUCKET_NAME: {{tf-bucket-name}}
737

738
## ======================================================================
739 740
##    _       _
##   (_) ___ | |__  ___
741 742 743
##   | |/ _ \| '_ \/ __|
##   | | (_) | |_) \__ \
##  _/ |\___/|_.__/|___/
744
## |__/
745 746 747 748
## ======================================================================

jobs:

749 750 751 752 753 754 755 756 757 758 759 760
## ======================================================================
##  ____  _            _ _              _   _       _ _     _____         _
## |  _ \(_)_ __   ___| (_)_ __   ___  | | | |_ __ (_) |_  |_   _|__  ___| |_ ___
## | |_) | | '_ \ / _ \ | | '_ \ / _ \ | | | | '_ \| | __|   | |/ _ \/ __| __/ __|
## |  __/| | |_) |  __/ | | | | |  __/ | |_| | | | | | |_    | |  __/\__ \ |_\__ \
## |_|   |_| .__/ \___|_|_|_| |_|\___|  \___/|_| |_|_|\__|   |_|\___||___/\__|___/
##         |_|
## ======================================================================

- name: concourse_unit_tests
  plan:
    - aggregate:
761
      - get: bats_core_src
762 763 764 765 766 767 768
      - get: gpdb_src
        trigger: true
      - get: gpdb6-centos7-build
    - task: run_unit_tests
      image: gpdb6-centos7-build
      config:
        inputs:
769
          - name: bats_core_src
770 771 772 773 774 775 776
          - name: gpdb_src
        platform: linux
        run:
          path: bash
          args:
          - -exc
          - |
777
            bats_core_src/install.sh /usr/local
778 779 780 781
            cd gpdb_src/concourse
            bats -t scripts/*.bats
            python -m unittest discover --verbose -s scripts/ -p *_test.py

782
## ======================================================================
783 784
##   ____                      _ _
##  / ___|___  _ __ ___  _ __ (_) | ___
785 786 787
## | |   / _ \| '_ ` _ \| '_ \| | |/ _ \
## | |__| (_) | | | | | | |_) | | |  __/
##  \____\___/|_| |_| |_| .__/|_|_|\___|
788
##                      |_|
789 790
## ======================================================================

791 792 793 794
- name: compile_gpdb_centos6
  plan:
  - aggregate:
    - get: gpdb_src
795
      trigger: ((gpdb_src-trigger-flag))
796
    - get: reduced-frequency-trigger
797
      trigger: ((reduced-frequency-trigger-flag))
798
    - get: gpdb6-centos6-build
799 800 801 802
    - get: libquicklz-installer
      resource: libquicklz-centos6
    - get: libquicklz-devel-installer
      resource: libquicklz-devel-centos6
803 804
    - get: libsigar-installer
      resource: libsigar-centos6
805 806
    - get: python-tarball
      resource: python-centos6
807 808
  - task: compile_gpdb
    file: gpdb_src/concourse/tasks/compile_gpdb.yml
809
    image: gpdb6-centos6-build
810
    params:
811
      CONFIGURE_FLAGS: {{configure_flags_with_extensions}}
812 813
      TARGET_OS: centos
      TARGET_OS_VERSION: 6
814
      BLD_TARGETS: "clients"
815
  - aggregate:
J
Jingyi Mei 已提交
816
    - put: bin_gpdb_centos6
817 818
      params:
        file: gpdb_artifacts/bin_gpdb.tar.gz
819 820 821
    - put: bin_gpdb_clients_centos6
      params:
        file: gpdb_artifacts/gpdb-clients-centos6.tar.gz
M
Michael Roth 已提交
822 823

- name: compile_gpdb_centos7
824 825
  plan:
  - aggregate:
826
    - get: reduced-frequency-trigger
827
      trigger: ((reduced-frequency-trigger-flag))
828
    - get: gpdb_src
829
      trigger: ((gpdb_src-trigger-flag))
830
    - get: gpdb6-centos7-build
831 832 833 834
    - get: libquicklz-installer
      resource: libquicklz-centos7
    - get: libquicklz-devel-installer
      resource: libquicklz-devel-centos7
835 836
    - get: libsigar-installer
      resource: libsigar-centos7
837 838
    - get: python-tarball
      resource: python-centos7
839
  - task: compile_gpdb
840
    image: gpdb6-centos7-build
841 842
    file: gpdb_src/concourse/tasks/compile_gpdb.yml
    params:
843
      CONFIGURE_FLAGS: {{configure_flags_with_extensions}}
844
      TARGET_OS: centos
M
Michael Roth 已提交
845
      TARGET_OS_VERSION: 7
846
      BLD_TARGETS: "clients"
J
Jingyi Mei 已提交
847
  - aggregate:
M
Michael Roth 已提交
848
    - put: bin_gpdb_centos7
J
Jingyi Mei 已提交
849 850
      params:
        file: gpdb_artifacts/bin_gpdb.tar.gz
851 852 853
    - put: bin_gpdb_clients_centos7
      params:
        file: gpdb_artifacts/gpdb-clients-centos7.tar.gz
M
Michael Roth 已提交
854 855 856

- name: compile_gpdb_open_source_centos6
  public: true
T
Tom Meyer 已提交
857 858
  plan:
  - aggregate:
859
    - get: reduced-frequency-trigger
860
      trigger: ((reduced-frequency-trigger-flag))
T
Tom Meyer 已提交
861
    - get: gpdb_src
862
      trigger: ((gpdb_src-trigger-flag))
863
    - get: gpdb6-centos6-build
M
Michael Roth 已提交
864
  - task: compile_gpdb
865
    image: gpdb6-centos6-build
M
Michael Roth 已提交
866 867 868 869
    file: gpdb_src/concourse/tasks/compile_gpdb_open_source_centos.yml
    params:
        CONFIGURE_FLAGS: {{configure_flags}}

870
- name: prepare_binary_swap_gpdb_centos6
M
Michael Roth 已提交
871 872 873
  plan:
  - aggregate:
    - get: gpdb_src
874 875
    - get: gpdb_rpm
      resource: previous_gpdb_rpm
M
Michael Roth 已提交
876
      trigger: true
877 878
      params:
        globs: [greenplum-db-6*-rhel6-x86_64.rpm]
879
    - get: gpdb6-centos6-build
880 881
  - task: generate_previous_bin_gpdb
    file: gpdb_src/concourse/tasks/extract_rpm.yml
882
    image: gpdb6-centos6-build
883
  - put: binary_swap_gpdb_centos6
884
    params:
885
      file: gpdb_artifacts/bin_gpdb.tar.gz
M
Michael Roth 已提交
886

887 888 889 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
- name: compile_gpdb_ubuntu18.04
  plan:
    - aggregate:
        - get: reduced-frequency-trigger
          trigger: ((reduced-frequency-trigger-flag))
        - get: gpdb_src
          trigger: ((gpdb_src-trigger-flag))
        - get: gpdb6-ubuntu18.04-build
        - get: libquicklz-installer
          resource: libquicklz-ubuntu18.04
        - get: python-tarball
          resource: python-ubuntu18.04
    - task: compile_gpdb
      image: gpdb6-ubuntu18.04-build
      file: gpdb_src/concourse/tasks/compile_gpdb.yml
      params:
        CONFIGURE_FLAGS: {{configure_flags_with_extensions}}
        TARGET_OS: ubuntu
        TARGET_OS_VERSION: "18.04"
        BLD_TARGETS: "clients"
    - aggregate:
        - put: bin_gpdb_ubuntu18.04
          params:
            file: gpdb_artifacts/bin_gpdb.tar.gz
        - put: bin_gpdb_clients_ubuntu18.04
          params:
            file: gpdb_artifacts/gpdb-clients-ubuntu18.04.tar.gz

915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931
- name: compile_gpdb_clients_windows
  serial: true
  plan:
  - aggregate:
    - get: gpdb_src
      trigger: true
    - get: gpdb6-centos6-build
  - task: compile_gpdb_windows_remote
    file: gpdb_src/concourse/tasks/compile_gpdb_remote_windows.yml
    image: gpdb6-centos6-build
    params:
      REMOTE_HOST: {{remote_win_host_build}}
      REMOTE_PORT: {{remote_win_port_build}}
      REMOTE_USER: {{remote_win_user_build}}
      REMOTE_KEY: {{remote_win_key_build}}
  - put: bin_gpdb_clients_windows
    params:
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
      file: "gpdb_artifacts/greenplum-clients-x86_64.tar.gz"

- name: test_gpdb_clients_windows
  plan:
  - aggregate:
      - get: ccp_src
      - get: gpdb_src
        trigger: true
        passed: [compile_gpdb_clients_windows]
      - get: gpdb6-centos7-test
      - get: bin_gpdb_clients_windows
        passed: [compile_gpdb_clients_windows]
      - get: bin_gpdb
        resource: bin_gpdb_centos7_rc
  - put: terraform_windows
    params:
      action: create
      delete_on_failure: true
      generate_random_name: true
      terraform_source: ccp_src/gpdb_windows_client_test/
  - task: run_tests
    file: gpdb_src/concourse/tasks/windows_remote_test.yml
    image: gpdb6-centos7-test
    params:
      REMOTE_PORT: {{remote_win_port_test}}
      REMOTE_USER: {{remote_win_user_test}}
      REMOTE_KEY: {{remote_win_key_test}}
  ensure:
    put: terraform_windows
    params:
      action: destroy
      env_name_file: terraform_windows/name
      terraform_source: ccp_src/gpdb_windows_client_test/
      vars:
        aws_instance-node-instance_type: t2.micro #t2.micro is ignored in destroy, but aws_instance-node-instance_type is required.
        aws_ebs_volume_type: standard
    get_params:
      action: destroy
970

971 972 973
## ======================================================================
##  ___ ______        __
## |_ _/ ___\ \      / /
974 975 976
##  | | |    \ \ /\ / /
##  | | |___  \ V  V /
## |___\____|  \_/\_/
977 978
## ======================================================================

979 980 981 982
- name: icw_planner_centos6
  plan:
  - aggregate:
    - get: gpdb_src
983
      passed: [compile_gpdb_centos6]
984
    - get: bin_gpdb
985
      passed: [compile_gpdb_centos6]
986 987 988
      resource: bin_gpdb_centos6
      trigger: true
    - get: binary_swap_gpdb
989
      passed: [prepare_binary_swap_gpdb_centos6]
990 991
      resource: binary_swap_gpdb_centos6
      trigger: true
992
    - get: gpdb6-centos6-test
993
  - task: ic_gpdb
994
    file: gpdb_src/concourse/tasks/ic_gpdb_binary_swap.yml
995
    image: gpdb6-centos6-test
996
    params:
997
      MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=off' installcheck-world
998
      TEST_OS: centos
999
      TEST_BINARY_SWAP: {{test-binary-swap}}
1000
      CONFIGURE_FLAGS: {{configure_flags}}
M
Michael Roth 已提交
1001

1002 1003 1004 1005
- name: icw_gporca_centos6
  plan:
  - aggregate:
    - get: gpdb_src
1006
      passed: [compile_gpdb_centos6]
1007 1008
    - get: bin_gpdb
      resource: bin_gpdb_centos6
1009
      passed: [compile_gpdb_centos6]
1010
      trigger: true
1011
    - get: gpdb6-centos6-test
1012 1013
  - task: ic_gpdb
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
1014
    image: gpdb6-centos6-test
1015
    params:
1016
      MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=on' installcheck-world
1017 1018
      TEST_OS: centos
      CONFIGURE_FLAGS: {{configure_flags}}
1019
      DUMP_DB: "true"
1020
  - put: icw_gporca_centos6_dump
1021 1022
    params:
      file: sqldump/dump.sql.xz
M
Michael Roth 已提交
1023

1024 1025 1026 1027
- name: icw_gporca_centos6_gpos_memory
  plan:
  - aggregate:
    - get: gpdb_src
1028
      passed: [compile_gpdb_centos6]
1029 1030
    - get: bin_gpdb
      resource: bin_gpdb_centos6
1031
      passed: [compile_gpdb_centos6]
1032
      trigger: true
1033
    - get: gpdb6-centos6-test
1034 1035
  - task: ic_gpdb
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
1036
    image: gpdb6-centos6-test
1037
    params:
1038
      MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=on' installcheck-world
1039 1040 1041 1042 1043 1044 1045 1046
      BLDWRAP_POSTGRES_CONF_ADDONS: optimizer_use_gpdb_allocators=on
      TEST_OS: centos
      CONFIGURE_FLAGS: {{configure_flags}}

- name: icw_planner_ictcp_centos6
  plan:
  - aggregate:
    - get: gpdb_src
1047
      passed: [compile_gpdb_centos6]
1048 1049
    - get: bin_gpdb
      resource: bin_gpdb_centos6
1050
      passed: [compile_gpdb_centos6]
1051
      trigger: true
1052
    - get: gpdb6-centos6-test
1053 1054
  - task: ic_gpdb
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
1055
    image: gpdb6-centos6-test
1056
    params:
1057
      MAKE_TEST_COMMAND: -k PGOPTIONS='-c gp_interconnect_type=tcp -c optimizer=off' installcheck-world
1058 1059
      TEST_OS: centos

1060 1061 1062 1063
- name: icw_gporca_centos7
  plan:
  - aggregate:
    - get: gpdb_src
1064
      passed: [compile_gpdb_centos7]
1065 1066
    - get: bin_gpdb
      resource: bin_gpdb_centos7
1067
      passed: [compile_gpdb_centos7]
J
Jingyi Mei 已提交
1068
      trigger: true
1069
    - get: gpdb6-centos7-test
J
Jingyi Mei 已提交
1070 1071
  - task: ic_gpdb
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
1072
    image: gpdb6-centos7-test
J
Jingyi Mei 已提交
1073
    params:
1074
      MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=on' installcheck-world
J
Jingyi Mei 已提交
1075
      TEST_OS: centos
1076
      CONFIGURE_FLAGS: {{configure_flags}}
M
Michael Roth 已提交
1077

K
Kris Macoskey 已提交
1078 1079 1080 1081 1082 1083 1084 1085 1086
- name: icw_planner_centos7
  plan:
  - aggregate:
    - get: gpdb_src
      passed: [compile_gpdb_centos7]
    - get: bin_gpdb
      passed: [compile_gpdb_centos7]
      resource: bin_gpdb_centos7
      trigger: true
1087
    - get: gpdb6-centos7-test
K
Kris Macoskey 已提交
1088 1089
  - task: ic_gpdb
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
1090
    image: gpdb6-centos7-test
K
Kris Macoskey 已提交
1091
    params:
1092
      MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=off' installcheck-world
K
Kris Macoskey 已提交
1093 1094 1095
      TEST_OS: centos
      CONFIGURE_FLAGS: {{configure_flags}}

1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131
- name: icw_gporca_ubuntu18.04
  plan:
    - aggregate:
        - get: gpdb_src
          passed: [compile_gpdb_ubuntu18.04]
        - get: bin_gpdb
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - get: gpdb6-ubuntu18.04-test
    - task: ic_gpdb
      file: gpdb_src/concourse/tasks/ic_gpdb.yml
      image: gpdb6-ubuntu18.04-test
      params:
        MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=on' installcheck-world
        TEST_OS: ubuntu
        CONFIGURE_FLAGS: {{configure_flags}}

- name: icw_planner_ubuntu18.04
  plan:
    - aggregate:
        - get: gpdb_src
          passed: [compile_gpdb_ubuntu18.04]
        - get: bin_gpdb
          passed: [compile_gpdb_ubuntu18.04]
          resource: bin_gpdb_ubuntu18.04
          trigger: true
        - get: gpdb6-ubuntu18.04-test
    - task: ic_gpdb
      file: gpdb_src/concourse/tasks/ic_gpdb.yml
      image: gpdb6-ubuntu18.04-test
      params:
        MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=off' installcheck-world
        TEST_OS: ubuntu
        CONFIGURE_FLAGS: {{configure_flags}}

1132 1133
- name: gate_icw_end
  plan:
1134
  - aggregate:
1135 1136 1137 1138 1139 1140
    - get: bin_gpdb_centos6
      passed:
      - icw_gporca_centos6
      - icw_gporca_centos6_gpos_memory
      - icw_planner_centos6
      - icw_planner_ictcp_centos6
1141
      - icw_extensions_gpcloud_centos6
1142 1143 1144
    - get: icw_gporca_centos6_dump
      passed:
      - icw_gporca_centos6
1145 1146
    - get: gpdb_src
      passed:
1147 1148
      - icw_gporca_centos6
      - icw_gporca_centos6_gpos_memory
1149
      - icw_planner_centos6
1150
      - icw_planner_ictcp_centos6
1151
      - icw_extensions_gpcloud_centos6
1152
      - icw_gporca_centos7
1153
      trigger: true
1154 1155 1156
  - put: bin_gpdb_centos6_icw_green
    params:
      file: bin_gpdb_centos6/bin_gpdb.tar.gz
M
Michael Roth 已提交
1157

1158
## ======================================================================
1159 1160 1161 1162 1163
##  ___ _   _ _____ _____ ____   ____ ___  _   _ _   _ _____ ____ _____
## |_ _| \ | |_   _| ____|  _ \ / ___/ _ \| \ | | \ | | ____/ ___|_   _|
##  | ||  \| | | | |  _| | |_) | |  | | | |  \| |  \| |  _|| |     | |
##  | || |\  | | | | |___|  _ <| |__| |_| | |\  | |\  | |__| |___  | |
## |___|_| \_| |_| |_____|_| \_\\____\___/|_| \_|_| \_|_____\____| |_|
1164
## ======================================================================
1165
- name: interconnect
1166
  plan:
C
Chris Hajas 已提交
1167
  - aggregate:
1168
    - get: gpdb_src
1169
      passed: [compile_gpdb_centos6]
1170
    - get: bin_gpdb
1171
      passed: [compile_gpdb_centos6]
1172
      resource: bin_gpdb_centos6
C
Chris Hajas 已提交
1173
      trigger: true
1174
    - get: gpdb6-centos6-test
1175 1176
  - task: ic_gpdb
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
1177
    image: gpdb6-centos6-test
1178
    params:
N
Ning Yu 已提交
1179 1180
      MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=off'
        BUILD_TYPE=((rc-build-type)) -C src/test/regress installcheck-icudp
1181
      TEST_OS: centos
M
Michael Roth 已提交
1182

1183 1184 1185 1186 1187 1188 1189 1190 1191
## ======================================================================
##  ____                                     ____
## |  _ \ ___  ___  ___  _   _ _ __ ___ ___ / ___|_ __ ___  _   _ _ __  ___
## | |_) / _ \/ __|/ _ \| | | | '__/ __/ _ \ |  _| '__/ _ \| | | | '_ \/ __|
## |  _ <  __/\__ \ (_) | |_| | | | (_|  __/ |_| | | | (_) | |_| | |_) \__ \
## |_| \_\___||___/\___/ \__,_|_|  \___\___|\____|_|  \___/ \__,_| .__/|___/
##                                                               |_|
## ======================================================================

1192
- name: gate_resource_groups_start
1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205
  plan:
  - aggregate:
    - get: gpdb_src
      passed:
      - compile_gpdb_centos6
      - compile_gpdb_centos7
      trigger: true
    - get: bin_gpdb_centos6
      passed:
      - compile_gpdb_centos6
    - get: bin_gpdb_centos7
      passed:
      - compile_gpdb_centos7
1206
    - get: binary_swap_gpdb
1207
      passed: [prepare_binary_swap_gpdb_centos6]
1208
      resource: binary_swap_gpdb_centos6
1209
      trigger: true
1210

1211
- name: resource_group_centos6
1212 1213 1214
  plan:
  - aggregate:
    - get: gpdb_src
1215
      passed: [gate_resource_groups_start]
1216
    - get: gpdb_binary
1217
      resource: bin_gpdb_centos6
1218
      passed: [gate_resource_groups_start]
1219 1220
      trigger: true
    - get: ccp_src
1221
    - get: ccp-image
1222
    - get: binary_swap_gpdb
1223
      passed: [gate_resource_groups_start]
1224 1225
      resource: binary_swap_gpdb_centos6
      trigger: true
1226 1227
  - put: terraform
    params:
1228 1229 1230
      <<: *ccp_default_params
      vars:
        <<: *ccp_default_vars
A
Alexandra Wang 已提交
1231
        instance_type: n1-standard-2
1232 1233
  - task: gen_cluster
    file: ccp_src/ci/tasks/gen_cluster.yml
1234
    params:
1235
      <<: *ccp_gen_cluster_default_params
A
Alexandra Wang 已提交
1236 1237
  - task: gpinitsystem
    file: ccp_src/ci/tasks/gpinitsystem.yml
1238
  - task: run_tests
M
Michael Roth 已提交
1239
    file: gpdb_src/concourse/tasks/ic_gpdb_resgroup.yml
1240
    image: ccp-image
1241
    params:
M
Michael Roth 已提交
1242
      TEST_OS: centos6
1243 1244
    on_success:
      <<: *ccp_destroy
1245
  ensure:
1246
    <<: *set_failed
M
Michael Roth 已提交
1247

1248
- name: resource_group_centos7
1249
  plan:
M
Michael Roth 已提交
1250 1251
  - aggregate:
    - get: gpdb_src
1252
      passed: [gate_resource_groups_start]
1253
    - get: gpdb_binary
M
Michael Roth 已提交
1254
      resource: bin_gpdb_centos7
1255
      passed: [gate_resource_groups_start]
M
Michael Roth 已提交
1256 1257
      trigger: true
    - get: ccp_src
1258
    - get: ccp-image
1259
    - get: binary_swap_gpdb
1260
      passed: [gate_resource_groups_start]
1261 1262
      resource: binary_swap_gpdb_centos6
      trigger: true
1263
  - put: terraform
M
Michael Roth 已提交
1264 1265 1266 1267
    params:
      <<: *ccp_default_params
      vars:
        <<: *ccp_default_vars
A
Alexandra Wang 已提交
1268
        PLATFORM: centos7
J
Jialun 已提交
1269
        instance_type: n1-standard-2
1270
  - task: gen_cluster
M
Michael Roth 已提交
1271 1272 1273
    file: ccp_src/ci/tasks/gen_cluster.yml
    params:
      <<: *ccp_gen_cluster_default_params
A
Alexandra Wang 已提交
1274 1275 1276
      PLATFORM: centos7
  - task: gpinitsystem
    file: ccp_src/ci/tasks/gpinitsystem.yml
1277
  - task: run_tests
M
Michael Roth 已提交
1278
    file: gpdb_src/concourse/tasks/ic_gpdb_resgroup.yml
1279
    image: ccp-image
1280
    params:
M
Michael Roth 已提交
1281
      TEST_OS: centos7
1282 1283
    on_success:
      <<: *ccp_destroy
1284
  ensure:
1285
    <<: *set_failed
M
Michael Roth 已提交
1286

1287

1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312

## ======================================================================
##                               __
##   __ _ _ __  _ __   ___ _ __ / _|_ __ ___   ___  _ __
##  / _` | '_ \| '_ \ / _ \ '__| |_| '_ ` _ \ / _ \| '_ \
## | (_| | |_) | |_) |  __/ |  |  _| | | | | | (_) | | | |
##  \__, | .__/| .__/ \___|_|  |_| |_| |_| |_|\___/|_| |_|
##  |___/|_|   |_|
## ======================================================================

- name: gate_gpperfmon_start
  plan:
  - aggregate:
    - get: gpdb_src
      passed:
      - compile_gpdb_centos6
      - compile_gpdb_centos7
      trigger: true
    - get: bin_gpdb_centos6
      passed:
      - compile_gpdb_centos6
    - get: bin_gpdb_centos7
      passed:
      - compile_gpdb_centos7
    - get: binary_swap_gpdb
1313
      passed: [prepare_binary_swap_gpdb_centos6]
1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356
      resource: binary_swap_gpdb_centos6
      trigger: true

- name: gpperfmon_centos6
  plan:
  - aggregate:
    - get: gpdb_src
      params:
        submodules:
        - gpMgmt/bin/pythonSrc/ext
      passed: [gate_gpperfmon_start]
    - get: bin_gpdb
      resource: bin_gpdb_centos6
      passed: [gate_gpperfmon_start]
      trigger: true
    - get: gpdb6-centos6-test
  - task: gpperfmon
    file: gpdb_src/concourse/tasks/behave_gpdb.yml
    image: gpdb6-centos6-test
    params:
      BEHAVE_TAGS: gpperfmon

- name: gpperfmon_centos7
  plan:
  - aggregate:
    - get: gpdb_src
      params:
        submodules:
        - gpMgmt/bin/pythonSrc/ext
      passed: [gate_gpperfmon_start]
    - get: bin_gpdb
      resource: bin_gpdb_centos7
      passed: [gate_gpperfmon_start]
      trigger: true
    - get: gpdb6-centos7-test
  - task: gpperfmon
    file: gpdb_src/concourse/tasks/behave_gpdb.yml
    image: gpdb6-centos7-test
    params:
      BEHAVE_TAGS: gpperfmon



1357
## ======================================================================
1358 1359 1360 1361 1362
##   ____ _     ___
##  / ___| |   |_ _|
## | |   | |    | |
## | |___| |___ | |
##  \____|_____|___|
1363 1364
## ======================================================================

1365
- name: gate_cli_start
1366
  plan:
1367 1368 1369
  - aggregate:
    - get: gpdb_src
      passed:
1370
      - compile_gpdb_centos6
1371 1372 1373
      trigger: true
    - get: bin_gpdb_centos6
      passed:
1374
      - compile_gpdb_centos6
M
Michael Roth 已提交
1375

1376
- name: check_centos
1377 1378 1379
  plan:
  - aggregate:
    - get: gpdb_src
1380
      passed: [gate_cli_start]
1381
    - get: bin_gpdb
1382
      resource: bin_gpdb_centos6
1383
      passed: [gate_cli_start]
1384
      trigger: true
1385 1386 1387 1388
    - get: gpdb6-centos6-test
  - task: check_centos
    file: gpdb_src/concourse/tasks/gpMgmt_check_gpdb.yml
    image: gpdb6-centos6-test
1389
    params:
1390
      TEST_OS: centos
M
Michael Roth 已提交
1391

1392
- name: gpmovemirrors
1393
  plan:
1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [gate_cli_start]
      - get: gpdb6-centos6-test
    - aggregate:
      - do:
        - get: gpdb_binary
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - get: ccp_src
        - get: ccp-image
        - put: terraform
          params:
            <<: *ccp_default_params
            vars:
              <<: *ccp_default_vars
              number_of_nodes: 4
        - task: gen_cluster
          file: ccp_src/ci/tasks/gen_cluster.yml
          params:
            <<: *ccp_gen_cluster_default_params
        - task: gpinitsystem
          file: ccp_src/ci/tasks/gpinitsystem.yml
        - task: gpmovemirrors_concourse_cluster_tests
          file: gpdb_src/concourse/tasks/run_behave.yml
          image: ccp-image
          params:
            BEHAVE_FLAGS: --tags=gpmovemirrors --tags=concourse_cluster
          on_success:
            <<: *ccp_destroy
          ensure:
            <<: *set_failed
      - do:
        - get: bin_gpdb
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - task: gpmovemirrors_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-centos6-test
          params:
1439
            BEHAVE_FLAGS: --tags=gpmovemirrors --tags=~concourse_cluster,demo_cluster
M
Michael Roth 已提交
1440

1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492
- name: gpmovemirrors_ubuntu18
  plan:
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [compile_gpdb_ubuntu18.04]
      - get: gpdb6-ubuntu18.04-test
    - aggregate:
      - do:
        - get: gpdb_binary
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - get: ccp_src
        - put: terraform
          params:
            <<: *ccp_default_params
            vars:
              <<: *ccp_default_vars
              PLATFORM: ubuntu18.04
              number_of_nodes: 4
        - task: gen_cluster
          file: ccp_src/ci/tasks/gen_cluster.yml
          params:
            <<: *ccp_gen_cluster_default_params
            PLATFORM: ubuntu18.04
        - task: gpinitsystem
          file: ccp_src/ci/tasks/gpinitsystem.yml
        - task: gpmovemirrors_concourse_cluster_tests
          file: gpdb_src/concourse/tasks/run_behave_on_ccp_cluster.yml
          image: gpdb6-ubuntu18.04-test
          params:
            BEHAVE_FLAGS: --tags=gpmovemirrors --tags=concourse_cluster
          on_success:
            <<: *ccp_destroy
          ensure:
            <<: *set_failed
      - do:
        - get: bin_gpdb_ubuntu18.04
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - task: gpmovemirrors_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-ubuntu18.04-test
          input_mapping:
            bin_gpdb: bin_gpdb_ubuntu18.04
          params:
            BEHAVE_FLAGS: --tags=gpmovemirrors --tags=~concourse_cluster,demo_cluster

1493
- name: gppkg
1494
  plan:
1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [gate_cli_start]
      - get: gpdb6-centos6-test
    - aggregate:
      - do:
        - get: gpdb_binary
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - get: ccp_src
        - get: ccp-image
        - put: terraform
          params:
            <<: *ccp_default_params
            vars:
              <<: *ccp_default_vars
1515
              
1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539
        - task: gen_cluster
          file: ccp_src/ci/tasks/gen_cluster.yml
          params:
            <<: *ccp_gen_cluster_default_params
        - task: gpinitsystem
          file: ccp_src/ci/tasks/gpinitsystem.yml
        - task: gppkg_concourse_cluster_tests
          file: gpdb_src/concourse/tasks/run_behave.yml
          image: ccp-image
          params:
            BEHAVE_FLAGS: --tags=gppkg --tags=concourse_cluster
          on_success:
            <<: *ccp_destroy
          ensure:
            <<: *set_failed
      - do:
        - get: bin_gpdb
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - task: gppkg_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-centos6-test
          params:
1540
            BEHAVE_FLAGS: --tags=gppkg --tags=~concourse_cluster,demo_cluster
1541

1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593
- name: gppkg_ubuntu18
  plan:
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [compile_gpdb_ubuntu18.04]
      - get: gpdb6-ubuntu18.04-test
    - aggregate:
      - do:
        - get: gpdb_binary
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - get: ccp_src
        - put: terraform
          params:
            <<: *ccp_default_params
            vars:
              <<: *ccp_default_vars
              PLATFORM: ubuntu18.04
              
        - task: gen_cluster
          file: ccp_src/ci/tasks/gen_cluster.yml
          params:
            <<: *ccp_gen_cluster_default_params
            PLATFORM: ubuntu18.04
        - task: gpinitsystem
          file: ccp_src/ci/tasks/gpinitsystem.yml
        - task: gppkg_concourse_cluster_tests
          file: gpdb_src/concourse/tasks/run_behave_on_ccp_cluster.yml
          image: gpdb6-ubuntu18.04-test
          params:
            BEHAVE_FLAGS: --tags=gppkg --tags=concourse_cluster
          on_success:
            <<: *ccp_destroy
          ensure:
            <<: *set_failed
      - do:
        - get: bin_gpdb_ubuntu18.04
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - task: gppkg_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-ubuntu18.04-test
          input_mapping:
            bin_gpdb: bin_gpdb_ubuntu18.04
          params:
            BEHAVE_FLAGS: --tags=gppkg --tags=~concourse_cluster,demo_cluster

1594
- name: analyzedb
1595
  plan:
1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [gate_cli_start]
      - get: gpdb6-centos6-test
    - aggregate:
      - do:
        - get: bin_gpdb
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - task: analyzedb_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-centos6-test
          params:
1613
            BEHAVE_FLAGS: --tags=analyzedb --tags=~concourse_cluster,demo_cluster
1614

1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637
- name: analyzedb_ubuntu18
  plan:
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [compile_gpdb_ubuntu18.04]
      - get: gpdb6-ubuntu18.04-test
    - aggregate:
      - do:
        - get: bin_gpdb_ubuntu18.04
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - task: analyzedb_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-ubuntu18.04-test
          input_mapping:
            bin_gpdb: bin_gpdb_ubuntu18.04
          params:
            BEHAVE_FLAGS: --tags=analyzedb --tags=~concourse_cluster,demo_cluster

1638
- name: gpinitsystem
1639
  plan:
1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [gate_cli_start]
      - get: gpdb6-centos6-test
    - aggregate:
      - do:
        - get: bin_gpdb
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - task: gpinitsystem_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-centos6-test
          params:
1657
            BEHAVE_FLAGS: --tags=gpinitsystem --tags=~concourse_cluster,demo_cluster
M
Michael Roth 已提交
1658

1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681
- name: gpinitsystem_ubuntu18
  plan:
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [compile_gpdb_ubuntu18.04]
      - get: gpdb6-ubuntu18.04-test
    - aggregate:
      - do:
        - get: bin_gpdb_ubuntu18.04
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - task: gpinitsystem_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-ubuntu18.04-test
          input_mapping:
            bin_gpdb: bin_gpdb_ubuntu18.04
          params:
            BEHAVE_FLAGS: --tags=gpinitsystem --tags=~concourse_cluster,demo_cluster

1682
- name: gpstate
J
Jamie McAtamney 已提交
1683
  plan:
1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [gate_cli_start]
      - get: gpdb6-centos6-test
    - aggregate:
      - do:
        - get: bin_gpdb
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - task: gpstate_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-centos6-test
          params:
1701
            BEHAVE_FLAGS: --tags=gpstate --tags=~concourse_cluster,demo_cluster
J
Jamie McAtamney 已提交
1702

1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725
- name: gpstate_ubuntu18
  plan:
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [compile_gpdb_ubuntu18.04]
      - get: gpdb6-ubuntu18.04-test
    - aggregate:
      - do:
        - get: bin_gpdb_ubuntu18.04
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - task: gpstate_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-ubuntu18.04-test
          input_mapping:
            bin_gpdb: bin_gpdb_ubuntu18.04
          params:
            BEHAVE_FLAGS: --tags=gpstate --tags=~concourse_cluster,demo_cluster

1726
- name: replication_slots
1727
  plan:
1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [gate_cli_start]
      - get: gpdb6-centos6-test
    - aggregate:
      - do:
        - get: bin_gpdb
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - task: replication_slots_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-centos6-test
          params:
1745
            BEHAVE_FLAGS: --tags=replication_slots --tags=~concourse_cluster,demo_cluster
M
Michael Roth 已提交
1746

1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769
- name: replication_slots_ubuntu18
  plan:
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [compile_gpdb_ubuntu18.04]
      - get: gpdb6-ubuntu18.04-test
    - aggregate:
      - do:
        - get: bin_gpdb_ubuntu18.04
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - task: replication_slots_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-ubuntu18.04-test
          input_mapping:
            bin_gpdb: bin_gpdb_ubuntu18.04
          params:
            BEHAVE_FLAGS: --tags=replication_slots --tags=~concourse_cluster,demo_cluster

1770
- name: gpactivatestandby
1771
  plan:
1772 1773 1774 1775 1776 1777 1778 1779
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [gate_cli_start]
      - get: gpdb6-centos6-test
    - aggregate:
1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807
      - do:
        - get: gpdb_binary
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - get: ccp_src
        - get: ccp-image
        - put: terraform
          params:
            <<: *ccp_default_params
            vars:
              <<: *ccp_default_vars
              
        - task: gen_cluster
          file: ccp_src/ci/tasks/gen_cluster.yml
          params:
            <<: *ccp_gen_cluster_default_params
        - task: gpinitsystem
          file: ccp_src/ci/tasks/gpinitsystem.yml
        - task: gpactivatestandby_concourse_cluster_tests
          file: gpdb_src/concourse/tasks/run_behave.yml
          image: ccp-image
          params:
            BEHAVE_FLAGS: --tags=gpactivatestandby --tags=concourse_cluster
          on_success:
            <<: *ccp_destroy
          ensure:
            <<: *set_failed
1808 1809 1810 1811 1812 1813 1814 1815 1816
      - do:
        - get: bin_gpdb
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - task: gpactivatestandby_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-centos6-test
          params:
1817
            BEHAVE_FLAGS: --tags=gpactivatestandby --tags=~concourse_cluster,demo_cluster
1818

1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870
- name: gpactivatestandby_ubuntu18
  plan:
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [compile_gpdb_ubuntu18.04]
      - get: gpdb6-ubuntu18.04-test
    - aggregate:
      - do:
        - get: gpdb_binary
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - get: ccp_src
        - put: terraform
          params:
            <<: *ccp_default_params
            vars:
              <<: *ccp_default_vars
              PLATFORM: ubuntu18.04
              
        - task: gen_cluster
          file: ccp_src/ci/tasks/gen_cluster.yml
          params:
            <<: *ccp_gen_cluster_default_params
            PLATFORM: ubuntu18.04
        - task: gpinitsystem
          file: ccp_src/ci/tasks/gpinitsystem.yml
        - task: gpactivatestandby_concourse_cluster_tests
          file: gpdb_src/concourse/tasks/run_behave_on_ccp_cluster.yml
          image: gpdb6-ubuntu18.04-test
          params:
            BEHAVE_FLAGS: --tags=gpactivatestandby --tags=concourse_cluster
          on_success:
            <<: *ccp_destroy
          ensure:
            <<: *set_failed
      - do:
        - get: bin_gpdb_ubuntu18.04
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - task: gpactivatestandby_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-ubuntu18.04-test
          input_mapping:
            bin_gpdb: bin_gpdb_ubuntu18.04
          params:
            BEHAVE_FLAGS: --tags=gpactivatestandby --tags=~concourse_cluster,demo_cluster

1871
- name: gpinitstandby
J
Jacob Champion 已提交
1872
  plan:
1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [gate_cli_start]
      - get: gpdb6-centos6-test
    - aggregate:
      - do:
        - get: bin_gpdb
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - task: gpinitstandby_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-centos6-test
          params:
1890
            BEHAVE_FLAGS: --tags=gpinitstandby --tags=~concourse_cluster,demo_cluster
J
Jacob Champion 已提交
1891

1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914
- name: gpinitstandby_ubuntu18
  plan:
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [compile_gpdb_ubuntu18.04]
      - get: gpdb6-ubuntu18.04-test
    - aggregate:
      - do:
        - get: bin_gpdb_ubuntu18.04
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - task: gpinitstandby_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-ubuntu18.04-test
          input_mapping:
            bin_gpdb: bin_gpdb_ubuntu18.04
          params:
            BEHAVE_FLAGS: --tags=gpinitstandby --tags=~concourse_cluster,demo_cluster

1915
- name: gpcheckcat
1916
  plan:
1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [gate_cli_start]
      - get: gpdb6-centos6-test
    - aggregate:
      - do:
        - get: gpdb_binary
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - get: ccp_src
        - get: ccp-image
        - put: terraform
          params:
            <<: *ccp_default_params
            vars:
              <<: *ccp_default_vars
1937
              
1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961
        - task: gen_cluster
          file: ccp_src/ci/tasks/gen_cluster.yml
          params:
            <<: *ccp_gen_cluster_default_params
        - task: gpinitsystem
          file: ccp_src/ci/tasks/gpinitsystem.yml
        - task: gpcheckcat_concourse_cluster_tests
          file: gpdb_src/concourse/tasks/run_behave.yml
          image: ccp-image
          params:
            BEHAVE_FLAGS: --tags=gpcheckcat --tags=concourse_cluster
          on_success:
            <<: *ccp_destroy
          ensure:
            <<: *set_failed
      - do:
        - get: bin_gpdb
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - task: gpcheckcat_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-centos6-test
          params:
1962
            BEHAVE_FLAGS: --tags=gpcheckcat --tags=~concourse_cluster,demo_cluster
1963

1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015
- name: gpcheckcat_ubuntu18
  plan:
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [compile_gpdb_ubuntu18.04]
      - get: gpdb6-ubuntu18.04-test
    - aggregate:
      - do:
        - get: gpdb_binary
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - get: ccp_src
        - put: terraform
          params:
            <<: *ccp_default_params
            vars:
              <<: *ccp_default_vars
              PLATFORM: ubuntu18.04
              
        - task: gen_cluster
          file: ccp_src/ci/tasks/gen_cluster.yml
          params:
            <<: *ccp_gen_cluster_default_params
            PLATFORM: ubuntu18.04
        - task: gpinitsystem
          file: ccp_src/ci/tasks/gpinitsystem.yml
        - task: gpcheckcat_concourse_cluster_tests
          file: gpdb_src/concourse/tasks/run_behave_on_ccp_cluster.yml
          image: gpdb6-ubuntu18.04-test
          params:
            BEHAVE_FLAGS: --tags=gpcheckcat --tags=concourse_cluster
          on_success:
            <<: *ccp_destroy
          ensure:
            <<: *set_failed
      - do:
        - get: bin_gpdb_ubuntu18.04
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - task: gpcheckcat_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-ubuntu18.04-test
          input_mapping:
            bin_gpdb: bin_gpdb_ubuntu18.04
          params:
            BEHAVE_FLAGS: --tags=gpcheckcat --tags=~concourse_cluster,demo_cluster

2016
- name: gprecoverseg
A
Asim R P 已提交
2017
  plan:
2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [gate_cli_start]
      - get: gpdb6-centos6-test
    - aggregate:
      - do:
        - get: gpdb_binary
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - get: ccp_src
        - get: ccp-image
        - put: terraform
          params:
            <<: *ccp_default_params
            vars:
              <<: *ccp_default_vars
2038
              
2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062
        - task: gen_cluster
          file: ccp_src/ci/tasks/gen_cluster.yml
          params:
            <<: *ccp_gen_cluster_default_params
        - task: gpinitsystem
          file: ccp_src/ci/tasks/gpinitsystem.yml
        - task: gprecoverseg_concourse_cluster_tests
          file: gpdb_src/concourse/tasks/run_behave.yml
          image: ccp-image
          params:
            BEHAVE_FLAGS: --tags=gprecoverseg --tags=concourse_cluster
          on_success:
            <<: *ccp_destroy
          ensure:
            <<: *set_failed
      - do:
        - get: bin_gpdb
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - task: gprecoverseg_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-centos6-test
          params:
2063
            BEHAVE_FLAGS: --tags=gprecoverseg --tags=~concourse_cluster,demo_cluster
M
Michael Roth 已提交
2064

2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116
- name: gprecoverseg_ubuntu18
  plan:
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [compile_gpdb_ubuntu18.04]
      - get: gpdb6-ubuntu18.04-test
    - aggregate:
      - do:
        - get: gpdb_binary
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - get: ccp_src
        - put: terraform
          params:
            <<: *ccp_default_params
            vars:
              <<: *ccp_default_vars
              PLATFORM: ubuntu18.04
              
        - task: gen_cluster
          file: ccp_src/ci/tasks/gen_cluster.yml
          params:
            <<: *ccp_gen_cluster_default_params
            PLATFORM: ubuntu18.04
        - task: gpinitsystem
          file: ccp_src/ci/tasks/gpinitsystem.yml
        - task: gprecoverseg_concourse_cluster_tests
          file: gpdb_src/concourse/tasks/run_behave_on_ccp_cluster.yml
          image: gpdb6-ubuntu18.04-test
          params:
            BEHAVE_FLAGS: --tags=gprecoverseg --tags=concourse_cluster
          on_success:
            <<: *ccp_destroy
          ensure:
            <<: *set_failed
      - do:
        - get: bin_gpdb_ubuntu18.04
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - task: gprecoverseg_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-ubuntu18.04-test
          input_mapping:
            bin_gpdb: bin_gpdb_ubuntu18.04
          params:
            BEHAVE_FLAGS: --tags=gprecoverseg --tags=~concourse_cluster,demo_cluster

2117 2118
- name: gpaddmirrors
  plan:
2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [gate_cli_start]
      - get: gpdb6-centos6-test
    - aggregate:
      - do:
        - get: gpdb_binary
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - get: ccp_src
        - get: ccp-image
        - put: terraform
          params:
            <<: *ccp_default_params
            vars:
              <<: *ccp_default_vars
              number_of_nodes: 4
        - task: gen_cluster
          file: ccp_src/ci/tasks/gen_cluster.yml
          params:
            <<: *ccp_gen_cluster_default_params
        - task: gpinitsystem
          file: ccp_src/ci/tasks/gpinitsystem.yml
        - task: gpaddmirrors_concourse_cluster_tests
          file: gpdb_src/concourse/tasks/run_behave.yml
          image: ccp-image
          params:
            BEHAVE_FLAGS: --tags=gpaddmirrors --tags=concourse_cluster
          on_success:
            <<: *ccp_destroy
          ensure:
            <<: *set_failed
      - do:
        - get: bin_gpdb
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - task: gpaddmirrors_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-centos6-test
          params:
2164 2165
            BEHAVE_FLAGS: --tags=gpaddmirrors --tags=~concourse_cluster,demo_cluster

2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217
- name: gpaddmirrors_ubuntu18
  plan:
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [compile_gpdb_ubuntu18.04]
      - get: gpdb6-ubuntu18.04-test
    - aggregate:
      - do:
        - get: gpdb_binary
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - get: ccp_src
        - put: terraform
          params:
            <<: *ccp_default_params
            vars:
              <<: *ccp_default_vars
              PLATFORM: ubuntu18.04
              number_of_nodes: 4
        - task: gen_cluster
          file: ccp_src/ci/tasks/gen_cluster.yml
          params:
            <<: *ccp_gen_cluster_default_params
            PLATFORM: ubuntu18.04
        - task: gpinitsystem
          file: ccp_src/ci/tasks/gpinitsystem.yml
        - task: gpaddmirrors_concourse_cluster_tests
          file: gpdb_src/concourse/tasks/run_behave_on_ccp_cluster.yml
          image: gpdb6-ubuntu18.04-test
          params:
            BEHAVE_FLAGS: --tags=gpaddmirrors --tags=concourse_cluster
          on_success:
            <<: *ccp_destroy
          ensure:
            <<: *set_failed
      - do:
        - get: bin_gpdb_ubuntu18.04
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - task: gpaddmirrors_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-ubuntu18.04-test
          input_mapping:
            bin_gpdb: bin_gpdb_ubuntu18.04
          params:
            BEHAVE_FLAGS: --tags=gpaddmirrors --tags=~concourse_cluster,demo_cluster

2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265
- name: gpconfig
  plan:
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [gate_cli_start]
      - get: gpdb6-centos6-test
    - aggregate:
      - do:
        - get: gpdb_binary
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - get: ccp_src
        - get: ccp-image
        - put: terraform
          params:
            <<: *ccp_default_params
            vars:
              <<: *ccp_default_vars
              
        - task: gen_cluster
          file: ccp_src/ci/tasks/gen_cluster.yml
          params:
            <<: *ccp_gen_cluster_default_params
        - task: gpinitsystem
          file: ccp_src/ci/tasks/gpinitsystem.yml
        - task: gpconfig_concourse_cluster_tests
          file: gpdb_src/concourse/tasks/run_behave.yml
          image: ccp-image
          params:
            BEHAVE_FLAGS: --tags=gpconfig --tags=concourse_cluster
          on_success:
            <<: *ccp_destroy
          ensure:
            <<: *set_failed
      - do:
        - get: bin_gpdb
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - task: gpconfig_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-centos6-test
          params:
            BEHAVE_FLAGS: --tags=gpconfig --tags=~concourse_cluster,demo_cluster
2266

2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318
- name: gpconfig_ubuntu18
  plan:
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [compile_gpdb_ubuntu18.04]
      - get: gpdb6-ubuntu18.04-test
    - aggregate:
      - do:
        - get: gpdb_binary
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - get: ccp_src
        - put: terraform
          params:
            <<: *ccp_default_params
            vars:
              <<: *ccp_default_vars
              PLATFORM: ubuntu18.04
              
        - task: gen_cluster
          file: ccp_src/ci/tasks/gen_cluster.yml
          params:
            <<: *ccp_gen_cluster_default_params
            PLATFORM: ubuntu18.04
        - task: gpinitsystem
          file: ccp_src/ci/tasks/gpinitsystem.yml
        - task: gpconfig_concourse_cluster_tests
          file: gpdb_src/concourse/tasks/run_behave_on_ccp_cluster.yml
          image: gpdb6-ubuntu18.04-test
          params:
            BEHAVE_FLAGS: --tags=gpconfig --tags=concourse_cluster
          on_success:
            <<: *ccp_destroy
          ensure:
            <<: *set_failed
      - do:
        - get: bin_gpdb_ubuntu18.04
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - task: gpconfig_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-ubuntu18.04-test
          input_mapping:
            bin_gpdb: bin_gpdb_ubuntu18.04
          params:
            BEHAVE_FLAGS: --tags=gpconfig --tags=~concourse_cluster,demo_cluster

2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367
- name: gpssh-exkeys
  plan:
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [gate_cli_start]
      - get: gpdb6-centos6-test
    - aggregate:
      - do:
        - get: gpdb_binary
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - get: ccp_src
        - get: ccp-image
        - put: terraform
          params:
            <<: *ccp_default_params
            vars:
              <<: *ccp_default_vars
              number_of_nodes: 4
        - task: gen_cluster
          file: ccp_src/ci/tasks/gen_cluster.yml
          params:
            <<: *ccp_gen_cluster_default_params
        - task: gpinitsystem
          file: ccp_src/ci/tasks/gpinitsystem.yml
        - task: gpssh-exkeys_concourse_cluster_tests
          file: gpdb_src/concourse/tasks/run_behave.yml
          image: ccp-image
          params:
            BEHAVE_FLAGS: --tags=gpssh-exkeys --tags=concourse_cluster
          on_success:
            <<: *ccp_destroy
          ensure:
            <<: *set_failed
      - do:
        - get: bin_gpdb
          resource: bin_gpdb_centos6
          passed: [gate_cli_start]
          trigger: true
        - task: gpssh-exkeys_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-centos6-test
          params:
            BEHAVE_FLAGS: --tags=gpssh-exkeys --tags=~concourse_cluster,demo_cluster

2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419
- name: gpssh-exkeys_ubuntu18
  plan:
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [compile_gpdb_ubuntu18.04]
      - get: gpdb6-ubuntu18.04-test
    - aggregate:
      - do:
        - get: gpdb_binary
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - get: ccp_src
        - put: terraform
          params:
            <<: *ccp_default_params
            vars:
              <<: *ccp_default_vars
              PLATFORM: ubuntu18.04
              number_of_nodes: 4
        - task: gen_cluster
          file: ccp_src/ci/tasks/gen_cluster.yml
          params:
            <<: *ccp_gen_cluster_default_params
            PLATFORM: ubuntu18.04
        - task: gpinitsystem
          file: ccp_src/ci/tasks/gpinitsystem.yml
        - task: gpssh-exkeys_concourse_cluster_tests
          file: gpdb_src/concourse/tasks/run_behave_on_ccp_cluster.yml
          image: gpdb6-ubuntu18.04-test
          params:
            BEHAVE_FLAGS: --tags=gpssh-exkeys --tags=concourse_cluster
          on_success:
            <<: *ccp_destroy
          ensure:
            <<: *set_failed
      - do:
        - get: bin_gpdb_ubuntu18.04
          resource: bin_gpdb_ubuntu18.04
          passed: [compile_gpdb_ubuntu18.04]
          trigger: true
        - task: gpssh-exkeys_demo_cluster_tests
          file: gpdb_src/concourse/tasks/behave_gpdb.yml
          image: gpdb6-ubuntu18.04-test
          input_mapping:
            bin_gpdb: bin_gpdb_ubuntu18.04
          params:
            BEHAVE_FLAGS: --tags=gpssh-exkeys --tags=~concourse_cluster,demo_cluster

J
Jamie McAtamney 已提交
2420

2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462
- name: pg_upgrade
  ensure:
    <<: *set_failed
  on_success:
    <<: *ccp_destroy
  plan:
  - aggregate:
    - get: gpdb_src
      passed: [icw_gporca_centos6]
    - get: bin_gpdb_centos6
      passed: [icw_gporca_centos6]
      trigger: true
    - get: icw_gporca_centos6_dump
      passed: [icw_gporca_centos6]
    - get: ccp_src
  - put: terraform
    params:
      <<: *ccp_default_params
      vars:
        <<: *ccp_default_vars
        instance_type: n1-standard-2
        number_of_nodes: 2
  - task: gen_cluster
    file: ccp_src/ci/tasks/gen_cluster.yml
    params:
      <<: *ccp_gen_cluster_default_params
      PLATFORM: centos6
    input_mapping:
      gpdb_binary: bin_gpdb_centos6
  - task: set_gpinitsystem_config
    file: gpdb_src/concourse/tasks/set_gpinitsystem_config.yml
    params:
      GPINITSYSTEM_CONFIG: gpdb_src/concourse/scripts/configurations/pg_upgrade_gpinitsystem_config
  - task: gpinitsystem
    file: ccp_src/ci/tasks/gpinitsystem.yml
  - task: test_upgrade
    file: gpdb_src/concourse/tasks/test_upgrade.yml
    input_mapping:
      sqldump: icw_gporca_centos6_dump
    params:
      NUMBER_OF_NODES: 2

2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503
- name: gpexpand
  plan:
  - aggregate:
    - get: gpdb_src
      params:
        submodules:
        - gpMgmt/bin/pythonSrc/ext
      passed: [icw_gporca_centos6]
    - get: gpdb_binary
      resource: bin_gpdb_centos6
      passed: [icw_gporca_centos6]
      trigger: true
    - get: ccp_src
    - get: ccp-image
    - get: icw_gporca_centos6_dump
      passed: [icw_gporca_centos6]
  - put: terraform
    params:
      <<: *ccp_default_params
      vars:
        <<: *ccp_default_vars
        number_of_nodes: 5
  - task: gen_cluster
    file: ccp_src/ci/tasks/gen_cluster.yml
    params:
      <<: *ccp_gen_cluster_default_params
  - task: pre_run_test_setup
    file: gpdb_src/concourse/tasks/setup_for_gpexpand_to_make_new_gpdb.yml
    image: ccp-image
    input_mapping: {sqldump: icw_gporca_centos6_dump}
  - task: run_tests
    file: gpdb_src/concourse/tasks/run_behave.yml
    params:
      BEHAVE_FLAGS: --tags=gpexpand
    image: ccp-image
    on_success:
      <<: *ccp_destroy
  ensure:
    <<: *set_failed


2504
 # end CLI test_sections
2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527

## ======================================================================
##     _        _
##    / \      / \
##   / _ \    / _ \
##  / ___ \  / ___ \
## /_/   \_\/_/   \_\
## ======================================================================
- name: gate_advanced_analytics_start
  plan:
  - aggregate:
    - get: gpdb_src
      passed:
      - compile_gpdb_centos6
      - compile_gpdb_centos7
      trigger: true
    - get: bin_gpdb_centos6
      passed:
      - compile_gpdb_centos6
    - get: bin_gpdb_centos7
      passed:
      - compile_gpdb_centos7

2528
- name: madlib_build_gppkg
2529 2530
  plan:
  - aggregate:
2531
    - get: madlib_src
2532
    - get: madlib_ci
2533 2534 2535 2536
    - get: cmake_tar
    - get: pyxb
    - get: eigen
    - get: boost
2537 2538 2539 2540 2541 2542
    - get: gpdb_src
      passed: [gate_advanced_analytics_start]
    - get: bin_gpdb
      resource: bin_gpdb_centos6
      trigger: true
      passed: [gate_advanced_analytics_start]
2543 2544
    - get: bin_gpdb_centos7
      passed: [gate_advanced_analytics_start]
2545
    - get: gpdb6-centos6-build
2546 2547
  - task: build_madlib_gppkg_from_source
    file: madlib_ci/concourse/tasks/madlib_build_gppkg_from_source.yml
2548
    image: gpdb6-centos6-build
2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566
    params:
      TEST_OS: centos6
      DB_TYPE: gpdb6
      CMAKE_BUILD_TYPE: Release
  - aggregate:
    - put: madlib_gppkg
      params:
        file: madlib_master_artifacts/madlib-*.gppkg

- name: MADlib_Test_planner_centos6
  plan:
  - aggregate:
    - get: madlib_ci
    - get: gpdb_src
      passed: [madlib_build_gppkg]
    - get: bin_gpdb
      resource: bin_gpdb_centos6
      passed: [madlib_build_gppkg]
2567
    - get: gpdb6-centos6-test
2568
    - get: madlib_gppkg
2569 2570
      passed: [madlib_build_gppkg]
      trigger: true
2571 2572
  - task: MADlib_Test_gppkg
    file: madlib_ci/concourse/tasks/madlib_test_gppkg.yml
2573
    image: gpdb6-centos6-test
2574 2575 2576 2577 2578 2579 2580 2581 2582 2583
    params:
      TEST_OS: centos
      ORCA: "off"
      DBVER: gpdb6-assert

- name: MADlib_Test_orca_centos6
  plan:
  - aggregate:
    - get: madlib_ci
    - get: gpdb_src
2584
      passed: [madlib_build_gppkg]
2585 2586
    - get: bin_gpdb
      resource: bin_gpdb_centos6
2587
      passed: [madlib_build_gppkg]
2588
    - get: gpdb6-centos6-test
2589
    - get: madlib_gppkg
2590 2591
      passed: [madlib_build_gppkg]
      trigger: true
2592 2593
  - task: MADlib_Test_gppkg
    file: madlib_ci/concourse/tasks/madlib_test_gppkg.yml
2594
    image: gpdb6-centos6-test
2595 2596 2597 2598 2599 2600 2601 2602 2603 2604
    params:
      TEST_OS: centos
      ORCA: "on"
      DBVER: gpdb6-assert

- name: MADlib_Test_planner_centos7
  plan:
  - aggregate:
    - get: madlib_ci
    - get: gpdb_src
2605
      passed: [madlib_build_gppkg]
2606 2607
    - get: bin_gpdb
      resource: bin_gpdb_centos7
2608
      passed: [madlib_build_gppkg]
2609
    - get: gpdb6-centos7-test
2610
    - get: madlib_gppkg
2611 2612
      passed: [madlib_build_gppkg]
      trigger: true
2613 2614
  - task: MADlib_Test_gppkg
    file: madlib_ci/concourse/tasks/madlib_test_gppkg.yml
2615
    image: gpdb6-centos7-test
2616 2617 2618 2619 2620 2621 2622 2623 2624 2625
    params:
      TEST_OS: centos
      ORCA: "off"
      DBVER: gpdb6-assert

- name: MADlib_Test_orca_centos7
  plan:
  - aggregate:
    - get: madlib_ci
    - get: gpdb_src
2626
      passed: [madlib_build_gppkg]
2627 2628
    - get: bin_gpdb
      resource: bin_gpdb_centos7
2629
      passed: [madlib_build_gppkg]
2630
    - get: gpdb6-centos7-test
2631
    - get: madlib_gppkg
2632 2633
      passed: [madlib_build_gppkg]
      trigger: true
2634 2635
  - task: MADlib_Test_gppkg
    file: madlib_ci/concourse/tasks/madlib_test_gppkg.yml
2636
    image: gpdb6-centos7-test
2637 2638 2639 2640 2641
    params:
      TEST_OS: centos
      ORCA: "on"
      DBVER: gpdb6-assert

2642
## ======================================================================
2643 2644
##  ____      _
## |  _ \ ___| | ___  __ _ ___  ___
2645 2646 2647 2648
## | |_) / _ \ |/ _ \/ _` / __|/ _ \
## |  _ <  __/ |  __/ (_| \__ \  __/
## |_| \_\___|_|\___|\__,_|___/\___|
## ======================================================================
2649

2650 2651 2652 2653 2654 2655 2656 2657 2658
- name: gate_release_candidate_start
  plan:
  - aggregate:
    - get: gpdb_src
      trigger: true
      passed:
      - compile_gpdb_centos6
      - compile_gpdb_open_source_centos6
      - compile_gpdb_centos7
2659
      - compile_gpdb_ubuntu18.04
2660 2661 2662 2663
      - icw_planner_centos6
      - icw_gporca_centos6
      - icw_gporca_centos7
      - icw_planner_centos7
2664 2665
      - icw_gporca_ubuntu18.04
      - icw_planner_ubuntu18.04
2666 2667 2668 2669
      - icw_planner_ictcp_centos6
      - icw_extensions_gpcloud_centos6
      - resource_group_centos6
      - resource_group_centos7
2670 2671
      - gpperfmon_centos6
      - gpperfmon_centos7
2672
      - test_gpdb_clients_windows
2673
      - gpmovemirrors
2674
      - gpmovemirrors_ubuntu18
2675
      - gppkg
2676
      - gppkg_ubuntu18
2677
      - analyzedb
2678
      - analyzedb_ubuntu18
2679
      - gpinitsystem
2680
      - gpinitsystem_ubuntu18
J
Jacob Champion 已提交
2681
      - gpstate
2682
      - gpstate_ubuntu18
2683
      - replication_slots
2684
      - replication_slots_ubuntu18
2685
      - gpactivatestandby
2686
      - gpactivatestandby_ubuntu18
2687
      - gpinitstandby
2688
      - gpinitstandby_ubuntu18
2689
      - gpcheckcat
2690
      - gpcheckcat_ubuntu18
2691
      - gprecoverseg
2692
      - gprecoverseg_ubuntu18
2693
      - gpaddmirrors
2694
      - gpaddmirrors_ubuntu18
2695
      - gpconfig
2696
      - gpconfig_ubuntu18
2697
      - gpssh-exkeys
2698
      - gpssh-exkeys_ubuntu18
2699 2700 2701 2702 2703
 ##     - madlib_build_gppkg
 ##     - MADlib_Test_orca_centos6
 ##     - MADlib_Test_planner_centos6
 ##     - MADlib_Test_orca_centos7
 ##     - MADlib_Test_planner_centos7
2704
      - pg_upgrade
2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716
      - gpexpand
      - check_centos
      - interconnect
    - get: bin_gpdb_centos6
      trigger: true
      passed:
      - compile_gpdb_centos6
      - icw_planner_centos6
      - icw_gporca_centos6
      - icw_planner_ictcp_centos6
      - icw_extensions_gpcloud_centos6
      - resource_group_centos6
2717 2718
      - gpmovemirrors
      - gppkg
2719 2720
      - analyzedb
      - gpinitsystem
J
Jacob Champion 已提交
2721
      - gpstate
2722
      - replication_slots
2723 2724 2725 2726 2727
      - gpactivatestandby
      - gpinitstandby
      - gpcheckcat
      - gprecoverseg
      - gpaddmirrors
2728
      - gpconfig
2729
      - gpssh-exkeys
2730 2731
 ##     - MADlib_Test_orca_centos6
 ##     - MADlib_Test_planner_centos6
2732 2733 2734 2735 2736 2737 2738 2739 2740 2741
      - gpexpand
      - check_centos
      - interconnect
    - get: bin_gpdb_centos7
      trigger: true
      passed:
      - compile_gpdb_centos7
      - icw_gporca_centos7
      - icw_planner_centos7
      - resource_group_centos7
2742 2743
 ##     - MADlib_Test_orca_centos7
 ##     - MADlib_Test_planner_centos7
2744 2745 2746 2747 2748 2749
    - get: bin_gpdb_clients_centos6
      passed:
      - compile_gpdb_centos6
    - get: bin_gpdb_clients_centos7
      passed:
      - compile_gpdb_centos7
2750 2751 2752 2753 2754 2755
    - get: bin_gpdb_ubuntu18.04
      trigger: true
      passed:
      - compile_gpdb_ubuntu18.04
      - icw_gporca_ubuntu18.04
      - icw_planner_ubuntu18.04
2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768
      - gpmovemirrors_ubuntu18
      - gppkg_ubuntu18
      - analyzedb_ubuntu18
      - gpinitsystem_ubuntu18
      - gpstate_ubuntu18
      - replication_slots_ubuntu18
      - gpactivatestandby_ubuntu18
      - gpinitstandby_ubuntu18
      - gpcheckcat_ubuntu18
      - gprecoverseg_ubuntu18
      - gpaddmirrors_ubuntu18
      - gpconfig_ubuntu18
      - gpssh-exkeys_ubuntu18
2769 2770 2771
    - get: bin_gpdb_clients_ubuntu18.04
      passed:
      - compile_gpdb_ubuntu18.04
2772 2773 2774
    - get: bin_gpdb_clients_windows
      passed:
      - test_gpdb_clients_windows
2775

2776 2777
- name: Release_Candidate
  plan:
2778 2779 2780 2781 2782 2783 2784 2785 2786 2787
  - aggregate:
    - get: gpdb_src
      trigger: true
      passed: [gate_release_candidate_start]
    - get: bin_gpdb_centos6
      trigger: true
      passed: [gate_release_candidate_start]
    - get: bin_gpdb_centos7
      trigger: true
      passed: [gate_release_candidate_start]
2788 2789 2790
    - get: bin_gpdb_ubuntu18.04
      trigger: true
      passed: [gate_release_candidate_start]
2791 2792 2793 2794 2795 2796
    - get: bin_gpdb_clients_centos6
      trigger: true
      passed: [gate_release_candidate_start]
    - get: bin_gpdb_clients_centos7
      trigger: true
      passed: [gate_release_candidate_start]
2797 2798 2799
    - get: bin_gpdb_clients_ubuntu18.04
      trigger: true
      passed: [gate_release_candidate_start]
2800 2801
    - get: bin_gpdb_clients_windows
      passed: [gate_release_candidate_start]
2802 2803 2804
    - get: gpdb6-centos6-build
  - aggregate:
    - task: rename_rc_artifacts
2805 2806 2807
      file: gpdb_src/concourse/tasks/rename_rc_artifacts.yml
      params:
        RC_BUILD_TYPE_GCS: ((rc-build-type-gcs))
2808 2809 2810 2811 2812
    - task: verify_gpdb_versions
      file: gpdb_src/concourse/tasks/verify_gpdb_versions.yml
  - aggregate:
    - put: bin_gpdb_centos6_rc
      params:
2813
        file: "release_candidates/server-rc-*rhel6*.tar.gz"
2814 2815
    - put: bin_gpdb_centos7_rc
      params:
2816 2817 2818 2819
        file: "release_candidates/server-rc-*rhel7*.tar.gz"
    - put: bin_gpdb_ubuntu18.04_rc
      params:
        file: "release_candidates/server-rc-*ubuntu18.04*.tar.gz"
2820 2821
    - put: bin_gpdb_clients_centos6_rc
      params:
2822
        file: "release_candidates/clients-rc-*rhel6*.tar.gz"
2823 2824
    - put: bin_gpdb_clients_centos7_rc
      params:
2825 2826 2827 2828
        file: "release_candidates/clients-rc-*rhel7*.tar.gz"
    - put: bin_gpdb_clients_ubuntu18.04_rc
      params:
        file: "release_candidates/clients-rc-*ubuntu18.04*.tar.gz"
2829 2830 2831
    - put: bin_gpdb_clients_windows_rc
      params:
        file: "release_candidates/clients-rc-*-windows_x86_64.msi"
2832 2833 2834 2835 2836 2837 2838
    - put: bin_gpdb_centos6_rc_s3
      params:
        file: bin_gpdb_centos6/bin_gpdb.tar.gz
    - put: bin_gpdb_centos7_rc_s3
      params:
        file: bin_gpdb_centos7/bin_gpdb.tar.gz

2839 2840

## ======================================================================
2841 2842
##    __      _                 _
##   /__\_  _| |_ ___ _ __  ___(_) ___  _ __  ___
2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855
##  /_\ \ \/ / __/ _ \ '_ \/ __| |/ _ \| '_ \/ __|
## //__  >  <| ||  __/ | | \__ \ | (_) | | | \__ \
## \__/ /_/\_\\__\___|_| |_|___/_|\___/|_| |_|___/
## ======================================================================

- name: icw_extensions_gpcloud_centos6
  plan:
  - aggregate:
    - get: gpdb_src
      passed: [compile_gpdb_centos6]
      trigger: true
    - get: bin_gpdb_centos6
      passed: [compile_gpdb_centos6]
2856
    - get: gpdb6-centos6-test
2857 2858 2859
  - aggregate:
    - task: unit_tests_gpcloud
      file: gpdb_src/concourse/tasks/unit_tests_gpcloud.yml
2860
      image: gpdb6-centos6-test
2861 2862 2863 2864 2865 2866
      params:
        TARGET_OS: centos
    - task: regression_tests_gpcloud_centos
      input_mapping:
        bin_gpdb: bin_gpdb_centos6
      file: gpdb_src/concourse/tasks/regression_tests_gpcloud.yml
2867
      image: gpdb6-centos6-test
2868 2869 2870 2871 2872 2873 2874 2875
      params:
        gpcloud_access_key_id: {{gpcloud-access-key-id}}
        gpcloud_secret_access_key: {{gpcloud-secret-access-key}}
        TARGET_OS: centos
    - task: gpcheckcloud_tests_gpcloud_centos
      input_mapping:
        bin_gpdb: bin_gpdb_centos6
      file: gpdb_src/concourse/tasks/gpcheckcloud_tests_gpcloud.yml
2876
      image: gpdb6-centos6-test
2877 2878 2879 2880
      params:
        gpcloud_access_key_id: {{gpcloud-access-key-id}}
        gpcloud_secret_access_key: {{gpcloud-secret-access-key}}
        TARGET_OS: centos