Releases: buildkite/agent-stack-k8s
v0.14.0
v0.14.0 (2024-08-20)
Added
You can now perform Git checkouts over HTTPS more easily with a Git credentials file stored in a Kubernetes secret.
- Add GitCredentialSecret to checkout params #365 (@DrJosh9000)
Changed
Persistent ImagePullBackOff conditions (e.g. typo in a container image path) no longer cause the Buildkite job to be cancelled - instead, it should now fail with a more descriptive message of the problem.
Various problems are now reported from the stack controller to Buildkite directly, without the need for a "failure" pod.
- Use init containers to preflight-check image pulls #364 (@DrJosh9000)
- Fail jobs without starting pods #363 (@DrJosh9000)
Fixed
Manually setting $BUILDKITE_AGENT_ACCESS_TOKEN
on the agent container should no longer break agent subcommands within jobs.
When a job run by agent-stack-k8s ends normally, there should no longer be a log message about cancellation.
- Bump github.com/buildkite/agent/v3 from 3.77.0 to 3.78.0 #369 (@dependabot[bot])
Internal
- Update go-buildkite to v3.12.0 #368 (@DrJosh9000)
- Bump the k8s group with 4 updates #366 (@dependabot[bot])
- Added some notes about local testing #362 (@wolfeidau)
- Adjust defaults for container0 (build container) as it is too frugal #361 (@wolfeidau)
- Replace fetch flags env with checkout param #360 (@DrJosh9000)
Agent v3.78.0 changelog
v3.78.0 (2024-08-20)
Fixed
- fix for layout issues with log messages #2933 (@wolfeidau)
- Prevent Cancel from running when a k8s job is cancelled already #2935 (@CerealBoy)
- k8s: Unconditionally set
BUILDKITE_AGENT_ACCESS_TOKEN
#2942 (@DrJosh9000)
Changed
- Add a bit more context to the debugging for failing signature verify #2926 (@wolfeidau)
- Update description for the 'priority' option for the 'buildkite-agent annotate' command. #2934 (@gilesgas)
Internal
Dependabot churn: #2927, #2928, #2929, #2930, #2931, #2937, #2939, #2940, #2943 (@dependabot[bot])
Images
Helm chart
Image: ghcr.io/buildkite/helm/agent-stack-k8s:0.14.0
Digest: sha256:f5f436a0ebde24d041d1b3ca295feb3cea297e06198216e2aaf294f189bbd4db
Controller
Image: ghcr.io/buildkite/agent-stack-k8s/controller:0.14.0
Digest: sha256:6b5e63e49147cb5a834f861ab8c5b99f96ed48259781c209371042ae6cd31b1c
Agent
Image: ghcr.io/buildkite/agent:3.78.0
Digest: sha256:9a130e8c89201df4bdedcea876eecc509449d8a11312afefaab83ceaa4fbdee1
v0.13.0
v0.13.0 (2024-08-01)
Changed
- allow picking work off default cluster queue #356 (@wolfeidau)
Added
- Config to prevent podSpec alteration from plugin #357 (@DrJosh9000)
- Add prohibit-kubernetes-plugin to readme #358 (@DrJosh9000)
- Configurable checkout/command/sidecar defaults #341 (@DrJosh9000)
Fixed
Internal
- Bump github.com/buildkite/agent/v3 from 3.75.1 to 3.76.2 #359 (@dependabot[bot])
- Bump github.com/buildkite/agent/v3 from 3.74.1 to 3.75.1 #354 (@dependabot[bot])
- Bump the k8s group across 1 directory with 4 updates #353 (@dependabot[bot])
- Bump github.com/spf13/viper from 1.18.2 to 1.19.0 #339 (@dependabot[bot])
- Bump gotest.tools/gotestsum from 1.11.0 to 1.12.0 #338 (@dependabot[bot])
Images
Helm chart
Image: ghcr.io/buildkite/helm/agent-stack-k8s:0.13.0
Digest: sha256:668592986a9bc1270fe3d5037b6fe28184afe1812b39eab6530543039d6bfb71
Controller
Image: ghcr.io/buildkite/agent-stack-k8s/controller:0.13.0
Digest: sha256:51128f864abb0b56a8d3c0354814ce41ca1a5fc995feb9e0415b4670de219d1a
Agent
Image: ghcr.io/buildkite/agent:3.76.2
Digest: sha256:6b24e8e5f29751209ab7bf528522e83ecb7b761ebf7294dd2b6e725f7f8fe94d
v0.12.3
v0.12.3 (2024-07-05)
Changed
- Bump agent to v3.74.1 #352 (@wolfeidau)
Internal
Images
Helm chart
Image: ghcr.io/buildkite/helm/agent-stack-k8s:0.12.3
Digest: sha256:12b74fe4616d0cb14469819e36bb5f1d76b8b27b70e13abc6251714bbb23b4b1
Controller
Image: ghcr.io/buildkite/agent-stack-k8s/controller:0.12.3
Digest: sha256:cc2b375ec4731a6b835e994ec2d5ba90179d0ff1e840a044d278df48fef9cb04
Agent
Image: ghcr.io/buildkite/agent:3.74.1
Digest: sha256:bf13dcfbf7556e828723d2ba06cc38cf2d20f7e8c927833e27941276e5d587ed
v0.12.2
v0.12.2 (2024-06-18)
Warning ⚠️
This version is not compatible with agent versions earlier than v3.74.0.
Changed
- Stop using old k8s exec env var, stop the warning message spam #351 (@zhming0)
- Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 #348 (@dependabot[bot])
- Bump github.com/go-playground/validator/v10 from 10.20.0 to 10.22.0 #349 (@dependabot[bot])
Images
Helm chart
Image: ghcr.io/buildkite/helm/agent-stack-k8s:0.12.2
Digest: sha256:e0063245ff1330d60162c77a36ab136df7a69db2744e62082383df6d691cb2c8
Controller
Image: ghcr.io/buildkite/agent-stack-k8s/controller:0.12.2
Digest: sha256:756a841194396f6f2a51ce61059921573c101150ffd72a817137ed7a368c85b8
Agent
Image: ghcr.io/buildkite/agent:3.74.0
Digest: sha256:b84b48f0a70ebad9752e7fb1ed1dd111564b500becbfa2242ef70184730b6ab7
v0.12.1
v0.12.1 (2024-06-17)
Changed
- PS-67: stop image pull backoff error handling for sidecars #344 (@zhming0)
- Bump agent to v3.74.0 and set new var #346 (@DrJosh9000)
Internal
- Doc: How to setup agent hooks #340 (@nsuma8989)
- Some scheduler cleanup #332 (@DrJosh9000)
- Fix tag command #325 (@DrJosh9000)
Images
Helm chart
Image: ghcr.io/buildkite/helm/agent-stack-k8s:0.12.1
Digest: sha256:3ab925852acc99756a96c7533df58fbc2dd7890fb85aef55d540bda176b81ef4
Controller
Image: ghcr.io/buildkite/agent-stack-k8s/controller:0.12.1
Digest: sha256:1bbc0576dc24334b5680868415ae85eaca4e2f688a4e4ce3e936227e73eb4c7e
Agent
Image: ghcr.io/buildkite/agent:3.74.0
Digest: sha256:b84b48f0a70ebad9752e7fb1ed1dd111564b500becbfa2242ef70184730b6ab7
v0.12.0
v0.12.0 (2024-06-03)
Changed
- feat: implement customizable ticker interval to mitigate buildkite api rate limit Issues #279 (@42atomys)
- As part of ☝🏿 , we have also addressed a potential case when job might be prematurely cancelled in an edge case.
- [SUP-2038] Update the readme of the agent-stack-k8s #335 (@nsuma8989)
- Make imagePullBackOffWatcher grace period configurable #331 (@DrJosh9000)
Images
Helm chart
Image: ghcr.io/buildkite/helm/agent-stack-k8s:0.12.0
Digest: sha256:92e76dddcb6d55a56aec40ba7298283fa7710959c5babcfb65baf57f27aeb44a
Controller
Image: ghcr.io/buildkite/agent-stack-k8s/controller:0.12.0
Digest: sha256:f329f0c4bab671831d2bb55872772b8e8613bb97352c7b59e62ff3bf67eb9ff1
Agent
Image: ghcr.io/buildkite/agent:3.73.1
Digest: sha256:c19ffd02a60d50a70cfc8714b329fca0314ff18d0d453a32509bfd00c60728dc
v0.11.1
v0.11.1 (2024-05-27)
Fixed
- Fix missing redaction for checkout container #333 (@DrJosh9000)
- Remove duplicate BUILDKITE_PLUGINS_PATH #315 (@DrJosh9000)
- Fix custom namespace deploy errors in RBAC RoleBinding #330 (@artem-zinnatullin)
Images
Helm chart
Image: ghcr.io/buildkite/helm/agent-stack-k8s:0.11.1
Digest: sha256:497cae4b991e2b06db7f12bba8b196753e13195b04ddeeb0649f213901733ebc
Controller
Image: ghcr.io/buildkite/agent-stack-k8s/controller:0.11.1
Digest: sha256:b771cfc2329aea4f1ad1f84c4511e684fb18fa53c735732a7a635bd6ce55a459
Agent
Image: ghcr.io/buildkite/agent:3.73.1
Digest: sha256:c19ffd02a60d50a70cfc8714b329fca0314ff18d0d453a32509bfd00c60728dc
v0.11.0
v0.11.0 (2024-05-16)
This release is merely to ship a new buildkite-agent (pretty much).
Some changes in the agent that are more relevant to the k8s stack:
- The "unknown exit status" message is now in an expanded section buildkite/agent#2783 (@DrJosh9000)
- The k8s socket dial is now retried several times buildkite/agent#2746 (@DrJosh9000)
- Agent images are uploaded to GHCR as part of the agent pipeline (to ghcr.io/buildkite/agent), and not the agent-stack-k8s pipeline buildkite/agent#2724 (@DrJosh9000)
Other notable agent changes:
- Fix for a source of garbled log output (poorly-timed timestamp insertions) buildkite/agent#2778 (@DrJosh9000)
- Make preferring runtime env default off buildkite/agent#2747 (@patrobinson)
Changed
- Bump github.com/buildkite/agent/v3 from 3.69.0 to 3.73.0 #323, #321 (@dependabot[bot])
Internal
- Fix release.sh #307 (@DrJosh9000)
- Bump github.com/go-playground/validator/v10 from 10.19.0 to 10.20.0 #319 (@dependabot[bot])
Images
Helm chart
Image: ghcr.io/buildkite/helm/agent-stack-k8s:0.11.0
Digest: sha256:7d8ac23d25cc888bfb75de952bf569f2fc3d8eed8456935126041941793fdef3
Controller
Image: ghcr.io/buildkite/agent-stack-k8s/controller:0.11.0
Digest: sha256:fccfea2c9875819243d38f439b43366d4f70fe74407f22672ec2d0bf943418d9
Agent
Image: ghcr.io/buildkite/agent:3.73.0
Digest: sha256:3ac585a93ba4041f0962108a019f02d6ed618a876e9c523819246f81ce44814b
v0.10.0
v0.10.0 (2024-04-15)
Added
- Add checkout config block to plugin config #303 (@DrJosh9000)
Changed
- DefaultAgentImage should also be pinned #304 (@DrJosh9000)
- Fix resource.Quantity parsing #301 (@DrJosh9000)
Dependency updates
- Bump sigs.k8s.io/controller-runtime from 0.17.2 to 0.17.3 in the k8s group #306 (@dependabot[bot])
- Bump k8s libraries #291 (@DrJosh9000)
Full Changelog: v0.9.0...v0.10.0
Images
Helm chart
Image: ghcr.io/buildkite/helm/agent-stack-k8s:0.10.0
Digest: sha256:d4698e35bdf3d07c8d751fdbc612a64a22c3ed8795be3a24db6e964a77b53d88
Controller
Image: ghcr.io/buildkite/agent-stack-k8s/controller:0.10.0
Digest: sha256:3bcf53314a6faede933c70ba6a2e4892d31addce5b92261ca9ff84fc9225f2b2
Agent
Image: ghcr.io/buildkite/agent:3.69.0
Digest: sha256:11380f3f6954b8a36ac4ddfe97bcd68d8160fde39ea5793e70519263c426c8d7
v0.9.0
v0.9.0 (2024-04-04)
Added
- Allow patching pod spec from controller configuration and steps #282 (@triarius)
- Add some documentation on how to use pod spec patches #284 (@triarius)
- Add redacted-vars config #280 (@DrJosh9000)
Changed
- This release upgrades Buildkite Agent to v3.68.0 #290 (@dependabot[bot])
- Enable plugin phase in checkout container #288, #285, #281 (@DrJosh9000)
- Skip checkout when there are parse errors #275 (@triarius)
- Update examples to clarify role of
command
andargs
#274 (@triarius)
Internal
- Fix flaky panic in tests that log after test completion #292, #289 (@DrJosh9000)
- Use same agent image version as in go.mod #287 (@DrJosh9000)
- Remove dependence on forked go-buildkite #276 (@triarius)
- Remove
-G.
from code generation check #272 (@triarius) - Dependabot updates: #286, #260, 10.18.0 to 10.19.0 #264, #271, #266 (@dependabot[bot])
Images
Helm chart
Image: ghcr.io/buildkite/helm/agent-stack-k8s:0.9.0
Digest: sha256:195595580fdec86ca8592b422820661a75f5594e56121464de69df13edcadb0a
Controller
Image: ghcr.io/buildkite/agent-stack-k8s/controller:0.9.0
Digest: sha256:56b39a64439557d47386db83d631a3a69e38dffeb167392ac060052188f7fd64
Agent
Image: ghcr.io/buildkite/agent-stack-k8s/agent:0.9.0
Digest: sha256:8d34a3a52e190e3bf6c89e41caefb51573a66c7a86516bc5d45a44cf49f109e2