xref: /netbsd-src/external/apache2/llvm/dist/libcxx/utils/ci/buildkite-pipeline-snapshot.sh (revision 4d6fc14bc9b0c5bf3e30be318c143ee82cadd108)
1*4d6fc14bSjoerg#!/usr/bin/env bash
2*4d6fc14bSjoerg#===----------------------------------------------------------------------===##
3*4d6fc14bSjoerg#
4*4d6fc14bSjoerg# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5*4d6fc14bSjoerg# See https://llvm.org/LICENSE.txt for license information.
6*4d6fc14bSjoerg# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7*4d6fc14bSjoerg#
8*4d6fc14bSjoerg#===----------------------------------------------------------------------===##
9*4d6fc14bSjoerg
10*4d6fc14bSjoerg#
11*4d6fc14bSjoerg# This file generates a Buildkite pipeline that triggers the libc++ CI jobs.
12*4d6fc14bSjoerg# See https://buildkite.com/docs/agent/v3/cli-pipeline#pipeline-format.
13*4d6fc14bSjoerg#
14*4d6fc14bSjoerg# Invoked by CI on full builds.
15*4d6fc14bSjoerg#
16*4d6fc14bSjoerg
17*4d6fc14bSjoergDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
18*4d6fc14bSjoergcat <<EOF
19*4d6fc14bSjoergsteps:
20*4d6fc14bSjoerg  - trigger: "libcxx-ci"
21*4d6fc14bSjoerg    build:
22*4d6fc14bSjoerg      message: "${BUILDKITE_MESSAGE}"
23*4d6fc14bSjoerg      commit: "${BUILDKITE_COMMIT}"
24*4d6fc14bSjoerg      branch: "${BUILDKITE_BRANCH}"
25*4d6fc14bSjoergEOF
26