Skip to content

Commit

Permalink
Add comment on buildkite-agent installation, yq explode usage
Browse files Browse the repository at this point in the history
  • Loading branch information
mstifflin committed Apr 18, 2024
1 parent 08c7839 commit 33dd4b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# `yq 'explode(.)' .buildkite/pipeline.yml` to view expanded anchors/aliases
container:
kubernetes: &kubernetes
gitEnvFrom:
Expand Down
9 changes: 2 additions & 7 deletions docker/buildkite/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,12 @@ ADD go.mod go.sum /go/src/go.uber.org/cadence/
RUN git config --global --add safe.directory /go/src/go.uber.org/cadence
RUN GO111MODULE=on go mod download

# Install dependencies needed to install buildkite-agent
# Install Buildkite agent
# https://buildkite.com/docs/agent/v3/ubuntu
RUN apt-get install -y apt-transport-https dirmngr curl

# Add Buildkite's GPG key
RUN curl -fsSL https://keys.openpgp.org/vks/v1/by-fingerprint/32A37959C2FA5C3C99EFBC32A79206696452D198 | \
gpg --dearmor -o /usr/share/keyrings/buildkite-agent-archive-keyring.gpg

# Add the repository to Apt sources
RUN echo \
"deb [signed-by=/usr/share/keyrings/buildkite-agent-archive-keyring.gpg] https://apt.buildkite.com/buildkite-agent stable main" | \
tee /etc/apt/sources.list.d/buildkite-agent.list

# Install Buildkite agent
RUN apt-get update && apt-get install -yy --no-install-recommends buildkite-agent

0 comments on commit 33dd4b5

Please sign in to comment.