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

100 101

## ======================================================================
102 103 104

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

108 109
## ======================================================================

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

118 119
## ======================================================================

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

136 137 138 139 140 141 142

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

- name: Extensions
  jobs:
  - icw_extensions_gpcloud_centos6

143 144
## ======================================================================

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

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

- name: ResourceGroups
  jobs:
154
  - gate_resource_groups_start
155
  - resource_group_centos6
156
  - compile_gpdb_centos6
157
  - resource_group_centos7
158
  - compile_gpdb_centos7
159

160 161
## ======================================================================

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

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

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

207 208 209 210

- name: AdvancedAnalytics
  jobs:
  - gate_advanced_analytics_start
211
  - madlib_build_gppkg
212 213 214 215 216
  - MADlib_Test_orca_centos6
  - MADlib_Test_planner_centos6
  - MADlib_Test_orca_centos7
  - MADlib_Test_planner_centos7

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

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

resources:
249 250 251 252 253 254 255 256 257 258 259 260 261
- 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 已提交
262 263 264
      GOOGLE_CREDENTIALS: {{google-service-account-key}}
    vars:
      project_id: {{google-project-id}}
265 266 267 268 269 270 271
    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 已提交
272
      bucket_path: clusters-google/
273

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

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

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

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

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

310

311 312 313 314 315 316 317 318 319 320 321 322 323 324
- 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

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

332 333 334 335 336 337 338 339 340 341 342 343 344 345
- 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

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

353 354 355 356 357 358
- 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
359 360 361 362 363 364 365 366 367 368 369 370 371 372
- 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

373 374 375 376 377 378 379
- 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

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

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

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

403

404 405 406 407 408 409 410 411 412 413 414 415
- 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 已提交
416
- name: bin_gpdb_centos6
417
  type: gcs
418
  source:
419 420 421
    bucket: ((gcs-bucket-intermediates))
    json_key: ((concourse-gcs-resources-service-account-key))
    versioned_file: ((pipeline-name))/bin_gpdb_centos6/bin_gpdb.tar.gz
422

423 424 425 426 427 428 429
- 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

430 431 432 433 434 435 436
- 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}}
437
    versioned_file: bin_gpdb_centos6/gpdb_branch_6X_STABLE/icw_green/bin_gpdb.tar.gz
438

439
- name: bin_gpdb_centos6_rc
440 441 442 443 444 445 446 447 448 449 450 451 452
  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

453 454 455 456 457 458 459
- 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

460 461
# DEPRECATED: Use the above GCS resources instead of these S3 resources.
- name: bin_gpdb_centos6_rc_s3
462 463 464 465 466 467 468
  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
469
- name: bin_gpdb_centos7_rc_s3
470 471 472 473 474 475 476 477
  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

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

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

492 493 494 495 496 497 498
- 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

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

J
Jingyi Mei 已提交
506
- name: bin_gpdb_centos7
507
  type: gcs
J
Jingyi Mei 已提交
508
  source:
509 510 511
    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 已提交
512

513 514 515 516 517 518 519
- 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

520 521 522 523 524 525 526 527 528 529 530 531 532 533
- 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

534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553
- 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/

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

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

573 574 575 576 577 578 579 580
- 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
581
  type: gcs
582
  source:
583 584 585
    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
586 587 588 589 590 591 592

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

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
- 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}}
622

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

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

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

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

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

676
- &ccp_gen_cluster_default_params
677 678 679
  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 已提交
680
  BUCKET_PATH: clusters-google/
681
  BUCKET_NAME: {{tf-bucket-name}}
A
Alexandra Wang 已提交
682
  CLOUD_PROVIDER: google
683

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

710
- &set_failed_two_clusters
711 712 713 714 715 716 717 718 719 720 721 722 723 724
  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 已提交
725
        path: 'ccp_src/google/ccp_failed_test.sh'
726
      params:
A
Alexandra Wang 已提交
727 728 729 730
        GOOGLE_CREDENTIALS: {{google-service-account-key}}
        GOOGLE_PROJECT_ID: {{google-project-id}}
        GOOGLE_ZONE: {{google-zone}}
        GOOGLE_SERVICE_ACCOUNT: {{google-service-account}}
731 732 733
        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 已提交
734
        BUCKET_PATH: clusters-google/
735
        BUCKET_NAME: {{tf-bucket-name}}
