gpdb_6X_STABLE-generated.yml 84.7 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-01 10:19:54.296766
16
## Template file: gpdb-tpl.yml
17
## OS Types: ['centos6', 'centos7', 'ubuntu18.04', 'win']
18
## Test Sections: ['ICW', 'Replication', 'ResourceGroups', 'Interconnect', 'CLI', 'UD', 'AA', 'Extensions', 'Gpperfmon']
19
## ======================================================================
K
Kris Macoskey 已提交
20

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

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

101 102

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

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

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

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

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

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

138 139 140 141 142 143 144

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

- name: Extensions
  jobs:
  - icw_extensions_gpcloud_centos6

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

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

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

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

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

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

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

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

209 210 211 212

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

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

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

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

- name: terraform
  type: terraform
  source:
    env:
      AWS_ACCESS_KEY_ID: {{tf-machine-access-key-id}}
      AWS_SECRET_ACCESS_KEY: {{tf-machine-secret-access-key}}
A
Alexandra Wang 已提交
264 265 266
      GOOGLE_CREDENTIALS: {{google-service-account-key}}
    vars:
      project_id: {{google-project-id}}
267 268 269 270 271 272 273
    storage:
      access_key_id: {{tf-machine-access-key-id}}
      secret_access_key: {{tf-machine-secret-access-key}}
      region_name: {{aws-region}}
      # This is not parameterized, on purpose. All tfstates will go to this spot,
      # and different teams will place there clusters' tfstate files under different paths
      bucket: gpdb5-pipeline-dynamic-terraform
A
Alexandra Wang 已提交
274
      bucket_path: clusters-google/
275

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

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

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

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

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

312

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

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

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

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

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

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

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

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

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

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

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

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

405

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

425 426 427 428 429 430 431
- 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

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

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

455 456 457 458 459 460 461
- 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

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

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

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

494 495 496 497 498 499 500
- 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

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

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

515 516 517 518 519 520 521
- 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

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

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

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

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

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

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

598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623
- 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}}
624

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

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

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

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

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

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

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

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

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

jobs:

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

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

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

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

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

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

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

888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915
- 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

916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932
- 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:
933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970
      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
971

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

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

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

1025 1026 1027 1028
- name: icw_gporca_centos6_gpos_memory
  plan:
  - aggregate:
    - get: gpdb_src
1029
      passed: [compile_gpdb_centos6]
1030 1031
    - get: bin_gpdb
      resource: bin_gpdb_centos6
1032
      passed: [compile_gpdb_centos6]
1033
      trigger: true
1034
    - get: gpdb6-centos6-test
1035 1036
  - task: ic_gpdb
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
1037
    image: gpdb6-centos6-test
1038
    params:
1039
      MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=on' installcheck-world
1040 1041 1042 1043 1044 1045 1046 1047
      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
1048
      passed: [compile_gpdb_centos6]
1049 1050
    - get: bin_gpdb
      resource: bin_gpdb_centos6
1051
      passed: [compile_gpdb_centos6]
1052
      trigger: true
1053
    - get: gpdb6-centos6-test
1054 1055
  - task: ic_gpdb
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
1056
    image: gpdb6-centos6-test
1057
    params:
1058
      MAKE_TEST_COMMAND: -k PGOPTIONS='-c gp_interconnect_type=tcp -c optimizer=off' installcheck-world
1059 1060
      TEST_OS: centos

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

K
Kris Macoskey 已提交
1079 1080 1081 1082 1083 1084 1085 1086 1087
- 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
1088
    - get: gpdb6-centos7-test
K
Kris Macoskey 已提交
1089 1090
  - task: ic_gpdb
    file: gpdb_src/concourse/tasks/ic_gpdb.yml
1091
    image: gpdb6-centos7-test
K
Kris Macoskey 已提交
1092
    params:
1093
      MAKE_TEST_COMMAND: -k PGOPTIONS='-c optimizer=off' installcheck-world
