Skip to content

Commit

Permalink
Change the output filename for compile_gpdb_with_llvm_asserts job
Browse files Browse the repository at this point in the history
Authored-by: Ning Wu <ningw@vmware.com>
  • Loading branch information
50wu committed Dec 13, 2023
1 parent 89aa114 commit 1b4a5af
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
9 changes: 6 additions & 3 deletions concourse/pipelines/gpdb_main-generated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
## file (example: templates/gpdb-tpl.yml) and regenerate the pipeline
## using appropriate tool (example: gen_pipeline.py -t prod).
## ----------------------------------------------------------------------
## Generated by gen_pipeline.py at: 2023-12-12 11:15:26.091422
## Generated by gen_pipeline.py at: 2023-12-13 17:36:49.888647
## Template file: gpdb-tpl.yml
## OS Types:
## Test Sections: ['icw', 'cli', 'release']
Expand Down Expand Up @@ -488,7 +488,7 @@ resources:
source:
bucket: ((gcs-bucket-intermediates))
json_key: ((concourse-gcs-resources-service-account-key))
versioned_file: ((pipeline-name))/bin_gpdb/bin_gpdb.tar.gz
versioned_file: ((pipeline-name))/bin_gpdb/bin_gpdb_with_llvm_asserts.tar.gz

- name: llvm-with-asserts-packages
type: gcs
Expand Down Expand Up @@ -608,11 +608,12 @@ jobs:
CONFIGURE_FLAGS: ((configure_flags_with_extensions))
BLD_TARGETS: "clients"
RC_BUILD_TYPE_GCS: ((rc-build-type-gcs))
GPDB_BIN_FILENAME: bin_gpdb_with_llvm_asserts.tar.gz
- in_parallel:
steps:
- put: bin_gpdb_with_llvm_asserts
params:
file: gpdb_artifacts/bin_gpdb.tar.gz
file: gpdb_artifacts/bin_gpdb_with_llvm_asserts.tar.gz

- name: prepare_binary_swap_gpdb_rocky8
plan:
Expand Down Expand Up @@ -832,6 +833,7 @@ jobs:
- get: llvm-with-asserts-packages
- get: bin_gpdb_with_llvm_asserts
passed: [gate_icw_start]
trigger: true
- task: ic_gpdb
tags: [icw-worker]
file: gpdb_src/concourse/tasks/ic_gpdb.yml
Expand Down Expand Up @@ -908,6 +910,7 @@ jobs:
- get: llvm-with-asserts-packages
- get: bin_gpdb_with_llvm_asserts
passed: [gate_icw_start]
trigger: true
- task: ic_gpdb
tags: [icw-worker]
file: gpdb_src/concourse/tasks/ic_gpdb_binary_swap.yml
Expand Down
7 changes: 5 additions & 2 deletions concourse/pipelines/templates/gpdb-tpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ resources:
source:
bucket: ((gcs-bucket-intermediates))
json_key: ((concourse-gcs-resources-service-account-key))
versioned_file: ((pipeline-name))/bin_gpdb/bin_gpdb.tar.gz
versioned_file: ((pipeline-name))/bin_gpdb/bin_gpdb_with_llvm_asserts.tar.gz

- name: llvm-with-asserts-packages
type: gcs
Expand Down Expand Up @@ -712,11 +712,12 @@ jobs:
CONFIGURE_FLAGS: ((configure_flags_with_extensions))
BLD_TARGETS: "clients"
RC_BUILD_TYPE_GCS: ((rc-build-type-gcs))
GPDB_BIN_FILENAME: bin_gpdb_with_llvm_asserts.tar.gz
- in_parallel:
steps:
- put: bin_gpdb_with_llvm_asserts
params:
file: gpdb_artifacts/bin_gpdb.tar.gz
file: gpdb_artifacts/bin_gpdb_with_llvm_asserts.tar.gz
{% endif %}

{% if os_type == "rhel8" or os_type == "oel8" or os_type == "rocky8" %}
Expand Down Expand Up @@ -957,6 +958,7 @@ jobs:
- get: llvm-with-asserts-packages
- get: bin_gpdb_with_llvm_asserts
passed: [gate_icw_start]
trigger: true
{% endif %}
- task: ic_gpdb
{% if use_ICW_workers %}
Expand Down Expand Up @@ -1051,6 +1053,7 @@ jobs:
- get: llvm-with-asserts-packages
- get: bin_gpdb_with_llvm_asserts
passed: [gate_icw_start]
trigger: true
{% endif %}
- task: ic_gpdb
{% if use_ICW_workers %}
Expand Down
2 changes: 1 addition & 1 deletion concourse/scripts/common.bash
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function build_arch() {
function install_gpdb() {
mkdir -p /usr/local/greenplum-db-devel
if [[ "${CONFIGURE_FLAGS}" =~ enable-cassert && -d bin_gpdb_with_llvm_asserts ]]; then
tar -xzf bin_gpdb_with_llvm_asserts/bin_gpdb.tar.gz -C /usr/local/greenplum-db-devel
tar -xzf bin_gpdb_with_llvm_asserts/bin_gpdb_with_llvm_asserts.tar.gz -C /usr/local/greenplum-db-devel
else
tar -xzf bin_gpdb/bin_gpdb.tar.gz -C /usr/local/greenplum-db-devel
fi
Expand Down
1 change: 1 addition & 0 deletions concourse/tasks/compile_gpdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ params:
RC_BUILD_TYPE_GCS:
USE_CCACHE:
SKIP_UNITTESTS:
GPDB_BIN_FILENAME:

0 comments on commit 1b4a5af

Please sign in to comment.