736

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

jobs:

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

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

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

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

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

854
- name: prepare_binary_swap_gpdb_centos6
M
Michael Roth 已提交
855 856 857
  plan:
  - aggregate:
    - get: gpdb_src
858 859
    - get: gpdb_rpm
      resource: previous_gpdb_rpm
M
Michael Roth 已提交
860
      trigger: true
861 862
      params:
        globs: [greenplum-db-6*-rhel6-x86_64.rpm]
863
    - get: gpdb6-centos6-build
864 865
  - task: generate_previous_bin_gpdb
    file: gpdb_src/concourse/tasks/extract_rpm.yml
866
    image: gpdb6-centos6-build
867
  - put: binary_swap_gpdb_centos6
868
    params:
869
      file: gpdb_artifacts/bin_gpdb.tar.gz
M
Michael Roth 已提交
870

871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898
- 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

899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915
- 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:
916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953
      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
954

955 956 957
## ======================================================================
##  ___ ______        __
## |_ _/ ___\ \      / /
958 959 960
##  | | |    \ \ /\ / /
##  | | |___  \ V  V /
## |___\____|  \_/\_/
961 962
## ======================================================================

963 964 965 966
- name: icw_planner_centos6
  plan:
  - aggregate:
    - get: gpdb_src
967
      passed: [compile_gpdb_centos6]
968
    - get: bin_gpdb
969
      passed: [compile_gpdb_centos6]
970 971 972
      resource: bin_gpdb_centos6
      trigger: true
    - get: binary_swap_gpdb
973
      passed: [prepare_binary_swap_gpdb_centos6]
974 975
      resource: binary_swap_gpdb_centos6
      trigger: true
976
    - get: gpdb6-centos6-test
977
  - task: ic_gpdb
978
    file: gpdb_src/concourse/tasks/ic_gpdb_binary_swap.yml
979
    image: gpdb6-centos6-test
980
    params:
981
      MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=off' installcheck-world
982
      TEST_OS: centos
983
      TEST_BINARY_SWAP: {{test-binary-swap}}
984
      CONFIGURE_FLAGS: {{configure_flags}}
M
Michael Roth 已提交
985

986 987 988 989
- name: icw_gporca_centos6
  plan:
  - aggregate:
    - get: gpdb_src
990
      passed: [compile_gpdb_centos6]
991 992
    - get: bin_gpdb
      resource: bin_gpdb_centos6
993
      passed: [compile_gpdb_centos6]
994
      trigger: true
995
    - get: gpdb6-centos6-test
996 997
  - task: ic_gpdb
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
998
    image: gpdb6-centos6-test
999
    params:
1000
      MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=on' installcheck-world
1001 1002
      TEST_OS: centos
      CONFIGURE_FLAGS: {{configure_flags}}
1003
      DUMP_DB: "true"
1004
  - put: icw_gporca_centos6_dump
1005 1006
    params:
      file: sqldump/dump.sql.xz
M
Michael Roth 已提交
1007

1008 1009 1010 1011
- name: icw_gporca_centos6_gpos_memory
  plan:
  - aggregate:
    - get: gpdb_src
1012
      passed: [compile_gpdb_centos6]
1013 1014
    - get: bin_gpdb
      resource: bin_gpdb_centos6
1015
      passed: [compile_gpdb_centos6]
1016
      trigger: true
1017
    - get: gpdb6-centos6-test
1018 1019
  - task: ic_gpdb
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
1020
    image: gpdb6-centos6-test
1021
    params:
1022
      MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=on' installcheck-world
1023 1024 1025 1026 1027 1028 1029 1030
      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
1031
      passed: [compile_gpdb_centos6]
1032 1033
    - get: bin_gpdb
      resource: bin_gpdb_centos6
1034
      passed: [compile_gpdb_centos6]
1035
      trigger: true
1036
    - get: gpdb6-centos6-test
1037 1038
  - task: ic_gpdb
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
1039
    image: gpdb6-centos6-test
1040
    params:
1041
      MAKE_TEST_COMMAND: -k PGOPTIONS='-c gp_interconnect_type=tcp -c optimizer=off' installcheck-world
1042 1043
      TEST_OS: centos

1044 1045 1046 1047
- name: icw_gporca_centos7
  plan:
  - aggregate:
    - get: gpdb_src
1048
      passed: [compile_gpdb_centos7]
