[llvm] [ci] Remove unused generate-buildkite-pipeline-scheduled script (PR #79320)

Louis Dionne via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 24 08:24:23 PST 2024


https://github.com/ldionne created https://github.com/llvm/llvm-project/pull/79320

The "scheduled build" pipeline on BuildKite had been disabled for months and doesn't exist anymore, so this script is effectively dead code. When we set up a cron-activated build again, we should do it using Github actions (which could trigger a BK pipeline if needed).

Keeping this script around just creates additional confusion about what's used and what's not used for doing CI.

>From f1d2b3da127845fa9633e6f72e92047863c2bf18 Mon Sep 17 00:00:00 2001
From: Louis Dionne <ldionne.2 at gmail.com>
Date: Wed, 24 Jan 2024 11:21:44 -0500
Subject: [PATCH] [ci] Remove unused generate-buildkite-pipeline-scheduled
 script

The "scheduled build" pipeline on BuildKite had been disabled for months
and doesn't exist anymore, so this script is effectively dead code. When
we set up a cron-activated build again, we should do it using Github
actions (which could trigger a BK pipeline if needed).

Keeping this script around just creates additional confusion about what's
used and what's not used for doing CI.
---
 .ci/generate-buildkite-pipeline-scheduled | 81 -----------------------
 1 file changed, 81 deletions(-)
 delete mode 100755 .ci/generate-buildkite-pipeline-scheduled

diff --git a/.ci/generate-buildkite-pipeline-scheduled b/.ci/generate-buildkite-pipeline-scheduled
deleted file mode 100755
index d5c7c5965ef6a1..00000000000000
--- a/.ci/generate-buildkite-pipeline-scheduled
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/usr/bin/env bash
-#===----------------------------------------------------------------------===##
-#
-# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-# See https://llvm.org/LICENSE.txt for license information.
-# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-#
-#===----------------------------------------------------------------------===##
-
-#
-# This file generates a Buildkite pipeline that triggers the various CI jobs for
-# the LLVM project on scheduled builds.
-#
-# See https://buildkite.com/docs/agent/v3/cli-pipeline#pipeline-format.
-#
-
-set -eu
-set -o pipefail
-
-# Filter rules for generic windows tests
-: ${WINDOWS_AGENTS:='{"queue": "windows"}'}
-# Filter rules for generic linux tests
-: ${LINUX_AGENTS:='{"queue": "linux"}'}
-# Set by buildkite
-: ${BUILDKITE_MESSAGE:=}
-: ${BUILDKITE_COMMIT:=}
-: ${BUILDKITE_BRANCH:=}
-
-cat <<EOF
-steps:
-  - trigger: "libcxx-ci"
-    build:
-      message: "${BUILDKITE_MESSAGE}"
-      commit: "${BUILDKITE_COMMIT}"
-      branch: "${BUILDKITE_BRANCH}"
-
-  - trigger: "clang-ci"
-    build:
-      message: "${BUILDKITE_MESSAGE}"
-      commit: "${BUILDKITE_COMMIT}"
-      branch: "${BUILDKITE_BRANCH}"
-
-  - label: ':linux: Linux x64'
-    artifact_paths:
-    - 'artifacts/**/*'
-    - '*_result.json'
-    - 'build/test-results.xml'
-    agents: ${LINUX_AGENTS}
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-        - exit_status: 255 # Forced agent shutdown
-          limit: 2
-    timeout_in_minutes: 120
-    env:
-      CC: 'clang'
-      CXX: 'clang++'
-    commands:
-    - ./.ci/monolithic-linux.sh "bolt;clang;clang-tools-extra;compiler-rt;flang;libc;libclc;lld;llvm;mlir;polly;pstl" "check-all"
-
-  - label: ':windows: Windows x64'
-    artifact_paths:
-    - 'artifacts/**/*'
-    - '*_result.json'
-    - 'build/test-results.xml'
-    agents: ${WINDOWS_AGENTS}
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-        - exit_status: 255 # Forced agent shutdown
-          limit: 2
-    timeout_in_minutes: 150
-    env:
-      CC: 'cl'
-      CXX: 'cl'
-      LD: 'link'
-    commands:
-    - C:\\BuildTools\\Common7\\Tools\\VsDevCmd.bat -arch=amd64 -host_arch=amd64
-    - bash .ci/monolithic-windows.sh "clang;clang-tools-extra;flang;libclc;lld;llvm;mlir;polly;pstl" "check-all"



More information about the llvm-commits mailing list