diff --git a/concourse/pipelines/pr_pipeline.yml b/concourse/pipelines/pr_pipeline.yml index 485d3375475f29f5ef0c8f7604f2a41923530f81..0664a7f8b8b7a8e0dc4e89ca2152612eca6e06a3 100644 --- a/concourse/pipelines/pr_pipeline.yml +++ b/concourse/pipelines/pr_pipeline.yml @@ -48,6 +48,11 @@ resources: secret_access_key: {{bucket-secret-access-key}} versioned_file: {{binary_swap_gpdb_centos_versioned_file}} + - name: clang_toolchain + type: registry-image + source: + repository: gcr.io/data-orca/clang-toolchain + jobs: - name: compile-and-test-pull-request plan: @@ -60,6 +65,7 @@ jobs: - get: centos-gpdb-dev-6 - get: gpaddon_src - get: gpdb_5x_upstream + - get: clang_toolchain # We use the 5X_STABLE source for running make sync_tools instead for security. # For example, this would prevent a user to submit a PR that maliciously # modifies the sync_tools task to expose the ivy credentials. @@ -112,6 +118,9 @@ jobs: git submodule update --init --recursive inputs: [{ name: gpdb_pr }] outputs: [{ name: gpdb_src }] + - task: check_format + image: clang_toolchain + file: gpdb_src/concourse/tasks/check_format.yml - task: compile_gpdb file: gpdb_src/concourse/tasks/compile_gpdb.yml image: centos-gpdb-dev-6