1049 1050
    - get: bin_gpdb
      resource: bin_gpdb_centos7
1051
      passed: [compile_gpdb_centos7]
J
Jingyi Mei 已提交
1052
      trigger: true
1053
    - get: gpdb6-centos7-test
J
Jingyi Mei 已提交
1054 1055
  - task: ic_gpdb
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
1056
    image: gpdb6-centos7-test
J
Jingyi Mei 已提交
1057
    params:
1058
      MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=on' installcheck-world
J
Jingyi Mei 已提交
1059
      TEST_OS: centos
1060
      CONFIGURE_FLAGS: {{configure_flags}}
M
Michael Roth 已提交
1061

K
Kris Macoskey 已提交
1062 1063 1064 1065 1066 1067 1068 1069 1070
- 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
1071
    - get: gpdb6-centos7-test
K
Kris Macoskey 已提交
1072 1073
  - task: ic_gpdb
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
1074
    image: gpdb6-centos7-test
K
Kris Macoskey 已提交
1075
    params:
1076
      MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=off' installcheck-world
K
Kris Macoskey 已提交
1077 1078 1079
      TEST_OS: centos
      CONFIGURE_FLAGS: {{configure_flags}}

1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115
- 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}}

1116 1117
- name: gate_icw_end
  plan:
1118
  - aggregate:
1119 1120 1121 1122 1123 1124
    - get: bin_gpdb_centos6
      passed:
      - icw_gporca_centos6
      - icw_gporca_centos6_gpos_memory
      - icw_planner_centos6
      - icw_planner_ictcp_centos6
1125
      - icw_extensions_gpcloud_centos6
1126 1127 1128
    - get: icw_gporca_centos6_dump
      passed:
      - icw_gporca_centos6
1129 1130
    - get: gpdb_src
      passed:
1131 1132
      - icw_gporca_centos6
      - icw_gporca_centos6_gpos_memory
1133
      - icw_planner_centos6
1134
      - icw_planner_ictcp_centos6
1135
      - icw_extensions_gpcloud_centos6
1136
      - icw_gporca_centos7
1137
      trigger: true
1138 1139 1140
  - put: bin_gpdb_centos6_icw_green
    params:
      file: bin_gpdb_centos6/bin_gpdb.tar.gz
M
Michael Roth 已提交
1141

1142
## ======================================================================
1143 1144 1145 1146 1147
##  ___ _   _ _____ _____ ____   ____ ___  _   _ _   _ _____ ____ _____
## |_ _| \ | |_   _| ____|  _ \ / ___/ _ \| \ | | \ | | ____/ ___|_   _|
##  | ||  \| | | | |  _| | |_) | |  | | | |  \| |  \| |  _|| |     | |
##  | || |\  | | | | |___|  _ <| |__| |_| | |\  | |\  | |__| |___  | |
## |___|_| \_| |_| |_____|_| \_\\____\___/|_| \_|_| \_|_____\____| |_|
1148
## ======================================================================
1149
- name: interconnect
1150
  plan:
C
Chris Hajas 已提交
1151
  - aggregate:
1152
    - get: gpdb_src
1153
      passed: [compile_gpdb_centos6]
1154
    - get: bin_gpdb
1155
      passed: [compile_gpdb_centos6]
1156
      resource: bin_gpdb_centos6
C
Chris Hajas 已提交
1157
      trigger: true
1158
    - get: gpdb6-centos6-test
1159 1160
  - task: ic_gpdb
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
1161
    image: gpdb6-centos6-test
1162
    params:
N
Ning Yu 已提交
1163 1164
      MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=off'
        BUILD_TYPE=((rc-build-type)) -C src/test/regress installcheck-icudp
1165
      TEST_OS: centos
M
Michael Roth 已提交
1166

1167 1168 1169 1170 1171 1172 1173 1174 1175
## ======================================================================
##  ____                                     ____
## |  _ \ ___  ___  ___  _   _ _ __ ___ ___ / ___|_ __ ___  _   _ _ __  ___
## | |_) / _ \/ __|/ _ \| | | | '__/ __/ _ \ |  _| '__/ _ \| | | | '_ \/ __|
## |  _ <  __/\__ \ (_) | |_| | | | (_|  __/ |_| | | | (_) | |_| | |_) \__ \
## |_| \_\___||___/\___/ \__,_|_|  \___\___|\____|_|  \___/ \__,_| .__/|___/
##                                                               |_|
## ======================================================================

