github.com/stevenmatthewt/agent@v3.5.4+incompatible/CHANGELOG.md (about) 1 # Changelog 2 All notable changes to this project will be documented in this file. 3 4 The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) 5 and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). 6 7 ## [v3.5.4](https://github.com/buildkite/agent/tree/v3.5.4) (2018-10-24) 8 [Full Changelog](https://github.com/buildkite/agent/compare/v3.5.3...v3.5.4) 9 10 ### Fixed 11 - Prevent docker image from crashing with missing config error [#847](https://github.com/buildkite/agent/pull/847) (@lox) 12 13 ## [v3.5.3](https://github.com/buildkite/agent/tree/v3.5.3) (2018-10-24) 14 [Full Changelog](https://github.com/buildkite/agent/compare/v3.5.2...v3.5.3) 15 16 ### Fixed 17 - Update to alpine to 3.8 in docker image [#842](https://github.com/buildkite/agent/pull/842) (@lox) 18 - Set BUILDKITE_AGENT_CONFIG in docker images to /buildkite [#834](https://github.com/buildkite/agent/pull/834) (@blakestoddard) 19 - Fix agent panics on ARM architecture [#831](https://github.com/buildkite/agent/pull/831) (@jhedev) 20 21 ## [v3.5.2](https://github.com/buildkite/agent/tree/v3.5.2) (2018-10-09) 22 [Full Changelog](https://github.com/buildkite/agent/compare/v3.5.1...v3.5.2) 23 24 ### Changed 25 - Fix issue where pipelines with a top-level array of steps failed [#830](https://github.com/buildkite/agent/pull/830) (@lox) 26 27 ## [v3.5.1](https://github.com/buildkite/agent/tree/v3.5.1) (2018-10-08) 28 [Full Changelog](https://github.com/buildkite/agent/compare/v3.5.0...v3.5.1) 29 30 ### Fixed 31 - Ensure plugin directory exists, otherwise checkout lock thrashes [#828](https://github.com/buildkite/agent/pull/828) (@lox) 32 33 ## [v3.5.0](https://github.com/buildkite/agent/tree/v3.5.0) (2018-10-08) 34 [Full Changelog](https://github.com/buildkite/agent/compare/v3.4.0...v3.5.0) 35 36 ### Fixed 37 - Add plugin locking before checkout [#827](https://github.com/buildkite/agent/pull/827) (@lox) 38 - Ensure pipeline parser maintains map order in output [#824](https://github.com/buildkite/agent/pull/824) (@lox) 39 - Update aws sdk [#818](https://github.com/buildkite/agent/pull/818) (@sj26) 40 - Fix boostrap typo [#814](https://github.com/buildkite/agent/pull/814) (@ChefAustin) 41 42 ### Changed 43 - `annotate` takes body as an arg, or reads from a pipe [#813](https://github.com/buildkite/agent/pull/813) (@sj26) 44 - Respect pre-set BUILDKITE_BUILD_CHECKOUT_PATH [#806](https://github.com/buildkite/agent/pull/806) (@lox) 45 - Add time since last successful heartbeat/ping [#810](https://github.com/buildkite/agent/pull/810) (@lox) 46 - Updating launchd templates to only restart on error [#804](https://github.com/buildkite/agent/pull/804) (@lox) 47 - Allow more time for systemd graceful stop [#819](https://github.com/buildkite/agent/pull/819) (@lox) 48 49 ## [v3.4.0](https://github.com/buildkite/agent/tree/v3.4.0) (2018-07-18) 50 [Full Changelog](https://github.com/buildkite/agent/compare/v3.3.0...v3.4.0) 51 52 ### Changed 53 - Add basic plugin definition parsing [#748](https://github.com/buildkite/agent/pull/748) (@lox) 54 - Allow specifying which phases bootstrap should execute [#799](https://github.com/buildkite/agent/pull/799) (@lox) 55 - Warn in bootstrap when protected env are used [#796](https://github.com/buildkite/agent/pull/796) (@lox) 56 - Cancellation on windows kills bootstrap subprocesses [#795](https://github.com/buildkite/agent/pull/795) (@amitsaha) 57 58 ## [v3.3.0](https://github.com/buildkite/agent/tree/v3.3.0) (2018-07-11) 59 [Full Changelog](https://github.com/buildkite/agent/compare/v3.2.1...v3.3.0) 60 61 ### Added 62 - Allow tags from the host to be automatically added with --add-host-tags [#791](https://github.com/buildkite/agent/pull/791) (@lox) 63 - Allow --no-plugins=false to force plugins on [#790](https://github.com/buildkite/agent/pull/790) (@lox) 64 65 ## [v3.2.1](https://github.com/buildkite/agent/tree/v3.2.1) (2018-06-28) 66 [Full Changelog](https://github.com/buildkite/agent/compare/v3.2.0...v3.2.1) 67 68 ### Changed 69 - Remove the checkout dir when git clean fails [#786](https://github.com/buildkite/agent/pull/786) (@lox) 70 - Add a --dry-run to pipeline upload that dumps json [#781](https://github.com/buildkite/agent/pull/781) (@lox) 71 - Support PTY under OpenBSD [#785](https://github.com/buildkite/agent/pull/785) (@derekmarcotte) [#787](https://github.com/buildkite/agent/pull/787) (@derekmarcotte) 72 - Experiments docs and experiment cleanup [#771](https://github.com/buildkite/agent/pull/771) (@lox) 73 74 ## [v3.2.0](https://github.com/buildkite/agent/tree/v3.2.0) (2018-05-25) 75 [Full Changelog](https://github.com/buildkite/agent/compare/v3.1.2...v3.2.0) 76 77 ### Changed 78 - Propagate exit code > 1 out of failing hooks [#768](https://github.com/buildkite/agent/pull/768) (@lox) 79 - Fix broken list parsing in cli arguments --tags and --experiments [#772](https://github.com/buildkite/agent/pull/772) (@lox) 80 - Add a virtual provides to the RPM package [#737](https://github.com/buildkite/agent/pull/737) (@jnewbigin) 81 - Clean up docker image building [#755](https://github.com/buildkite/agent/pull/755) (@lox) 82 - Don't trim whitespace from the annotation body [#766](https://github.com/buildkite/agent/pull/766) (@petemounce) 83 84 ## [v3.1.2](https://github.com/buildkite/agent/tree/v3.1.2) (2018-05-10) 85 [Full Changelog](https://github.com/buildkite/agent/compare/v3.1.1...v3.1.2) 86 87 ### Changed 88 - Experiment: Pass jobs an authenticated unix socket rather than an access token [#759](https://github.com/buildkite/agent/pull/759) (@lox) 89 - Remove buildkite:git:branch meta-data [#753](https://github.com/buildkite/agent/pull/753) (@sj26) 90 - Set TERM and PWD for commands that get executed in shell [#751](https://github.com/buildkite/agent/pull/751) (@lox) 91 92 ### Fixed 93 - Avoid pausing after job has finished [#764](https://github.com/buildkite/agent/pull/764) (@sj26) 94 95 ## [v3.1.1](https://github.com/buildkite/agent/tree/v3.1.1) (2018-05-02) 96 [Full Changelog](https://github.com/buildkite/agent/compare/v3.1.0...v3.1.1) 97 98 ### Fixed 99 - Fix stdin detection for output redirection [#750](https://github.com/buildkite/agent/pull/750) (@lox) 100 101 ## [v3.1.0](https://github.com/buildkite/agent/tree/v3.1.0) (2018-05-01) 102 [Full Changelog](https://github.com/buildkite/agent/compare/v3.0.1...v3.1.0) 103 104 ### Changed 105 - Add ubuntu docker image [#749](https://github.com/buildkite/agent/pull/749) (@lox) 106 - Support `--no-interpolation` option in `pipeline upload` [#733](https://github.com/buildkite/agent/pull/733) (@lox) 107 - Bump our Docker image base to alpine v3.7 [#745](https://github.com/buildkite/agent/pull/745) (@sj26) 108 - Better error for multiple file args to artifact upload [#740](https://github.com/buildkite/agent/pull/740) (@toolmantim) 109 110 ## [v3.0.1](https://github.com/buildkite/agent/tree/v3.0.1) (2018-04-17) 111 [Full Changelog](https://github.com/buildkite/agent/compare/v3.0.0...v3.0.1) 112 113 ### Changed 114 - Don't set Content-Encoding on s3 upload [#732] (@lox) 115 116 ## [v3.0.0](https://github.com/buildkite/agent/tree/v3.0.0) (2018-04-03) 117 [Full Changelog](https://github.com/buildkite/agent/compare/v3.0-beta.44...v3.0.0) 118 119 No changes 120 121 ## [v3.0-beta.44](https://github.com/buildkite/agent/tree/v3.0-beta.44) (2018-04-03) 122 [Full Changelog](https://github.com/buildkite/agent/compare/v3.0-beta.43...v3.0-beta.44) 123 124 ### Fixed 125 - Normalize the `bootstrap-script` command using a new `commandpath` normalization [#714](https://github.com/buildkite/agent/pull/714) (@keithpitt) 126 127 ### Changed 128 - Install windows binary to c:\buildkite-agent\bin [#713](https://github.com/buildkite/agent/pull/713) (@lox) 129 130 ## [v3.0-beta.43](https://github.com/buildkite/agent/tree/v3.0-beta.43) (2018-04-03) 131 [Full Changelog](https://github.com/buildkite/agent/compare/v3.0-beta.42...v3.0-beta.43) 132 133 ### Changed 134 - Prettier bootstrap output π π» [#708](https://github.com/buildkite/agent/pull/708) (@lox) 135 - Only run git submodule operations if there is a .gitmodules [#704](https://github.com/buildkite/agent/pull/704) (@lox) 136 - Add an agent config for no-local-hooks [#707](https://github.com/buildkite/agent/pull/707) (@lox) 137 - Build docker image as part of agent pipeline [#701](https://github.com/buildkite/agent/pull/701) (@lox) 138 - Windows install script [#699](https://github.com/buildkite/agent/pull/699) (@lox) 139 - Expose no-git-submodules config and arg to start [#698](https://github.com/buildkite/agent/pull/698) (@lox) 140 141 ## [v3.0-beta.42](https://github.com/buildkite/agent/tree/v3.0-beta.42) (2018-03-20) 142 [Full Changelog](https://github.com/buildkite/agent/compare/v3.0-beta.41...v3.0-beta.42) 143 144 ### Fixed 145 - Preserve types in pipeline.yml [#696](https://github.com/buildkite/agent/pull/696) (@lox) 146 147 ## [v3.0-beta.41](https://github.com/buildkite/agent/tree/v3.0-beta.41) (2018-03-16) 148 [Full Changelog](https://github.com/buildkite/agent/compare/v3.0-beta.40...v3.0-beta.41) 149 150 ### Added 151 - Retry failed checkouts [#670](https://github.com/buildkite/agent/pull/670) (@lox) 152 153 ### Changed 154 - Write temporary batch scripts for Windows/CMD.EXE [#692](https://github.com/buildkite/agent/pull/692) (@lox) 155 - Enabling `no-command-eval` will also disable use of plugins [#690](https://github.com/buildkite/agent/pull/690) (@keithpitt) 156 - Support plugins that have a `null` config [#691](https://github.com/buildkite/agent/pull/691) (@keithpitt) 157 - Handle upgrading bootstrap-path from old 2.x shell script [#580](https://github.com/buildkite/agent/pull/580) (@lox) 158 - Show plugin commit if it's already installed [#685](https://github.com/buildkite/agent/pull/685) (@keithpitt) 159 - Handle windows paths in all usage of shellwords parsing [#686](https://github.com/buildkite/agent/pull/686) (@lox) 160 - Make NormalizeFilePath handle empty strings and windows [#688](https://github.com/buildkite/agent/pull/688) (@lox) 161 - Retry ssh-keyscans on error or blank output [#687](https://github.com/buildkite/agent/pull/687) (@keithpitt) 162 - Quote and escape env-file values [#682](https://github.com/buildkite/agent/pull/682) (@lox) 163 - Prevent incorrect corrupt git checkout detection on fresh checkout dir creation [#681](https://github.com/buildkite/agent/pull/681) (@lox) 164 - Only keyscan git/ssh urls [#675](https://github.com/buildkite/agent/pull/675) (@lox) 165 - Fail the job when no command is provided in the default command phase [#678](https://github.com/buildkite/agent/pull/678) (@keithpitt) 166 - Don't look for powershell hooks since we don't support them yet [#679](https://github.com/buildkite/agent/pull/679) (@keithpitt) 167 - Exit when artifacts can't be found for downloading [#676](https://github.com/buildkite/agent/pull/676) (@keithpitt) 168 - Run scripts via the shell, rather than invoking with exec [#673](https://github.com/buildkite/agent/pull/673) (@lox) 169 - Rename no-automatic-ssh-fingerprint-verification to no-ssh-keyscan [#671](https://github.com/buildkite/agent/pull/671) (@lox) 170 171 ### Fixed 172 - Parse pipeline.yml env block in order [#668](https://github.com/buildkite/agent/pull/668) (@lox) 173 - Bootstrap shouldn't panic if plugin checkout fails [#672](https://github.com/buildkite/agent/pull/672) (@lox) 174 175 ## [v3.0-beta.40](https://github.com/buildkite/agent/tree/v3.0-beta.40) (2018-03-07) 176 [Full Changelog](https://github.com/buildkite/agent/compare/v3.0-beta.39...v3.0-beta.40) 177 178 ### Changed 179 180 - Commands are no longer written to temporary script files before execution [#648](https://github.com/buildkite/agent/pull/648) (@lox) 181 - Support more complex types in plugin config [#658](https://github.com/buildkite/agent/pull/658) (@lox) 182 183 ### Added 184 185 - Write an env-file for the bootstrap [#643](https://github.com/buildkite/agent/pull/643) (@DazWorrall) 186 - Allow the shell interpreter to be configured [#648](https://github.com/buildkite/agent/pull/648) (@lox) 187 188 ### Fixed 189 190 - Fix stdin detection on windows [#665](https://github.com/buildkite/agent/pull/665) (@lox) 191 - Check hook scripts get written to disk without error [#652](https://github.com/buildkite/agent/pull/652) (@sj26) 192 193 ## [v3.0-beta.39](https://github.com/buildkite/agent/tree/v3.0-beta.39) (2018-01-31) 194 [Full Changelog](https://github.com/buildkite/agent/compare/v3.0-beta.38...v3.0-beta.39) 195 196 ### Fixed 197 198 - Fix bug failing artifact upload glob would cause later globs to fail [\#620](https://github.com/buildkite/agent/pull/620) (@lox) 199 - Fix race condition in process management [\#618](https://github.com/buildkite/agent/pull/618) (@lox) 200 - Support older git versions for submodule commands [\#628](https://github.com/buildkite/agent/pull/628) (@lox) 201 - Lots of windows fixes and tests! [\#630](https://github.com/buildkite/agent/pull/630) [\#631](https://github.com/buildkite/agent/pull/631) [\#632](https://github.com/buildkite/agent/pull/632) 202 203 ### Added 204 205 - Support for Bash for Windows for plugins and hooks! [\#636](https://github.com/buildkite/agent/pull/636) (@lox) 206 - Correct mimetypes for .log files [\#635](https://github.com/buildkite/agent/pull/635) (@DazWorrall) 207 - Usable Content-Disposition for GCE uploaded artifacts [\#640](https://github.com/buildkite/agent/pull/640) (@DazWorrall) 208 - Experiment for retrying checkout on failure [\#613](https://github.com/buildkite/agent/pull/613) (@lox) 209 - Skip local hooks when BUILDKITE_NO_LOCAL_HOOKS is set [\#622](https://github.com/buildkite/agent/pull/622) (@lox) 210 211 ### Changed 212 213 - Bootstrap shell commands output stderr now [\#626](https://github.com/buildkite/agent/pull/626) (@lox) 214 215 ## [v2.6.9](https://github.com/buildkite/agent/releases/tag/v2.6.9) (2018-01-18) 216 [Full Changelog](https://github.com/buildkite/agent/compare/v2.6.8...v2.6.9) 217 218 ### Added 219 220 - Implement `BUILDKITE_CLEAN_CHECKOUT`, `BUILDKITE_GIT_CLONE_FLAGS` and `BUILDKITE_GIT_CLEAN_FLAGS` in bootstrap.bat [\#610](https://github.com/buildkite/agent/pull/610) (@solemnwarning) 221 222 ### Fixed 223 224 - Fix unbounded memory usage in artifact uploads (#493) 225 226 ## [v3.0-beta.38](https://github.com/buildkite/agent/tree/v3.0-beta.38) (2018-01-10) 227 [Full Changelog](https://github.com/buildkite/agent/compare/v3.0-beta.37...v3.0-beta.38) 228 229 ### Fixed 230 231 - Fix bug where bootstrap with pty hangs on macOS [\#614](https://github.com/buildkite/agent/pull/614) (@lox) 232 233 ## [v3.0-beta.37](https://github.com/buildkite/agent/tree/v3.0-beta.37) (2017-12-07) 234 [Full Changelog](https://github.com/buildkite/agent/compare/v3.0-beta.36...v3.0-beta.37) 235 236 ### Fixed 237 238 - Fixed bug where agent uploads fail if no files match [\#600](https://github.com/buildkite/agent/pull/600) (@lox) 239 - Fixed bug where timestamps are incorrectly appended to header expansions [\#597](https://github.com/buildkite/agent/pull/597) 240 241 ## [v3.0-beta.36](https://github.com/buildkite/agent/tree/v3.0-beta.36) (2017-11-23) 242 [Full Changelog](https://github.com/buildkite/agent/compare/v3.0-beta.35...v3.0-beta.36) 243 244 ### Added 245 246 - Don't retry pipeline uploads on invalid pipelines [\#589](https://github.com/buildkite/agent/pull/589) (@DazWorrall) 247 - A vagrant box for windows testing [\#583](https://github.com/buildkite/agent/pull/583) (@lox) 248 - Binary is build with golang 1.9.2 249 250 ### Fixed 251 252 - Fixed bug where malformed pipelines caused infinite loop [\#585](https://github.com/buildkite/agent/pull/585) (@lox) 253 254 255 ## [v3.0-beta.35](https://github.com/buildkite/agent/tree/v3.0-beta.35) (2017-11-13) 256 [Full Changelog](https://github.com/buildkite/agent/compare/v3.0-beta.34...v3.0-beta.35) 257 258 ### Added 259 260 - Support nested interpolated variables [\#578](https://github.com/buildkite/agent/pull/578) (@lox) 261 - Check for corrupt git repository before checkout [\#574](https://github.com/buildkite/agent/pull/574) (@lox) 262 263 ### Fixed 264 265 - Fix bug where non-truthy bool arguments failed silently [\#582](https://github.com/buildkite/agent/pull/582) (@lox) 266 - Pass working directory changes between hooks [\#577](https://github.com/buildkite/agent/pull/577) (@lox) 267 - Kill cancelled tasks with taskkill on windows [\#575](https://github.com/buildkite/agent/pull/575) (@adill) 268 - Support hashed hosts in ssh known_hosts [\#579](https://github.com/buildkite/agent/pull/579) (@lox) 269 270 ## [v3.0-beta.34](https://github.com/buildkite/agent/tree/v3.0-beta.34) (2017-10-19) 271 [Full Changelog](https://github.com/buildkite/agent/compare/v3.0-beta.33...v3.0-beta.34) 272 273 ### Fixed 274 275 - Fix bug where pipeline upload doesn't get environment passed correctly [\#567](https://github.com/buildkite/agent/pull/567) (@lox) 276 - Only show "Running hook" if one exists [\#566](https://github.com/buildkite/agent/pull/566) (@lox) 277 - Fix segfault when using custom artifact bucket and EC2 instance role credentials [\#563](https://github.com/buildkite/agent/pull/563) (@sj26) 278 - Fix ssh keyscan of hosts with custom ports [\#565](https://github.com/buildkite/agent/pull/565) (@sj26) 279 280 ## [v2.6.7](https://github.com/buildkite/agent/releases/tag/v2.6.7) (2017-11-13) 281 [Full Changelog](https://github.com/buildkite/agent/compare/v2.6.6...v2.6.7) 282 283 ### Added 284 285 - Check for corrupt git repository before checkout [\#556](https://github.com/buildkite/agent/pull/556) (@lox) 286 287 ### Fixed 288 289 - Kill cancelled tasks with taskkill on windows [\#571](https://github.com/buildkite/agent/pull/571) (@adill) 290 291 ## [v2.6.6](https://github.com/buildkite/agent/releases/tag/v2.6.6) (2017-10-09) 292 [Full Changelog](https://github.com/buildkite/agent/compare/v2.6.5...v2.6.6) 293 294 ### Fixed 295 296 - Backported new globbing library to fix "too many open files" during globbing [\#539](https://github.com/buildkite/agent/pull/539) (@sj26 & @lox) 297 298 ## [v3.0-beta.33](https://github.com/buildkite/agent/tree/v3.0-beta.33) (2017-10-05) 299 [Full Changelog](https://github.com/buildkite/agent/compare/v3.0-beta.32...v3.0-beta.33) 300 301 ### Added 302 303 - Interpolate env block before rest of pipeline.yml [\#552](https://github.com/buildkite/agent/pull/552) (@lox) 304 305 ### Fixed 306 307 - Build hanging after git checkout [\#558](https://github.com/buildkite/agent/issues/558) 308 309 ## [v3.0-beta.32](https://github.com/buildkite/agent/tree/v3.0-beta.32) (2017-09-25) 310 [Full Changelog](https://github.com/buildkite/agent/compare/v3.0-beta.31...v3.0-beta.32) 311 312 ### Added 313 314 - Add --no-plugins option to agent [\#540](https://github.com/buildkite/agent/pull/540) (@lox) 315 - Support docker environment vars from v2 [\#545](https://github.com/buildkite/agent/pull/545) (@lox) 316 317 ### Changed 318 319 - Refactored bootstrap to be more testable / maintainable [\#514](https://github.com/buildkite/agent/pull/514) [\#530](https://github.com/buildkite/agent/pull/530) [\#536](https://github.com/buildkite/agent/pull/536) [\#522](https://github.com/buildkite/agent/pull/522) (@lox) 320 - Add BUILDKITE\_GCS\_ACCESS\_HOST for GCS Host choice [\#532](https://github.com/buildkite/agent/pull/532) (@jules2689) 321 - Prefer plugin, local, global and then default for hooks [\#549](https://github.com/buildkite/agent/pull/549) (@lox) 322 - Integration tests for v3 [\#548](https://github.com/buildkite/agent/pull/548) (@lox) 323 - Add docker integration tests [\#547](https://github.com/buildkite/agent/pull/547) (@lox) 324 - Use latest golang 1.9 [\#541](https://github.com/buildkite/agent/pull/541) (@lox) 325 - Faster globbing with go-zglob [\#539](https://github.com/buildkite/agent/pull/539) (@lox) 326 - Consolidate Environment into env package (@lox) 327 328 ### Fixed 329 - Fix bug where ssh-keygen error causes agent to block [\#521](https://github.com/buildkite/agent/pull/521) (@lox) 330 - Pre-exit hook always fires now 331 332 ## [v3.0-beta.31](https://github.com/buildkite/agent/tree/v3.0-beta.31) (2017-08-14) 333 [Full Changelog](https://github.com/buildkite/agent/compare/v3.0-beta.30...v3.0-beta.31) 334 335 ### Fixed 336 - Support paths in BUILDKITE\_ARTIFACT\_UPLOAD\_DESTINATION [\#519](https://github.com/buildkite/agent/pull/519) (@lox) 337 338 ## [v3.0-beta.30](https://github.com/buildkite/agent/tree/v3.0-beta.30) (2017-08-11) 339 [Full Changelog](https://github.com/buildkite/agent/compare/v3.0-beta.29...v3.0-beta.30) 340 341 ### Fixed 342 - Agent is prompted to verify remote server authenticity when cloning submodule from unkown host [\#503](https://github.com/buildkite/agent/issues/503) 343 - Windows agent cannot find git executable \(Environment variable/Path issue?\) [\#487](https://github.com/buildkite/agent/issues/487) 344 - ssh-keyscan doesn't work for submodules on a different host [\#411](https://github.com/buildkite/agent/issues/411) 345 - Fix boolean plugin config parsing [\#508](https://github.com/buildkite/agent/pull/508) (@toolmantim) 346 347 ### Changed 348 - Stop making hook files executable [\#515](https://github.com/buildkite/agent/pull/515) (@yeungda-rea) 349 - Switch to yaml.v2 as the YAML parser [\#511](https://github.com/buildkite/agent/pull/511) (@keithpitt) 350 - Add submodule remotes to known\_hosts [\#509](https://github.com/buildkite/agent/pull/509) (@lox) 351 352 ## 3.0-beta.29 - 2017-07-18 353 354 ### Added 355 - Added a `--timestamp-lines` option to `buildkite-agent start` that will insert RFC3339 UTC timestamps at the beginning of each log line. The timestamps are not applied to header lines. [#501] (@lox) 356 - Ctrl-c twice will force kill the agent [#499] (@lox) 357 - Set the content encoding on artifacts uploaded to s3 [#494] (thanks @airhorns) 358 - Output fetched commit sha during git fetch for pull request [#505] (@sj26) 359 360 ### Changed 361 - Migrate the aging goamz library to the latest aws-sdk [#474] (@lox) 362 363 ## 2.6.5 - 2017-07-18 364 ### Added 365 - π Output fetched commit sha during git fetch for pull request [#505] 366 367 ## 3.0-beta.28 - 2017-06-23 368 ### Added 369 - π The agent will now poll the AWS EC2 Tags API until it finds some tags to apply before continuing. In some cases, the agent will start and connect to Buildkite before the tags are available. The timeout for this polling can be configured with --wait-for-ec2-tags-timeout (which defaults to 10 seconds) #492 370 371 ### Fixed 372 - π Fixed 2 Windows bugs that caused all jobs that ran through our built-in buildkite-agent bootstrap command to fail #496 373 374 ## 2.6.4 - 2017-06-16 375 ### Added 376 - π The buildkite-agent upstart configuration will now source /etc/default/buildkite-agent before starting the agent process. This gives you an opportunity to configure the agent outside of the standard buildkite-agent.conf file 377 378 ## 3.0-beta.27 - 2017-05-31 379 ### Added 380 - Allow pipeline uploads when no-command-eval is true 381 382 ### Fixed 383 - π Fixes to a few more edge cases when exported environment variables from hooks would include additional quotes #484 384 - Apt server misconfigured - `Packages` reports wrong sizes/hashes 385 - Rewrote `export -p` parser to support multiple line env vars 386 387 ## 3.0-beta.26 - 2017-05-29 388 ### Fixed 389 - π€¦ββοΈ We accidentally skipped a beta version, there's no v3.0-beta.25! Doh! 390 - π Fixed an issue where some environment variables exported from environment hooks would have new lines appended to the end 391 392 ## 3.0-beta.24 - 2017-05-26 393 ### Added 394 - π Added an --append option to buildkite-agent annotate that allows you to append to the body of an existing annotation 395 396 ### Fixed 397 - π Fixed an issue where exporting multi-line environment variables from a hook would truncate everything but the first line 398 399 ## 3.0-beta.23 - 2017-05-10 400 ### Added 401 - π New command buildkite-agent annotate that gives you the power to annotate a build page with information from your pipelines. This feature is currently experimental and the CLI command API may change before an official 3.0 release 402 403 ## 2.6.3 - 2017-05-04 404 ### Added 405 - Added support for local and global pre-exit hooks (#466) 406 407 ## 3.0-beta.22 - 2017-05-04 408 ### Added 409 - Renames --meta-data to --tags (#435). --meta-data will be removed in v4, and v3 versions will now show a deprecation warning. 410 - Fixes multiple signals not being passed to job processes (#454) 411 - Adds binaries for OpenBSD (#463) and DragonflyBSD (#462) 412 - Adds support for local and global pre-exit hooks (#465) 413 414 ## 2.6.2 - 2017-05-02 415 ### Fixed 416 - Backport #381 to stable: Retries for fetching EC2 metadata and tags. #461 417 418 ### Added 419 - Add OpenBSD builds 420 421 ## 2.6.1 - 2017-04-13 422 ### Removed 423 - Reverted #451 as it introduced a regression. Will re-think this fix and push it out again in another release after we do some more testing 424 425 ## 3.0-beta.21 - 2017-04-13 426 ### Removed 427 - Reverts the changes made in #448 as it seemed to introduce a regression. We'll rethink this change and push it out in another release. 428 429 ## 2.6.0 - 2017-04-13 430 ### Fixed 431 - Use /bin/sh rather than /bin/bash when executing commands. This allows use in environments that don't have bash, such as Alpine Linux. 432 433 ## 3.0-beta.20 - 2017-04-13 434 ### Added 435 - Add plugin support for HTTP repositories with .git extensions [#447] 436 - Run the global environment hook before checking out plugins [#445] 437 438 ### Changed 439 - Use /bin/sh rather than /bin/bash when executing commands. This allows use in environments that don't have bash, such as Alpine Linux. (#448) 440 441 ## 3.0-beta.19 - 2017-03-29 442 ### Added 443 - `buildkite-agent start --disconnect-after-job` will run the agent, and automatically disconnect after running it's first job. This has sometimes been referred to as "one shot" mode and is useful when you spin up an environment per-job and want the agent to automatically disconnect once it's finished it's job 444 - `buildkite-agent start --disconnect-after-job-timeout` is the time in seconds the agent will wait for that first job to be assigned. The default value is 120 seconds (2 minutes). If a job isn't assigned to the agent after this time, it will automatically disconnect and the agent process will stop. 445 446 ## 3.0-beta.18 - 2017-03-27 447 ### Fixed 448 - Fixes a bug where log output would get sometimes get corrupted #441 449 450 451 ## 2.5.1 - 2017-03-27 452 ### Fixed 453 - Fixes a bug where log output would get sometimes get corrupted #441 454 455 ## 3.0-beta.17 - 2017-03-23 456 ### Added 457 - You can now specify a custom artifact upload destination with BUILDKITE_ARTIFACT_UPLOAD_DESTINATION #421 458 - git clean is now performed before and after the git checkout operation #418 459 - Update our version of lockfile which should fixes issues with running multiple agents on the same server #428 460 - Fix the start script for Debian wheezy #429 461 - The buildkite-agent binary is now built with Golang 1.8 #433 462 - buildkite-agent meta-data get now supports --default flag that allows you to return a default value instead of an error if the remote key doesn't exist #440 463 464 ## [2.5] - 2017-03-23 465 ### Added 466 - buildkite-agent meta-data get now supports --default flag that allows you to return a default value instead of an error if the remote key doesn't exist #440 467 468 ## 2.4.1 - 2017-03-20 469 ### Fixed 470 - π Fixed a bug where ^^^ +++ would be prefixed with a timestamp when ---timestamp-lines was enabled #438 471 472 ## [2.4] - 2017-03-07 473 ### Added 474 - Added a new option --timestamp-lines option to buildkite-agent start that will insert RFC3339 UTC timestamps at the beginning of each log line. The timestamps are not applied to header lines. #430 475 476 ### Changed 477 - Go 1.8 [#433] 478 - Switch to govendor for dependency tracking [#432] 479 - Backport Google Cloud Platform meta-data to 2.3 stable agent [#431] 480 481 ## 3.0-beta.16 - 2016-12-04 482 ### Fixed 483 - "No command eval" mode now makes sure commands are inside the working directory π 484 - Scripts which are already executable won't be chmoded π 485 486 ## 2.3.2 - 2016-11-28 487 ### Fixed 488 - π Fixed an edge case that causes the agent to panic and exit if more lines are read a process after it's finished 489 490 ## 2.3.1 - 2016-11-17 491 ### Fixed 492 - More resilient init.d script (#406) 493 - Only lock if locks are used by the system 494 - More explicit su with --shell option 495 496 ## 3.0-beta.15 - 2016-11-16 497 ### Changed 498 - The agent now receives it's "job status interval" from the Agent API (the number of seconds between checking if it's current job has been remotely canceled) 499 500 ## 3.0-beta.14 - 2016-11-11 501 ### Fixed 502 - Fixed a race condition where the agent would pick up another job to run even though it had been told to gracefully stop (PR #403 by @grosskur) 503 - Fixed path to ssh-keygen for Windows (PR #401 by @bendrucker) 504 505 ## [2.3] - 2016-11-10 506 ### Fixed 507 - Fixed a race condition where the agent would pick up another job to run even though it had been told to gracefully stop (PR #403 by @grosskur) 508 509 ## 3.0-beta.13 - 2016-10-21 510 ### Added 511 - Refactored how environment variables are interpolated in the agent 512 - The buildkite-agent pipeline upload command now looks for .yaml files as well 513 - Support for the steps.json file has been removed 514 515 ## 3.0-beta.12 - 2016-10-14 516 ### Added 517 - Updated buildkite-agent bootstrap for Windows so that commands won't keep running if one of them fail (similar to Bash's set -e) behaviour #392 (thanks @essen) 518 519 ## 3.0-beta.11 - 2016-10-04 520 ### Added 521 - AWS EC2 meta-data tagging is now more resilient and will retry on failure (#381) 522 - Substring expansion works for variables in pipeline uploads, like ${BUILDKITE_COMMIT:0:7} will return the first seven characters of the commit SHA (#387) 523 524 ## 3.0-beta.10 - 2016-09-21 525 ### Added 526 - The buildkite-agent binary is now built with Golang 1.7 giving us support for macOS Sierra 527 - The agent now talks HTTP2 making calls to the Agent API that little bit faster 528 - The binary is a statically compiled (no longer requiring libc) 529 - meta-data-ec2 and meta-data-ec2-tags can now be configured using BUILDKITE_AGENT_META_DATA_EC2 and BUILDKITE_AGENT_META_DATA_EC2_TAGS environment variables 530 531 532 ## [2.2] - 2016-09-21 533 ### Added 534 - The buildkite-agent binary is now built with Golang 1.7 giving us support for macOS Sierra 535 - The agent now talks HTTP2 making calls to the Agent API that little bit faster 536 - The binary is a statically compiled (no longer requiring libc) 537 - meta-data-ec2 and meta-data-ec2-tags can now be configured using BUILDKITE_AGENT_META_DATA_EC2 and BUILDKITE_AGENT_META_DATA_EC2_TAGS environment variables 538 539 ### Changed 540 - We've removed our dependency of libc for greater compatibly across \*nix systems which has had a few side effects: 541 We've had to remove support for changing the process title when an agent starts running a job. This feature has only ever been available to users running 64-bit ubuntu, and required us to have a dependency on libc. We'd like to bring this feature back in the future in a way that doesn't have us relying on libc 542 - The agent will now use Golangs internal DNS resolver instead of the one on your system. This probably won't effect you in any real way, unless you've setup some funky DNS settings for agent.buildkite.com 543 544 ## 3.0-beta.9 - 2016-08-18 545 ### Added 546 - Allow fetching meta-data from Google Cloud metadata #369 (Thanks so much @grosskur) 547 548 ## 2.1.17 - 2016-08-11 549 ### Fixed 550 - Fix some compatibility with older Git versions πΈ 551 552 ## 3.0-beta.8 - 2016-08-09 553 ### Fixed 554 - Make bootstrap actually use the global command hook if it exists #365 555 556 ## 3.0-beta.7 - 2016-08-05 557 ### Added 558 - Support plugin array configs f989cde 559 - Include bootstrap in the help output 7524ffb 560 561 ### Fixed 562 - Fixed a bug where we weren't stripping ANSI colours in build log headers 6611675 563 - Fix Content-Type for Google Cloud Storage API calls #361 (comment) 564 565 ## 2.1.16 - 2016-08-04 566 ### Fixed 567 - π SSH key scanning backwards compatibility with older openssh tools 568 569 ## 2.1.15 - 2016-07-28 570 ### Fixed 571 - π SSH key scanning fix after it got a little broken in 2.1.14, sorry! 572 573 ## 2.1.14 - 2016-07-26 574 ### Added 575 - π SSH key scanning should be more resilient, whether or not you hash your known hosts file 576 - π Commands executed by the Bootstrap script correctly preserve positional arguments and handle interpolation better 577 - π ANSI color sequences are a little more resilient 578 - β¨ Git clean and clone flags can now be supplied in the Agent configuration file or on the command line 579 - π’ Docker Compose will now be a little more verbose when the Agent is in Debug mode 580 - π $BUILDKITE_DOCKER_COMPOSE_FILE now accepts multiple files separated by a colon (:), like $PATH 581 582 ## 3.0-beta.6 - 2016-06-24 583 ### Fixed 584 - Fixes to the bootstrap when using relative paths #228 585 - Fixed hook paths on Windows #331 586 - Fixed default path of the pipeline.yml file on Windows #342 587 - Fixed issues surrounding long command definitions #334 588 - Fixed default bootstrap-command command for Windows #344 589 590 ## 3.0-beta.5 - 2016-06-16 591 592 ## [3.0-beta.3- 2016-06-01 593 ### Added 594 - Added support for BUILDKITE_GIT_CLONE_FLAGS (#330) giving you the ability customise how the agent clones your repository onto your build machines. You can use this to customise the "depth" of your repository if you want faster clones BUILDKITE_GIT_CLONE_FLAGS="-v --depth 1". This option can also be configured in your buildkite-agent.cfg file using the git-clone-flags option 595 - BUILDKITE_GIT_CLEAN_FLAGS can now be configured in your buildkite-agent.cfg file using the git-clean-flags option (#330) 596 - Allow metadata value to be read from STDIN (#327). This allows you to set meta-data from files easier cat meta-data.txt | buildkite-agent meta-data set "foo" 597 598 ### Fixed 599 - Fixed environment variable sanitisation #333 600 601 ## 2.1.13 - 2016-05-30 602 ### Added 603 - BUILDKITE_GIT_CLONE_FLAGS (#326) giving you the ability customise how the agent clones your repository onto your build machines. You can use this to customise the "depth" of your repository if you want faster clones `BUILDKITE_GIT_CLONE_FLAGS="-v --depth 1"` 604 - Allow metadata value to be read from STDIN (#327). This allows you to set meta-data from files easier `cat meta-data.txt | buildkite-agent meta-data set "foo"` 605 606 ## 3.0-beta.2 - 2016-05-23 607 ### Fixed 608 - Improved error logging when failing to capture the exit status for a job (#325) 609 610 ## 2.1.12 - 2016-05-23 611 ### Fixed 612 - Improved error logging when failing to capture the exit status for a job (#325) 613 614 ## 2.1.11 - 2016-05-17 615 ### Added 616 - A new --meta-data-ec2 command line flag and config option for populating agent meta-data from EC2 information (#320) 617 - Binaries are now published to download.buildkite.com (#318) 618 619 ## 3.0-beta.1 - 2016-05-16 620 ### Added 621 - New version number: v3.0-beta.1. There will be no 2.2 (the previous beta release) 622 - Outputs the build directory in the build log (#317) 623 - Don't output the env variable values that are set from hooks (#316) 624 - Sign packages with SHA512 (#308) 625 - A new --meta-data-ec2 command line flag and config option for populating agent meta-data from EC2 information (#314) 626 - Binaries are now published to download.buildkite.com (#318) 627 628 ## 2.2-beta.4 - 2016-05-10 629 ### Fixed 630 - Amazon Linux & CentOS 6 packages now start and shutdown the agent gracefully (#306) - thanks @jnewbigin 631 - Build headers now work even if ANSI escape codes are applied (#279) 632 633 ## 2.1.10- 2016-05-09 634 ### Fixed 635 - Amazon Linux & CentOS 6 packages now start and shutdown the agent gracefully (#290 #305) - thanks @jnewbigin 636 637 ## 2.1.9 - 2016-05-06 638 ### Added 639 - Docker Compose 1.7.x support, including docker network removal during cleanup (#300) 640 - Docker Compose builds now specify --pull, so base images will always attempted to be pulled (#300) 641 - Docker Compose command group is now expanded by default (#300) 642 - Docker Compose builds now only build the specified serviceβs image, not all images. If you want to build all set the environment variable BUILDKITE_DOCKER_COMPOSE_BUILD_ALL=true (#297) 643 - Step commands are now run with bashβs -o pipefail option, preventing silent failures (#301) 644 645 ### Fixed 646 - BUILDKITE_DOCKER_COMPOSE_LEAVE_VOLUMES undefined errors in bootstrap.sh have been fixed (#283) 647 - Build headers now work even if ANSI escape codes are applied 648 649 ## 2.2-beta.3 - 2016-03-18 650 ### Addeed 651 - Git clean brokenness has been fixed in the Go-based bootstrap (#278) 652 653 ## 2.1.8- 2016-03-18 654 ### Added 655 - BUILDKITE_DOCKER_COMPOSE_LEAVE_VOLUMES (#274) which allows you to keep the docker-compose volumes once a job has been run 656 657 ## 2.2-beta.2 - 2016-03-17 658 ### Added 659 - Environment variable substitution in pipeline files (#246) 660 - Google Cloud Storage for artifacts (#207) 661 - BUILDKITE_DOCKER_COMPOSE_LEAVE_VOLUMES (#252) which allows you to keep the docker-compose volumes once a job has been run 662 - BUILDKITE_S3_ACCESS_URL (#261) allowing you set your own host for build artifact links. This means you can set up your own proxy/web host that sits in front of your private S3 artifact bucket, and click directly through to them from Buildkite. 663 - BUILDKITE_GIT_CLEAN_FLAGS (#270) allowing you to ensure all builds have completely clean checkouts using an environment hook with export BUILDKITE_GIT_CLEAN_FLAGS=-fqdx 664 - Various new ARM builds (#258) allowing you to run the agent on services such as Scaleway 665 666 ### Fixed 667 - Increased many of the HTTP timeouts to ease the stampede on the agent endpoint (#259) 668 - Corrected bash escaping errors which could cause problems for installs to non-standard paths (#262) 669 - Made HTTPS the default for all artifact upload URLs (#265) 670 - Added Buildkite's bin dir to the end, not the start, of $PATH (#267) 671 - Ensured that multiple commands separated by newlines fail as soon as a command fails (#272) 672 673 ## 2.1.7- 2016-03-17 674 ### Added 675 - Added support for BUILDKITE_S3_ACCESS_URL (#247) allowing you set your own host for build artifact links. This means you can set up your own proxy/web host that sits in front of your private S3 artifact bucket, and click directly through to them from Buildkite. 676 - Added support for BUILDKITE_GIT_CLEAN_FLAGS (#271) allowing you to ensure all builds have completely clean checkouts using an environment hook with export BUILDKITE_GIT_CLEAN_FLAGS=-fqdx 677 - Added support for various new ARM builds (#263) allowing you to run the agent on services such as Scaleway 678 679 ### Fixed 680 - Updated to Golang 1.6 (26d37c5) 681 - Increased many of the HTTP timeouts to ease the stampede on the agent endpoint (#260) 682 - Corrected bash escaping errors which could cause problems for installs to non-standard paths (#266) 683 - Made HTTPS the default for all artifact upload URLs (#269) 684 - Added Buildkite's bin dir to the end, not the start, of $PATH (#268) 685 - Ensured that multiple commands separated by newlines fail as soon as a command fails (#273) 686 687 ## 2.1.6.1 - 2016-03-09 688 ### Fixed 689 - The agent is now statically linked to glibc, which means support for Debian 7 and friends (#255) 690 691 ## 2.1.6 - 2016-03-03 692 ### Fixed 693 - git fetch --tags doesn't fetch branches in old git (#250) 694 695 ## 2.1.5 2016-02-26 696 ### Fixed 697 - Use TrimPrefix instead of TrimLeft (#203) 698 - Update launchd templates to use .buildkite-agent dir (#212) 699 - Link to docker agent in README (#225) 700 - Send desired signal instead of always SIGTERM (#215) 701 - Bootstrap script fetch logic tweaks (#243) 702 - Avoid upstart on Amazon Linux (#244) 703 704 ## 2.2-beta.1 2015-10-20 705 ### Changed 706 - Added some tests to the S3Downloader 707 708 ## 2.1.4 - 2015-10-16 709 ### Fixed 710 - yum.buildkite.com now shows all previous versions of the agent 711 712 ## 2.1.3 - 2015-10-16 713 ### Fixed 714 - Fixed problem with bootstrap.sh not resetting git checkouts correctly 715 716 ## 2.1.2 - 2015-10-16 717 ### Fixed 718 - Removed unused functions from the bootstrap.sh file that was causing garbage output in builds 719 - FreeBSD 386 machines are now supported 720 721 ## 2.1.1 - 2015-10-15 722 ### Fixed 723 - Fixed issue with starting the bootstrap.sh file on linux systems fork/exec error 724 725 ## [2.1] - 2015-10-15 726 727 ## 2.1-beta.3 - 2015-10-01 728 ### Changed 729 - Added support for FreeBSD - see instructions here: https://gist.github.com/keithpitt/61acb5700f75b078f199 730 - Only fetch the required branch + commit when running a build 731 - Added support for a repository command hook 732 - Change the git origin when a repository URL changes 733 - Improved mime type coverage for artefacts 734 - Added support for pipeline.yml files, starting to deprecate steps.json 735 - Show the UUID in the log output when uploading artifacts 736 - Added graceful shutdown #176 737 - Fixed header time and artifact race conditions 738 - OS information is now correctly collected on Windows 739 740 ## 2.1-beta.2 - 2015-08-04 741 ### Fixed 742 - Optimised artifact state updating 743 - Dump artifact upload responses when --debug-http is used 744 745 ## 2.1-beta.1 - 2015-07-30 746 ### Fixed 747 - Debian packages now include the debian_version property π¦ 748 - Artifacts are uploaded faster! We've optimised our Agent API payloads to have a smaller footprint meaning you can uploading more artifacts faster! ππ¨ 749 - You can now download artifacts from private S3 buckets using buildkite-artifact download βοΈ 750 - The agent will now change it's process title on linux/amd64 machines to report it's current status: `buildkite-agent v2.1 (my-agent-name) [job a4f-a4fa4-af4a34f-af4]` 751 752 ## 2.1-beta - 2015-07-3 753 754 ## 2.0.4 - 2015-07-2 755 ### Fixed 756 - Changed the format that --version returns buildkite-agent version 2.0.4, build 456 π 757 758 ### Added 759 - Added post-artifact global and local hooks π£ 760 761 ## 2.0.3.761 - 2015-07-21 762 ### Fixed 763 - Debian package for ARM processors 764 - Include the build number in the --version call 765 766 ## 2.0.3 - 2015-07-21 767 768 ## 2.0.1 - 2015-07-17 769 770 ## [2.0] - 2015-07-14 771 ### Added 772 - The binary name has changed from buildbox to buildkite-agent 773 - The default install location has changed from ~/.buildbox to ~/.buildkite-agent (although each installer may install in different locations) 774 - Agents can be configured with a config file 775 - Agents register themselves with a organization-wide token, you no longer need to create them via the web 776 - Agents now have hooks support and there should be no reason to customise the bootstrap.sh file 777 - There is built-in support for containerizing builds with Docker and Docker Compose 778 - Windows support 779 - There are installer packages available for most systems 780 - Agents now have meta-data 781 - Build steps select agents using key/value patterns rather than explicit agent selection 782 - Automatic ssh fingerprint verification 783 - Ability to specify commands such as rake and make instead of a path to a script 784 - Agent meta data can be imported from EC2 tags 785 - You can set a priority for the agent 786 - The agent now works better under flakey internet connections by retrying certain API calls 787 - A new command buildkite-agent artifact shasum that allows you to download the shasum of a previously uploaded artifact 788 - Various bug fixes and performance enhancements 789 - Support for storing build pipelines in repositories 790