Releases: EmbarkStudios/k8s-buildkite-plugin
Arguments order fixed
This release fixes a bug where a container takes more than 10 arguments would result in the order of arguments be incorrect.
Logs, Logs Everywhere
Fixes a race where the kubectl logs would never fire if the Job takes a little while to start.
Update buildkite, kubectl versions
This release updates buildkite-agent to 3.13.2 and kubectl to 1.15.2.
Safer, now with hostPath mounts
-
The container will now mount only the pipeline's directory rather than the entire build "prefix" for buildkite-agent. This means jobs won't be able to access other pipelines' files that happen to be on the same host.
-
Host paths can now be mounted into the container. This allows for convenience uses such as caching (as a practical example, we use it for mounting the cache directory for kaniko, and the cache directory for Bazel).
-
Cleaning up old jobs now works as expected. Any job older than a day will be deleted.
-
Mount the pipeline build directory at a secondary, fixed, path
/buildto simplify build scripts. This helps giving the--contextflag for kaniko, for example. -
Enabled
git-mirrorsto allow sharing a single repo across multiple pipelines. -
Allow setting resource requests and limits in a pipeline.
Signals and shorter k8s job names
Replace buildkite job id in kubernetes job names with an 8 character random string instead. This due to kubernetes limiting job/pod names to max 64 characters.
The entrypoint script in the container image now uses exec to allow signals to pass through to the agent properly. This enables proper graceful shutdown behavior as per https://buildkite.com/docs/agent/v3#signal-handling
1.0 release
- Add timeout behavior
- Mount the
buildkite-agentbinary inside the container to allow annotations, metadata and artifacts
Optional post-processing
Adds patch property to allow passing a jsonnet function to transform the resulting jsonnet.
Fix build path
Always inherit build path from the agent environment instead of using a hard-coded value.
Mount secrets in container
This release adds the mount-secret property, allowing mounting one or several secrets as directories inside the container.
Initial release
This is the initial release. If nothing particular shows up this'll be 1.0.0 after testing.
Container image for the buildkite agent can be found at https://hub.docker.com/r/embarkstudios/k8s-buildkite-agent