1176
- name: gate_resource_groups_start
1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189
  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
1190
    - get: binary_swap_gpdb
1191
      passed: [prepare_binary_swap_gpdb_centos6]
1192
      resource: binary_swap_gpdb_centos6
1193
      trigger: true
1194

1195
- name: resource_group_centos6
1196 1197 1198
  plan:
  - aggregate:
    - get: gpdb_src
1199
      passed: [gate_resource_groups_start]
1200
    - get: gpdb_binary
1201
      resource: bin_gpdb_centos6
1202
      passed: [gate_resource_groups_start]
1203 1204
      trigger: true
    - get: ccp_src
1205
    - get: ccp-image
1206
    - get: binary_swap_gpdb
1207
      passed: [gate_resource_groups_start]
1208 1209
      resource: binary_swap_gpdb_centos6
      trigger: true
1210 1211
  - put: terraform
    params:
1212 1213 1214
      <<: *ccp_default_params
      vars:
        <<: *ccp_default_vars
A
Alexandra Wang 已提交
1215
        instance_type: n1-standard-2
1216 1217
  - task: gen_cluster
    file: ccp_src/ci/tasks/gen_cluster.yml
1218
    params:
1219
      <<: *ccp_gen_cluster_default_params
A
Alexandra Wang 已提交
1220 1221
  - task: gpinitsystem
    file: ccp_src/ci/tasks/gpinitsystem.yml
1222
  - task: run_tests
M
Michael Roth 已提交
1223
    file: gpdb_src/concourse/tasks/ic_gpdb_resgroup.yml
1224
    image: ccp-image
1225
    params:
M
Michael Roth 已提交
1226
      TEST_OS: centos6
1227 1228
    on_success:
      <<: *ccp_destroy
1229
  ensure:
1230
    <<: *set_failed
M
Michael Roth 已提交
1231

1232
- name: resource_group_centos7
1233
  plan:
M
Michael Roth 已提交
1234 1235
  - aggregate:
    - get: gpdb_src
1236
      passed: [gate_resource_groups_start]
1237
    - get: gpdb_binary
M
Michael Roth 已提交
1238
      resource: bin_gpdb_centos7
1239
      passed: [gate_resource_groups_start]
M
Michael Roth 已提交
1240 1241
      trigger: true
    - get: ccp_src
1242
    - get: ccp-image
1243
    - get: binary_swap_gpdb
1244
      passed: [gate_resource_groups_start]
1245 1246
      resource: binary_swap_gpdb_centos6
      trigger: true
1247
  - put: terraform
M
Michael Roth 已提交
1248 1249 1250 1251
    params:
      <<: *ccp_default_params
      vars:
        <<: *ccp_default_vars
A
Alexandra Wang 已提交
1252
        PLATFORM: centos7
J
Jialun 已提交
1253
        instance_type: n1-standard-2
1254
  - task: gen_cluster
M
Michael Roth 已提交
1255 1256 1257
    file: ccp_src/ci/tasks/gen_cluster.yml
    params:
      <<: *ccp_gen_cluster_default_params
A
Alexandra Wang 已提交
1258 1259 1260
      PLATFORM: centos7
  - task: gpinitsystem
    file: ccp_src/ci/tasks/gpinitsystem.yml
1261
  - task: run_tests
M
Michael Roth 已提交
1262
    file: gpdb_src/concourse/tasks/ic_gpdb_resgroup.yml
1263
    image: ccp-image
1264
    params:
M
Michael Roth 已提交
1265
      TEST_OS: centos7
1266 1267
    on_success:
      <<: *ccp_destroy
1268
  ensure:
1269
    <<: *set_failed
M
Michael Roth 已提交
1270

1271

1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296

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

- 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
1297
      passed: [prepare_binary_swap_gpdb_centos6]
1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 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
      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



1341
## ======================================================================
1342 1343 1344 1345 1346
##   ____ _     ___
##  / ___| |   |_ _|
## | |   | |    | |
## | |___| |___ | |
##  \____|_____|___|
1347 1348
## ======================================================================

1349
- name: gate_cli_start
1350
  plan:
1351 1352 1353
  - aggregate:
    - get: gpdb_src
      passed:
1354
      - compile_gpdb_centos6
