9
9
10
10
#
11
11
# This file generates a Buildkite pipeline that triggers the various CI jobs for
12
- # the LLVM project during pre-commit CI (each time a Phabricator diff is uploaded) .
12
+ # the LLVM project during pre-commit CI.
13
13
#
14
14
# See https://buildkite.com/docs/agent/v3/cli-pipeline#pipeline-format.
15
15
#
@@ -30,8 +30,6 @@ git fetch origin main:main
30
30
: ${WINDOWS_AGENTS:= ' {"queue": "windows"}' }
31
31
# Filter rules for generic linux tests
32
32
: ${LINUX_AGENTS:= ' {"queue": "linux"}' }
33
- # Service agents, for interacting with Phabricator.
34
- : ${SERVICE_AGENTS:= ' {"queue": "service"}' }
35
33
# Set by buildkite
36
34
: ${BUILDKITE_COMMIT:= }
37
35
: ${BUILDKITE_BRANCH:= }
@@ -284,28 +282,3 @@ if [[ "${windows_projects}" != "" ]]; then
284
282
- 'bash .ci/monolithic-windows.sh "$( echo ${windows_projects} | tr ' ' ' ;' ) " "$( echo ${windows_check_targets} ) "'
285
283
EOF
286
284
fi
287
-
288
- # If build was triggered from a Phabricator review - send an update back.
289
- if [[ -n " ${ph_target_phid:- } " ]]; then
290
- cat << EOF
291
- - continue_on_failure: true
292
- wait: '~'
293
- - label: ':phabricator: update build status on Phabricator'
294
- agents: ${SERVICE_AGENTS}
295
- artifact_paths:
296
- - 'artifacts/**/*'
297
- commands:
298
- - export SRC=\$\$ {BUILDKITE_BUILD_PATH}/llvm-premerge-checks
299
- - rm -rf \$\$ {SRC}
300
- - git clone --depth 1 https://github.com/google/llvm-premerge-checks.git "\$\$ {SRC}"
301
- - cd \$\$ {SRC}
302
- - git fetch origin "main":x
303
- - git checkout x
304
- - echo "llvm-premerge-checks commit"
305
- - git rev-parse HEAD
306
- - pip install -q -r \$\$ {SRC}/scripts/requirements.txt
307
- - cd "\$\$ BUILDKITE_BUILD_CHECKOUT_PATH"
308
- - \$\$ {SRC}/scripts/summary.py
309
- timeout_in_minutes: 10
310
- EOF
311
- fi
0 commit comments