Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent 3.57 #1247

Merged
merged 2 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,15 @@ update-stack: build/aws-stack.yml env-STACK_NAME

AGENT_VERSION ?= $(shell curl -Lfs "https://buildkite.com/agent/releases/latest?platform=linux&arch=amd64" | grep version | cut -d= -f2)

SED ?= sed
ifeq ($(shell uname), Darwin)
SED = gsed
endif

bump-agent-version:
sed -Ei "s/\[Buildkite Agent v.*\]/[Buildkite Agent v$(AGENT_VERSION)]/g" README.md
sed -Ei "s/AGENT_VERSION=.+/AGENT_VERSION=$(AGENT_VERSION)/g" packer/linux/scripts/install-buildkite-agent.sh
sed -Ei "s/\\\$$AGENT_VERSION = \".+\"/\$$AGENT_VERSION = \"$(AGENT_VERSION)\"/g" packer/windows/scripts/install-buildkite-agent.ps1
$(SED) -Ei "s/\[Buildkite Agent v.*\]/[Buildkite Agent v$(AGENT_VERSION)]/g" README.md
$(SED) -Ei "s/AGENT_VERSION=.+/AGENT_VERSION=$(AGENT_VERSION)/g" packer/linux/scripts/install-buildkite-agent.sh
$(SED) -Ei "s/\\\$$AGENT_VERSION = \".+\"/\$$AGENT_VERSION = \"$(AGENT_VERSION)\"/g" packer/windows/scripts/install-buildkite-agent.ps1

validate: build/aws-stack.yml
aws --no-cli-pager cloudformation validate-template \
Expand Down
2 changes: 1 addition & 1 deletion packer/linux/scripts/install-buildkite-agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ sudo mkdir -p /var/lib/buildkite-agent/.aws
sudo cp /tmp/conf/aws/config /var/lib/buildkite-agent/.aws/config
sudo chown -R buildkite-agent:buildkite-agent /var/lib/buildkite-agent/.aws

AGENT_VERSION=3.56.0
AGENT_VERSION=3.57.0
echo "Downloading buildkite-agent v${AGENT_VERSION} stable..."
sudo curl -Lsf -o /usr/bin/buildkite-agent-stable \
"https://download.buildkite.com/agent/stable/${AGENT_VERSION}/buildkite-agent-linux-${ARCH}"
Expand Down
2 changes: 1 addition & 1 deletion packer/windows/scripts/install-buildkite-agent.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Stop script execution when a non-terminating error occurs
$ErrorActionPreference = "Stop"

$AGENT_VERSION = "3.56.0"
$AGENT_VERSION = "3.57.0"

Write-Output "Creating bin dir..."
New-Item -ItemType directory -Path C:\buildkite-agent\bin
Expand Down