1355 1356 1357
      trigger: true
    - get: bin_gpdb_centos6
      passed:
1358
      - compile_gpdb_centos6
M
Michael Roth 已提交
1359

1360
- name: check_centos
1361 1362 1363
  plan:
  - aggregate:
    - get: gpdb_src
1364
      passed: [gate_cli_start]
1365
    - get: bin_gpdb
1366
      resource: bin_gpdb_centos6
1367
      passed: [gate_cli_start]
1368
      trigger: true
1369 1370 1371 1372
    - get: gpdb6-centos6-test
  - task: check_centos
    file: gpdb_src/concourse/tasks/gpMgmt_check_gpdb.yml
    image: gpdb6-centos6-test
1373
    params:
1374
      TEST_OS: centos
M
Michael Roth 已提交
1375

1376
- name: gpmovemirrors
1377
  plan:
1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409
    - 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
1410
            
1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423
          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:
1424
            BEHAVE_FLAGS: --tags=gpmovemirrors --tags=~concourse_cluster,demo_cluster
1425
            
M
Michael Roth 已提交
1426

1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461
- 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
1462
            
1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478
          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
1479
            
1480

1481
- name: gppkg
1482
  plan:
1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502
    - 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
1503
              
1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514
        - 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
1515
            
1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528
          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:
1529
            BEHAVE_FLAGS: --tags=gppkg --tags=~concourse_cluster,demo_cluster
1530
            
1531

1532 1533 1534 1535 1536 1537 1538 1539 1540 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
- 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
1567
            
1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583
          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
1584
            
1585

1586
- name: analyzedb
1587
  plan:
1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604
    - 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:
1605
            BEHAVE_FLAGS: --tags=analyzedb --tags=~concourse_cluster,demo_cluster
1606
            
1607

1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629
- 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
1630
            
1631

1632
- name: gpinitsystem
1633
  plan:
1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650
    - 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:
1651
            BEHAVE_FLAGS: --tags=gpinitsystem --tags=~concourse_cluster,demo_cluster
1652
            
M
Michael Roth 已提交
1653

1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675
- 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
1676
            
1677

1678
- name: gpstate
J
Jamie McAtamney 已提交
1679
  plan:
1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696
    - 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:
1697
            BEHAVE_FLAGS: --tags=gpstate --tags=~concourse_cluster,demo_cluster
1698
            
J
Jamie McAtamney 已提交
1699

1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721
- 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
1722
            
1723

1724
- name: replication_slots
1725
  plan:
1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742
    - 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:
1743
            BEHAVE_FLAGS: --tags=replication_slots --tags=~concourse_cluster,demo_cluster
1744
            
M
Michael Roth 已提交
1745

1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767
- 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
1768
            
1769

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
      - 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
1804
            
1805 1806 1807 1808
          on_success:
            <<: *ccp_destroy
          ensure:
            <<: *set_failed
1809 1810 1811 1812 1813 1814 1815 1816 1817
      - 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:
1818
            BEHAVE_FLAGS: --tags=gpactivatestandby --tags=~concourse_cluster,demo_cluster
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
- 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
1856
            
1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872
          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
1873
            
1874

1875
- name: gpinitstandby
J
Jacob Champion 已提交
1876
  plan:
1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893
    - 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:
1894
            BEHAVE_FLAGS: --tags=gpinitstandby --tags=~concourse_cluster,demo_cluster
1895
            
J
Jacob Champion 已提交
1896

1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918
- 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
1919
            
1920

1921
- name: gpcheckcat
1922
  plan:
1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942
    - 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
1943
              
1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954
        - 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
1955
            
1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968
          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:
1969
            BEHAVE_FLAGS: --tags=gpcheckcat --tags=~concourse_cluster,demo_cluster
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
- 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
2007
            
2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023
          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
2024
            
2025

2026
- name: gprecoverseg
A
Asim R P 已提交
2027
  plan:
2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047
    - 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
2048
              
2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059
        - 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
2060
            
2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073
          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:
2074
            BEHAVE_FLAGS: --tags=gprecoverseg --tags=~concourse_cluster,demo_cluster
2075
            
M
Michael Roth 已提交
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
- 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
2112
            
2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128
          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
2129
            
2130

2131 2132
- name: gpaddmirrors
  plan:
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 2164
    - 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
2165
            
2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178
          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:
