mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 13:51:46 +00:00
This is the end of the PR train to remove the enterprise directory from out repo since we have consolidated to use a single license. Bye rough code split :)
24 lines
582 B
Bash
Executable File
24 lines
582 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
echo "--- :books: Annotating build with Glossary"
|
|
buildkite-agent annotate --style info <./dev/ci/glossary.md
|
|
|
|
echo "--- :bazel: Build pipeline generator"
|
|
bazel \
|
|
--bazelrc=.bazelrc \
|
|
--bazelrc=.aspect/bazelrc/ci.bazelrc \
|
|
--bazelrc=.aspect/bazelrc/ci.sourcegraph.bazelrc \
|
|
build \
|
|
//dev/ci:ci
|
|
|
|
pipeline_gen="$(bazel cquery //dev/ci:ci --output files)"
|
|
|
|
echo "--- :writing_hand: Generate pipeline"
|
|
$pipeline_gen | tee generated-pipeline.yml
|
|
|
|
echo ""
|
|
echo "--- :arrow_up: Upload pipeline"
|
|
buildkite-agent pipeline upload generated-pipeline.yml
|