[libcxx-commits] [libcxx] 0a9afaf - [libc++] Encode the arch and OS in buildkite agent tags

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 12 13:01:43 PDT 2021


Author: Louis Dionne
Date: 2021-07-12T16:01:38-04:00
New Revision: 0a9afaf7363bb101b9836ac188f5180d7ceb8db6

URL: https://github.com/llvm/llvm-project/commit/0a9afaf7363bb101b9836ac188f5180d7ceb8db6
DIFF: https://github.com/llvm/llvm-project/commit/0a9afaf7363bb101b9836ac188f5180d7ceb8db6.diff

LOG: [libc++] Encode the arch and OS in buildkite agent tags

Added: 
    

Modified: 
    libcxx/utils/ci/Dockerfile

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/ci/Dockerfile b/libcxx/utils/ci/Dockerfile
index 8ddd2cec584a..a1b91652e895 100644
--- a/libcxx/utils/ci/Dockerfile
+++ b/libcxx/utils/ci/Dockerfile
@@ -87,6 +87,7 @@ WORKDIR /home/libcxx-builder
 # for the Buildkite agent to be installed in a path where we can find it.
 RUN bash -c "$(curl -sL https://raw.githubusercontent.com/buildkite/agent/master/install.sh)"
 ENV PATH="${PATH}:/home/libcxx-builder/.buildkite-agent/bin"
+RUN echo "tags=\"queue=libcxx-builders,arch=$(uname -m),os=linux\"" >> "/home/libcxx-builder/.buildkite-agent/buildkite-agent.cfg"
 
 # By default, start the Buildkite agent (this requires a token).
-CMD buildkite-agent start --tags "queue=libcxx-builders"
+CMD buildkite-agent start


        


More information about the libcxx-commits mailing list