2179
            BEHAVE_FLAGS: --tags=gpaddmirrors --tags=~concourse_cluster,demo_cluster
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
- 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
2217
            
2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233
          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
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 2266 2267 2268 2269
- 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
2270
            LC_CTYPE: en_US.UTF-8
2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284
          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
2285
            LC_CTYPE: en_US.UTF-8
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 2319 2320 2321
- 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
2322
            LC_CTYPE: en_US.UTF-8
2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338
          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
2339
            LC_CTYPE: en_US.UTF-8
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 2368 2369 2370 2371 2372 2373 2374
- 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
2375
            
2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389
          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
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 2420 2421 2422 2423 2424 2425 2426
- 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
2427
            
2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443
          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
2444
            
2445

J
Jamie McAtamney 已提交
2446

2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 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
- 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

2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529
- 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


2530
 # end CLI test_sections
2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553

## ======================================================================
##     _        _
##    / \      / \
##   / _ \    / _ \
##  / ___ \  / ___ \
## /_/   \_\/_/   \_\
## ======================================================================
- 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

2554
- name: madlib_build_gppkg
2555 2556
  plan:
  - aggregate:
2557
    - get: madlib_src
2558
    - get: madlib_ci
2559 2560 2561 2562
    - get: cmake_tar
    - get: pyxb
    - get: eigen
    - get: boost
2563 2564 2565 2566 2567 2568
    - get: gpdb_src
      passed: [gate_advanced_analytics_start]
    - get: bin_gpdb
      resource: bin_gpdb_centos6
      trigger: true
      passed: [gate_advanced_analytics_start]
2569 2570
    - get: bin_gpdb_centos7
      passed: [gate_advanced_analytics_start]
2571
    - get: gpdb6-centos6-build
2572 2573
  - task: build_madlib_gppkg_from_source
    file: madlib_ci/concourse/tasks/madlib_build_gppkg_from_source.yml
2574
    image: gpdb6-centos6-build
2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592
    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]
2593
    - get: gpdb6-centos6-test
2594
    - get: madlib_gppkg
2595 2596
      passed: [madlib_build_gppkg]
      trigger: true
2597 2598
  - task: MADlib_Test_gppkg
    file: madlib_ci/concourse/tasks/madlib_test_gppkg.yml
2599
    image: gpdb6-centos6-test
2600 2601 2602 2603 2604 2605 2606 2607 2608 2609
    params:
      TEST_OS: centos
      ORCA: "off"
      DBVER: gpdb6-assert

- name: MADlib_Test_orca_centos6
  plan:
  - aggregate:
    - get: madlib_ci
    - get: gpdb_src
2610
      passed: [madlib_build_gppkg]
2611 2612
    - get: bin_gpdb
      resource: bin_gpdb_centos6
2613
      passed: [madlib_build_gppkg]
2614
    - get: gpdb6-centos6-test
2615
    - get: madlib_gppkg
2616 2617
      passed: [madlib_build_gppkg]
      trigger: true
2618 2619
  - task: MADlib_Test_gppkg
    file: madlib_ci/concourse/tasks/madlib_test_gppkg.yml
2620
    image: gpdb6-centos6-test
2621 2622 2623 2624 2625 2626 2627 2628 2629 2630
    params:
      TEST_OS: centos
      ORCA: "on"
      DBVER: gpdb6-assert

- name: MADlib_Test_planner_centos7
  plan:
  - aggregate:
    - get: madlib_ci
    - get: gpdb_src
2631
      passed: [madlib_build_gppkg]
2632 2633
    - get: bin_gpdb
      resource: bin_gpdb_centos7
2634
      passed: [madlib_build_gppkg]
2635
    - get: gpdb6-centos7-test
2636
    - get: madlib_gppkg
2637 2638
      passed: [madlib_build_gppkg]
      trigger: true
2639 2640
  - task: MADlib_Test_gppkg
    file: madlib_ci/concourse/tasks/madlib_test_gppkg.yml
2641
    image: gpdb6-centos7-test
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651
    params:
      TEST_OS: centos
      ORCA: "off"
      DBVER: gpdb6-assert

- name: MADlib_Test_orca_centos7
  plan:
  - aggregate:
    - get: madlib_ci
    - get: gpdb_src
2652
      passed: [madlib_build_gppkg]
2653 2654
    - get: bin_gpdb
      resource: bin_gpdb_centos7