K
Kris Macoskey 已提交
1094 1095 1096
      TEST_OS: centos
      CONFIGURE_FLAGS: {{configure_flags}}

1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132
- 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}}

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

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

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

1193
- name: gate_resource_groups_start
1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206
  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
1207
    - get: binary_swap_gpdb
1208
      passed: [prepare_binary_swap_gpdb_centos6]
1209
      resource: binary_swap_gpdb_centos6
1210
      trigger: true
1211

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

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

1288

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

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

- 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
1314
      passed: [prepare_binary_swap_gpdb_centos6]
1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357
      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



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

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

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

1393
- name: gpmovemirrors
1394
  plan:
1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426
    - 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
1427
            
1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440
          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:
1441
            BEHAVE_FLAGS: --tags=gpmovemirrors --tags=~concourse_cluster,demo_cluster
1442
            
M
Michael Roth 已提交
1443

1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478
- 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
1479
            
1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495
          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
1496
            
1497

1498
- name: gppkg
1499
  plan:
1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519
    - 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
1520
              
1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531
        - 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
1532
            
1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545
          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:
1546
            BEHAVE_FLAGS: --tags=gppkg --tags=~concourse_cluster,demo_cluster
1547
            
1548

1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583
- 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
1584
            
1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600
          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
1601
            
1602

1603
- name: analyzedb
1604
  plan:
1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621
    - 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:
1622
            BEHAVE_FLAGS: --tags=analyzedb --tags=~concourse_cluster,demo_cluster
1623
            
1624

1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646
- 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
1647
            
1648

1649
- name: gpinitsystem
1650
  plan:
1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667
    - 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:
1668
            BEHAVE_FLAGS: --tags=gpinitsystem --tags=~concourse_cluster,demo_cluster
1669
            
M
Michael Roth 已提交
1670

1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692
- 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
1693
            
1694

1695
- name: gpstate
J
Jamie McAtamney 已提交
1696
  plan:
1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713
    - 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:
1714
            BEHAVE_FLAGS: --tags=gpstate --tags=~concourse_cluster,demo_cluster
1715
            
J
Jamie McAtamney 已提交
1716

1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738
- 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
1739
            
1740

1741
- name: replication_slots
1742
  plan:
1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759
    - 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:
1760
            BEHAVE_FLAGS: --tags=replication_slots --tags=~concourse_cluster,demo_cluster
1761
            
M
Michael Roth 已提交
1762

1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784
- 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
1785
            
1786

1787
- name: gpactivatestandby
1788
  plan:
1789 1790 1791 1792 1793 1794 1795 1796
    - aggregate:
      - get: gpdb_src
        params:
          submodules:
            - gpMgmt/bin/pythonSrc/ext
        passed: [gate_cli_start]
      - get: gpdb6-centos6-test
    - aggregate:
1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820
      - 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
1821
            
1822 1823 1824 1825
          on_success:
            <<: *ccp_destroy
          ensure:
            <<: *set_failed
1826 1827 1828 1829 1830 1831 1832 1833 1834
      - 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:
1835
            BEHAVE_FLAGS: --tags=gpactivatestandby --tags=~concourse_cluster,demo_cluster
1836
            
1837

1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872
- 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
1873
            
1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889
          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
1890
            
1891

1892
- name: gpinitstandby
J
Jacob Champion 已提交
1893
  plan:
1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910
    - 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:
1911
            BEHAVE_FLAGS: --tags=gpinitstandby --tags=~concourse_cluster,demo_cluster
1912
            
J
Jacob Champion 已提交
1913

1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935
- 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
1936
            
1937

1938
- name: gpcheckcat
1939
  plan:
1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959
    - 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
1960
              
1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971
        - 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
1972
            
1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985
          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:
1986
            BEHAVE_FLAGS: --tags=gpcheckcat --tags=~concourse_cluster,demo_cluster