2655
      passed: [madlib_build_gppkg]
2656
    - get: gpdb6-centos7-test
2657
    - get: madlib_gppkg
2658 2659
      passed: [madlib_build_gppkg]
      trigger: true
2660 2661
  - task: MADlib_Test_gppkg
    file: madlib_ci/concourse/tasks/madlib_test_gppkg.yml
2662
    image: gpdb6-centos7-test
2663 2664 2665 2666 2667
    params:
      TEST_OS: centos
      ORCA: "on"
      DBVER: gpdb6-assert

2668
## ======================================================================
2669 2670
##  ____      _
## |  _ \ ___| | ___  __ _ ___  ___
2671 2672 2673 2674
## | |_) / _ \ |/ _ \/ _` / __|/ _ \
## |  _ <  __/ |  __/ (_| \__ \  __/
## |_| \_\___|_|\___|\__,_|___/\___|
## ======================================================================
2675

2676 2677 2678 2679 2680 2681 2682 2683
- name: gate_release_candidate_start
  plan:
  - aggregate:
    - get: gpdb_src
      trigger: true
      passed:
      - compile_gpdb_centos6
      - compile_gpdb_centos7
2684
      - compile_gpdb_ubuntu18.04
2685 2686 2687 2688
      - icw_planner_centos6
      - icw_gporca_centos6
      - icw_gporca_centos7
      - icw_planner_centos7
2689 2690
      - icw_gporca_ubuntu18.04
      - icw_planner_ubuntu18.04
2691 2692 2693 2694
      - icw_planner_ictcp_centos6
      - icw_extensions_gpcloud_centos6
      - resource_group_centos6
      - resource_group_centos7
2695 2696
      - gpperfmon_centos6
      - gpperfmon_centos7
2697
      - test_gpdb_clients_windows
2698
      - gpmovemirrors
2699
      - gpmovemirrors_ubuntu18
2700
      - gppkg
2701
      - gppkg_ubuntu18
2702
      - analyzedb
2703
      - analyzedb_ubuntu18
2704
      - gpinitsystem
2705
      - gpinitsystem_ubuntu18
J
Jacob Champion 已提交
2706
      - gpstate
2707
      - gpstate_ubuntu18
2708
      - replication_slots
2709
      - replication_slots_ubuntu18
2710
      - gpactivatestandby
2711
      - gpactivatestandby_ubuntu18
2712
      - gpinitstandby
2713
      - gpinitstandby_ubuntu18
2714
      - gpcheckcat
2715
      - gpcheckcat_ubuntu18
2716
      - gprecoverseg
2717
      - gprecoverseg_ubuntu18
2718
      - gpaddmirrors
2719
      - gpaddmirrors_ubuntu18
2720
      - gpconfig
2721
      - gpconfig_ubuntu18
2722
      - gpssh-exkeys
2723
      - gpssh-exkeys_ubuntu18
2724 2725 2726 2727 2728
 ##     - madlib_build_gppkg
 ##     - MADlib_Test_orca_centos6
 ##     - MADlib_Test_planner_centos6
 ##     - MADlib_Test_orca_centos7
 ##     - MADlib_Test_planner_centos7
2729
      - pg_upgrade
2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741
      - 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
2742 2743
      - gpmovemirrors
      - gppkg
2744 2745
      - analyzedb
      - gpinitsystem
J
Jacob Champion 已提交
2746
      - gpstate
2747
      - replication_slots
2748 2749 2750 2751 2752
      - gpactivatestandby
      - gpinitstandby
      - gpcheckcat
      - gprecoverseg
      - gpaddmirrors
2753
      - gpconfig
2754
      - gpssh-exkeys
2755 2756
 ##     - MADlib_Test_orca_centos6
 ##     - MADlib_Test_planner_centos6
2757 2758 2759 2760 2761 2762 2763 2764 2765 2766
      - gpexpand
      - check_centos
      - interconnect
    - get: bin_gpdb_centos7
      trigger: true
      passed:
      - compile_gpdb_centos7
      - icw_gporca_centos7
      - icw_planner_centos7
      - resource_group_centos7
2767 2768
 ##     - MADlib_Test_orca_centos7
 ##     - MADlib_Test_planner_centos7
2769 2770 2771 2772 2773 2774
    - get: bin_gpdb_clients_centos6
      passed:
      - compile_gpdb_centos6
    - get: bin_gpdb_clients_centos7
      passed:
      - compile_gpdb_centos7
2775 2776 2777 2778 2779 2780
    - get: bin_gpdb_ubuntu18.04
      trigger: true
      passed:
      - compile_gpdb_ubuntu18.04
      - icw_gporca_ubuntu18.04
      - icw_planner_ubuntu18.04
2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793
      - 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
2794 2795 2796
    - get: bin_gpdb_clients_ubuntu18.04
      passed:
      - compile_gpdb_ubuntu18.04
2797 2798 2799
    - get: bin_gpdb_clients_windows
      passed:
      - test_gpdb_clients_windows
2800

2801 2802
- name: Release_Candidate
  plan:
2803 2804 2805 2806 2807 2808 2809 2810 2811 2812
  - 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]
2813 2814 2815
    - get: bin_gpdb_ubuntu18.04
      trigger: true
      passed: [gate_release_candidate_start]
2816 2817 2818 2819 2820 2821
    - get: bin_gpdb_clients_centos6
      trigger: true
      passed: [gate_release_candidate_start]
    - get: bin_gpdb_clients_centos7
      trigger: true
      passed: [gate_release_candidate_start]
2822 2823 2824
    - get: bin_gpdb_clients_ubuntu18.04
      trigger: true
      passed: [gate_release_candidate_start]
2825 2826
    - get: bin_gpdb_clients_windows
      passed: [gate_release_candidate_start]
2827 2828 2829
    - get: gpdb6-centos6-build
  - aggregate:
    - task: rename_rc_artifacts
2830 2831 2832
      file: gpdb_src/concourse/tasks/rename_rc_artifacts.yml
      params:
        RC_BUILD_TYPE_GCS: ((rc-build-type-gcs))
2833 2834 2835 2836 2837
    - task: verify_gpdb_versions
      file: gpdb_src/concourse/tasks/verify_gpdb_versions.yml
  - aggregate:
    - put: bin_gpdb_centos6_rc
      params:
2838
        file: "release_candidates/server-rc-*rhel6*.tar.gz"
2839 2840
    - put: bin_gpdb_centos7_rc
      params:
2841 2842 2843 2844
        file: "release_candidates/server-rc-*rhel7*.tar.gz"
    - put: bin_gpdb_ubuntu18.04_rc
      params:
        file: "release_candidates/server-rc-*ubuntu18.04*.tar.gz"
2845 2846
    - put: bin_gpdb_clients_centos6_rc
      params:
2847
        file: "release_candidates/clients-rc-*rhel6*.tar.gz"
2848 2849
    - put: bin_gpdb_clients_centos7_rc
      params:
2850 2851 2852 2853
        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"
2854 2855
    - put: bin_gpdb_clients_windows_rc
      params:
2856
        file: "release_candidates/clients-rc-*-windows*.msi"
2857 2858 2859 2860 2861 2862 2863
    - 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

2864 2865

## ======================================================================
2866 2867
##    __      _                 _
##   /__\_  _| |_ ___ _ __  ___(_) ___  _ __  ___
2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880
##  /_\ \ \/ / __/ _ \ '_ \/ __| |/ _ \| '_ \/ __|
## //__  >  <| ||  __/ | | \__ \ | (_) | | | \__ \
## \__/ /_/\_\\__\___|_| |_|___/_|\___/|_| |_|___/
## ======================================================================

- name: icw_extensions_gpcloud_centos6
  plan:
  - aggregate:
    - get: gpdb_src
      passed: [compile_gpdb_centos6]
      trigger: true
    - get: bin_gpdb_centos6
      passed: [compile_gpdb_centos6]
2881
    - get: gpdb6-centos6-test
2882 2883 2884
  - aggregate:
    - task: unit_tests_gpcloud
      file: gpdb_src/concourse/tasks/unit_tests_gpcloud.yml
2885
      image: gpdb6-centos6-test
2886 2887 2888 2889 2890 2891
      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
2892
      image: gpdb6-centos6-test
2893 2894 2895 2896 2897 2898 2899 2900
      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
2901
      image: gpdb6-centos6-test
2902 2903 2904 2905
      params:
        gpcloud_access_key_id: {{gpcloud-access-key-id}}
        gpcloud_secret_access_key: {{gpcloud-secret-access-key}}
        TARGET_OS: centos