1987
            
1988

1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023
- 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
2024
            
2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040
          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
2041
            
2042

2043
- name: gprecoverseg
A
Asim R P 已提交
2044
  plan:
2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064
    - 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
2065
              
2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076
        - 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
2077
            
2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090
          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:
2091
            BEHAVE_FLAGS: --tags=gprecoverseg --tags=~concourse_cluster,demo_cluster
2092
            
M
Michael Roth 已提交
2093

2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128
- 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
2129
            
2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145
          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
2146
            
2147

2148 2149
- name: gpaddmirrors
  plan:
2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181
    - 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
2182
            
2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195
          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:
2196
            BEHAVE_FLAGS: --tags=gpaddmirrors --tags=~concourse_cluster,demo_cluster
2197
            
2198

2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233
- 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
2234
            
2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250
          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
2251
            
2252

2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286
- 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
2287
            LC_CTYPE: en_US.UTF-8
2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301
          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
2302
            LC_CTYPE: en_US.UTF-8
2303

2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338
- 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
2339
            LC_CTYPE: en_US.UTF-8
2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355
          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
2356
            LC_CTYPE: en_US.UTF-8
2357

2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391
- 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
2392
            
2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406
          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
2407
            
2408

2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443
- 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
2444
            
2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460
          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
2461
            
2462

J
Jamie McAtamney 已提交
2463

2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505
- 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

2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546
- 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


2547
 # end CLI test_sections
2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570

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

2571
- name: madlib_build_gppkg
2572 2573
  plan:
  - aggregate:
2574
    - get: madlib_src
2575
    - get: madlib_ci
2576 2577 2578 2579
    - get: cmake_tar
    - get: pyxb
    - get: eigen
    - get: boost
2580 2581 2582 2583 2584 2585
    - get: gpdb_src
      passed: [gate_advanced_analytics_start]
    - get: bin_gpdb
      resource: bin_gpdb_centos6
      trigger: true
      passed: [gate_advanced_analytics_start]
2586 2587
    - get: bin_gpdb_centos7
      passed: [gate_advanced_analytics_start]
2588
    - get: gpdb6-centos6-build
2589 2590
  - task: build_madlib_gppkg_from_source
    file: madlib_ci/concourse/tasks/madlib_build_gppkg_from_source.yml
2591
    image: gpdb6-centos6-build
2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609
    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]
2610
    - get: gpdb6-centos6-test
2611
    - get: madlib_gppkg
2612 2613
      passed: [madlib_build_gppkg]
      trigger: true
2614 2615
  - task: MADlib_Test_gppkg
    file: madlib_ci/concourse/tasks/madlib_test_gppkg.yml
2616
    image: gpdb6-centos6-test
2617 2618 2619 2620 2621 2622 2623 2624 2625 2626
    params:
      TEST_OS: centos
      ORCA: "off"
      DBVER: gpdb6-assert

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

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

- name: MADlib_Test_orca_centos7
  plan:
  - aggregate:
    - get: madlib_ci
    - get: gpdb_src
2669
      passed: [madlib_build_gppkg]
2670 2671
    - get: bin_gpdb
      resource: bin_gpdb_centos7
2672
      passed: [madlib_build_gppkg]
2673
    - get: gpdb6-centos7-test
2674
    - get: madlib_gppkg
2675 2676
      passed: [madlib_build_gppkg]
      trigger: true
2677 2678
  - task: MADlib_Test_gppkg
    file: madlib_ci/concourse/tasks/madlib_test_gppkg.yml
2679
    image: gpdb6-centos7-test
2680 2681 2682 2683 2684
    params:
      TEST_OS: centos
      ORCA: "on"
      DBVER: gpdb6-assert

2685
## ======================================================================
2686 2687
##  ____      _
## |  _ \ ___| | ___  __ _ ___  ___
2688 2689 2690 2691
## | |_) / _ \ |/ _ \/ _` / __|/ _ \
## |  _ <  __/ |  __/ (_| \__ \  __/
## |_| \_\___|_|\___|\__,_|___/\___|
## ======================================================================
2692

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

2819 2820
- name: Release_Candidate
  plan:
2821 2822 2823 2824 2825 2826 2827 2828 2829 2830
  - 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]
2831 2832 2833
    - get: bin_gpdb_ubuntu18.04
      trigger: true
      passed: [gate_release_candidate_start]
2834 2835 2836 2837 2838 2839
    - get: bin_gpdb_clients_centos6
      trigger: true
      passed: [gate_release_candidate_start]
    - get: bin_gpdb_clients_centos7
      trigger: true
      passed: [gate_release_candidate_start]
2840 2841 2842
    - get: bin_gpdb_clients_ubuntu18.04
      trigger: true
      passed: [gate_release_candidate_start]
2843 2844
    - get: bin_gpdb_clients_windows
      passed: [gate_release_candidate_start]
2845 2846 2847
    - get: gpdb6-centos6-build
  - aggregate:
    - task: rename_rc_artifacts
2848 2849 2850
      file: gpdb_src/concourse/tasks/rename_rc_artifacts.yml
      params:
        RC_BUILD_TYPE_GCS: ((rc-build-type-gcs))
2851 2852 2853 2854 2855
    - task: verify_gpdb_versions
      file: gpdb_src/concourse/tasks/verify_gpdb_versions.yml
  - aggregate:
    - put: bin_gpdb_centos6_rc
      params:
2856
        file: "release_candidates/server-rc-*rhel6*.tar.gz"
2857 2858
    - put: bin_gpdb_centos7_rc
      params:
2859 2860 2861 2862
        file: "release_candidates/server-rc-*rhel7*.tar.gz"
    - put: bin_gpdb_ubuntu18.04_rc
      params:
        file: "release_candidates/server-rc-*ubuntu18.04*.tar.gz"
2863 2864
    - put: bin_gpdb_clients_centos6_rc
      params:
2865
        file: "release_candidates/clients-rc-*rhel6*.tar.gz"
2866 2867
    - put: bin_gpdb_clients_centos7_rc
      params:
2868 2869 2870 2871
        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"
2872 2873
    - put: bin_gpdb_clients_windows_rc
      params:
2874
        file: "release_candidates/clients-rc-*-windows*.msi"
2875 2876 2877 2878 2879 2880 2881
    - 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

2882 2883

## ======================================================================
2884 2885
##    __      _                 _
##   /__\_  _| |_ ___ _ __  ___(_) ___  _ __  ___
2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898
##  /_\ \ \/ / __/ _ \ '_ \/ __| |/ _ \| '_ \/ __|
## //__  >  <| ||  __/ | | \__ \ | (_) | | | \__ \
## \__/ /_/\_\\__\___|_| |_|___/_|\___/|_| |_|___/
## ======================================================================

- name: icw_extensions_gpcloud_centos6
  plan:
  - aggregate:
    - get: gpdb_src
      passed: [compile_gpdb_centos6]
      trigger: true
    - get: bin_gpdb_centos6
      passed: [compile_gpdb_centos6]
2899
    - get: gpdb6-centos6-test
2900 2901 2902
  - aggregate:
    - task: unit_tests_gpcloud
      file: gpdb_src/concourse/tasks/unit_tests_gpcloud.yml
2903
      image: gpdb6-centos6-test
2904 2905 2906 2907 2908 2909
      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
2910
      image: gpdb6-centos6-test
2911 2912 2913 2914 2915 2916 2917 2918
      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
2919
      image: gpdb6-centos6-test
2920 2921 2922 2923
      params:
        gpcloud_access_key_id: {{gpcloud-access-key-id}}
        gpcloud_secret_access_key: {{gpcloud-secret-access-key}}
        TARGET_OS: centos