CHANGELOG.md 35.4 KB
Newer Older
Kamil Trzciński's avatar
Kamil Trzciński committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
v 9.4.0 (2017-07-22)
- Use Go 1.8 for CI !620
- Warn on archiving git directory !591
- Add CacheClient with timeout configuration for cache operations !608
- Remove '.git/hooks/post-checkout' hooks when using fetch strategy !603
- Fix VirtualBox and Parallels executors registration bugs !589
- Support Kubernetes PVCs !606
- Support cache policies in .gitlab-ci.yml !621
- Improve kubernetes volumes support !625
- Adds an option `--all` to unregister command !622
- Add the technical description of version release !631
- Update documentation on building docker images inside of a kubernetes cluster. !628
- Support for extended docker configuration in gitlab-ci.yml !596
- Add ServicesTmpfs options to Docker runner configuration. !605
- Fix network timeouts !634

Tomasz Maczukin's avatar
Tomasz Maczukin committed
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
v 9.3.0 (2017-06-22)
- Make GitLab Runner metrics HTTP endpoint default to :9252 !584
- Add handling for GIT_CHECKOUT variable to skip checkout !585
- Use HTTP status code constants from net/http library !569
- Remove tls-skip-verify from advanced-configuration.md !590
- Improve docker machine removal !582
- Add support for Docker '--cpus' option !586
- Add requests backoff mechanism !570
- Fixed doc typo, change `--service-name` to `--service` !592
- Slight fix to build/ path in multi runner documentation !598
- Move docs on private Registry to GitLab docs !597
- Install Git LFS in Helper image for X86_64 !588
- Docker entrypoint: use exec !581
- Create gitlab-runner user on alpine !593
- Move registering Runners info in a separate document !599
- Add basic support for Kubernetes volumes !516
- Add required runners.docker section to example config. !604
- Add userns support for Docker executor !553
- Fix another regression on docker-machine credentials usage !610
- Added ref of Docker app installation !612
- Update linux-repository.md !615

39 40 41 42
v 9.2.1 (2017-06-17)
- Fix regression introduced in the way how `exec` parses `.gitlab-ci.yml` !535
- Fix another regression on docker-machine credentials usage !610

Tomasz Maczukin's avatar
Tomasz Maczukin committed
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
v 9.2.0 (2017-05-22)

This release introduces a change in the ordering of artifacts and cache restoring!

It may happen that someone, by mistake or by purpose, uses the same path in
`.gitlab-ci.yml` for both cache and artifacts keywords, and this could cause that
a stale cache might inadvertently override artifacts that are used across the
pipeline.

Starting with this release, artifacts are always restored after the cache to ensure
that even in edge cases you can always rely on them.

- Improve Windows runner details !514
- Add support for TLS client authentication !157
- Fix apt-get syntax to install a specific version. !563
- Add link to Using Docker Build CI docs !561
- Document the `coordinator` and make the FAQ list unordered !567
- Add links to additional kubernetes details !566
- Add '/debug/jobs/list' endpoint that lists all handled jobs !564
- Remove .godir !568
- Add PodLabels field to Kubernetes config structure !558
- Remove the build container after execution has completed !571
- Print proper message when cache upload operation failed !556
- Remove redundant ToC from autoscale docs and add intro paragraph !574
- Make possible to compile Runner under Openbsd2 !511
- Improve docker configuration docs !576
- Use contexes everywhere !559
- Add support for kubernetes service account and override on gitlab-ci.yaml !554
- Restore cache before artifacts !577
- Fix link to the LICENSE file. !579

74 75 76 77
v 9.1.2 (2017-06-17)
- Print proper message when cache upload operation fails !556
- Fix regression introduced in the way how `exec` parses `.gitlab-ci.yml` !535

78 79 80 81
v 9.1.1 (2017-05-02)
- Fix apt-get syntax to install a specific version. !563
- Remove the build container after execution has completed !571

Tomasz Maczukin's avatar
Tomasz Maczukin committed
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
v 9.1.0 (2017-04-22)
- Don't install docs for the fpm Gem !526
- Mention tagged S3 sources in installation documentation !513
- Extend documentation about accessing docker services !527
- Replace b.CurrentStage with b.CurrentState where it was misused !530
- Docker provider metrics cleanups and renaming !531
- Replace godep with govendor !505
- Add histogram metrics for docker machine creation !533
- Fix cache containers dicsovering regression !534
- Add urls to environments created with CI release jobs !537
- Remove unmanaged docker images sources !538
- Speed up CI pipeline !536
- Add job for checking the internal docs links !542
- Mention Runner -> GitLab compatibility concerns after 9.0 release !544
- Log error if API v4 is not present (GitLab CE/EE is older than 9.0) !528
- Cleanup variables set on GitLab already !523
- Add faq entry describing how to handle missing zoneinfo.zip problem !543
- Add documentation on how Runner uses Minio library !419
- Update docker.md - typo in runners documentation link !546
- Add log_level option to config.toml !524
- Support private registries with Kubernetes !551
- Cleanup Kubernetes typos and wording !550
- Fix runner crashing on builds helper collect !529
- Config docs: Fix syntax in example TOML for Kubernetes !552
- Docker: Allow to configure shared memory size !468
- Return error for cache-extractor command when S3 cache source returns 404 !429
- Add executor stage to ci_runner_builds metric's labels !548
- Don't show image's ID when it's the same as image's name !557
- Extended verify command with runner selector !532
- Changed information line logged by Runner while unregistering !540
- Properly configure connection timeouts and keep-alives !560
- Log fatal error when concurrent is less than 1 !549

115 116 117 118
v 9.0.4 (2017-05-02)
- Fix apt-get syntax to install a specific version. !563
- Remove the build container after execution has completed !571

119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
v 9.0.3 (2017-04-21)
- Fix runner crashing on builds helper collect !529
- Properly configure connection timeouts and keep-alives !560

v 9.0.2 (2017-04-06)
- Speed up CI pipeline !536

v 9.0.1 (2017-04-05)
- Don't install docs for the fpm Gem !526
- Mention tagged S3 sources in installation documentation !513
- Replace b.CurrentStage with b.CurrentState where it was misused !530
- Replace godep with govendor !505
- Fix cache containers dicsovering regression !534
- Add urls to environments created with CI release jobs !537
- Mention Runner -> GitLab compatibility concerns after 9.0 release !544
- Log error if API v4 is not present (GitLab CE/EE is older than 9.0) !528

Tomasz Maczukin's avatar
Tomasz Maczukin committed
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
v 9.0.0
- Change dependency from `github.com/fsouza/go-dockerclient` to `github.com/docker/docker/client`" !301
- Update docker-machine version to fix coreos provision !500
- Cleanup windows install docs !497
- Replace io.Copy with stdcopy.StdCopy for docker output handling !503
- Fixes typo: current to concurrent. !508
- Modifies autoscale algorithm example !509
- Force-terminate VirtualBox and Parallels VMs so snapshot restore works properly !313
- Fix indentation of 'image_pull_secrets' in kubernetes configuration example !512
- Show Docker image ID in job's log !507
- Fix word consistency in autoscaling docs !519
- Rename the binary on download to use gitlab-runner as command !510
- Improve details around limits !502
- Switch from CI API v1 to API v4 !517
- Make it easier to run tests locally !506
- Kubernetes private credentials !520
- Limit number of concurrent requests to builds/register.json !518
- Remove deprecated kubernetes executor configuration fields !521
- Drop Kubernetes executor 'experimental' notice !525

156 157 158
v 1.11.4 (2017-04-28)
- Fixes test that was failing 1.11.3 release

159 160 161 162 163
v 1.11.3 (2017-04-28)
- Add urls to environments created with CI release jobs !537
- Speed up CI pipeline !536
- Fix runner crashing on builds helper collect !529

164 165 166 167 168 169 170
v 1.11.2
- Force-terminate VirtualBox and Parallels VMs so snapshot restore works properly !313
- Don't install docs for the fpm Gem !526
- Mention tagged S3 sources in installation documentation !513
- Limit number of concurrent requests to builds/register.json !518
- Replace b.CurrentStage with b.CurrentState where it was misused !530

171 172 173
v 1.11.1
- Update docker-machine version to fix coreos provision !500

Tomasz Maczukin's avatar
Tomasz Maczukin committed
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
v 1.11.0
- Fix S3 and packagecloud uploads step in release process !455
- Add ubuntu/yakkety to packages generation list !458
- Reduce size of gitlab-runner-helper images !456
- Fix crash on machine creation !461
- Rename 'Build (succeeded|failed)' to 'Job (succeeded|failed)' !459
- Fix race in helpers/prometheus/log_hook.go: Fire() method !463
- Fix missing VERSION on Mac build !465
- Added post_build_script to call scripts after user-defined build scripts !460
- Fix offense reported by vet. Add vet to 'code style' job. !477
- Add the runner name to the first line of log output, after the version !473
- Make CI_DEBUG_TRACE working on Windows CMD !483
- Update packages targets !485
- Update Makefile (fix permissions on /usr/share/gitlab-runner/) !487
- Add timezone support for OffPeak intervals !479
- Set GIT_SUBMODULE_STRATEGY=SubmoduleNone when GIT_STRATEGY=GitNone !480
- Update maintainers information !489

192 193 194 195 196 197 198
v 1.10.8
- Force-terminate VirtualBox and Parallels VMs so snapshot restore works properly !313
- Don't install docs for the fpm Gem !526
- Mention tagged S3 sources in installation documentation !513
- Limit number of concurrent requests to builds/register.json !518
- Replace b.CurrentStage with b.CurrentState where it was misused !530

199 200 201
v 1.10.7
- Update docker-machine version to fix coreos provision !500

202 203 204
v 1.10.6
- Update Makefile (fix permissions on /usr/share/gitlab-runner/) !487

205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220
v 1.10.5
- Update packages targets !485

v 1.10.4
- Fix race in helpers/prometheus/log_hook.go: Fire() method !463

v 1.10.3
- Fix crash on machine creation !461

v 1.10.2
- Add ubuntu/yakkety to packages generation list !458
- Reduce size of gitlab-runner-helper images !456

v 1.10.1
- Fix S3 and packagecloud uploads step in release process !455

Tomasz Maczukin's avatar
Tomasz Maczukin committed
221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239
v 1.10.0
- Make /usr/share/gitlab-runner/clear-docker-cache script /bin/sh compatible !427
- Handle Content-Type header with charset information !430
- Don't raise error if machines directory is missing on machines listing !433
- Change digital ocean autoscale to use stable coreos channel !434
- Fix package's scripts permissions !440
- Use -q flag instead of --format. !442
- Kubernetes termination grace period !383
- Check if directory exists before recreating it with Windows CMD !435
- Add '--run-tagged-only' cli option for runners !438
- Add armv6l to the ARM replacements list for docker executor helper image !446
- Add configuration options for Kubernetss resource requests !391
- Add poll interval and timeout parameters for Kubernetes executor !384
- Add support for GIT_SUBMODULE_STRATEGY !443
- Create index file for S3 downloads !452
- Add Prometheus metric that counts number of catched errors !439
- Exclude unused options from AbstractExecutor.Build.Options !445
- Update Docker Machine in official Runner images to v0.9.0 !454
- Pass ImagePullSecrets for Kubernetes executor !449
240
- Add Namespace overwrite possibility for Kubernetes executor !444
Tomasz Maczukin's avatar
Tomasz Maczukin committed
241

242 243 244
v 1.9.10
- Force-terminate VirtualBox and Parallels VMs so snapshot restore works properly !313

245 246 247
v 1.9.9
- Update docker-machine version to fix coreos provision !500

248 249 250
v 1.9.8
- Update Makefile (fix permissions on /usr/share/gitlab-runner/) !487

251 252 253 254 255 256
v 1.9.7
- Update packages targets !485

v 1.9.6
- Add ubuntu/yakkety to packages generation list !458

257 258 259
v 1.9.5
- Update Docker Machine in official Runner images to v0.9.0 !454

260 261 262
v 1.9.4
- Add armv6l to the ARM replacements list for docker executor helper image !446

263 264 265 266
v 1.9.3
- Fix package's scripts permissions !440
- Check if directory exists before recreating it with Windows CMD !435

267 268 269 270
v 1.9.2
- Handle Content-Type header with charset information !430
- Don't raise error if machines directory is missing on machines listing !433

271 272 273
v 1.9.1
- Make /usr/share/gitlab-runner/clear-docker-cache script /bin/sh compatible !427

Tomasz Maczukin's avatar
Tomasz Maczukin committed
274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304
v 1.9.0
- Add pprof HTTP endpoints to metrics server !398
- Add a multiple prometheus metrics: !401
- Split prepare stage to be: prepare, git_clone, restore_cache, download_artifacts !406
- Update CONTRIBUTING.md to refer to go 1.7.1 !409
- Introduce docker.Client timeouts !411
- Allow network-sourced variables to specify that they should be files !413
- Add a retry mechanism to prevent failed clones in builds !399
- Remove shallow.lock before fetching !407
- Colorize log entries for cmd and powershell !400
- Add section describing docker usage do Kubernetes executor docs !394
- FreeBSD runner installation docs update !387
- Update prompts for register command !377
- Add volume_driver Docker configuration file option !365
- Fix bug permission denied on ci build with external cache !347
- Fix entrypoint for alpine image !346
- Add windows vm checklist for virtualbox documentation !348
- Clarification around authentication with the Kubernetes executor !296
- Fix docker hanging for docker-engine 1.12.4 !415
- Use lib machine to fetch a list of docker-machines !418
- Cleanup docker cache clear script !388
- Allow the --limit option to control the number of jobs a single runner will run !369
- Store and send last_update value with API calls against GitLab !410
- Add graceful shutdown documentation !421
- Add Kubernete Node Selector !328
- Push prebuilt images to dockerhub !420
- Add path and share cache settings for S3 cache !423
- Remove unnecessary warning about using image with the same ID as provided !424
- Add a link where one can download the packages directly !292
- Kubernetes executor - use pre-build container !425

305 306 307
v 1.8.8
- Update Makefile (fix permissions on /usr/share/gitlab-runner/) !487

308 309 310 311 312 313
v 1.8.7
- Update packages targets !485

v 1.8.6
- Add ubuntu/yakkety to packages generation list !458

314 315 316
v 1.8.5
- Update Docker Machine in official Runner images to v0.9.0 !454

317 318 319
v 1.8.4
- Add armv6l to the ARM replacements list for docker executor helper image !446

320 321 322 323
v 1.8.3
- Fix package's scripts permissions !440
- Check if directory exists before recreating it with Windows CMD !435

324 325 326
v 1.8.2
- Handle Content-Type header with charset information !430

327 328 329 330
v 1.8.1
- Rrefactor the private container registry docs !392
- Make pull policies usage clear !393

Tomasz Maczukin's avatar
Tomasz Maczukin committed
331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346
v 1.8.0
- Fix {Bash,Cmd,Ps}Writer.IfCmd to escape its arguments !364
- Fix path to runners-ssh page !368
- Add initial Prometheus metrics server to runner manager !358
- Add a global index.md for docs !371
- Ensure that all builds are executed on tagged runners !374
- Fix broken documentation links !382
- Bug Fix: use a regex to pull out the service and version in the splitServiceAndVersion method !376
- Add FAQ entry about handling the service logon failure on Windows !385
- Fix "unit tests" random failures !370
- Use correct constant for kubernetes ressource limits. !367
- Unplug stalled endpoints !390
- Add PullPolicy config option for kubernetes !335
- Handle received 'failed' build state while patching the trace !366
- Add support for using private docker registries !386

347 348 349
v 1.7.5
- Update Docker Machine in official Runner images to v0.9.0 !454

350 351 352
v 1.7.4
- Add armv6l to the ARM replacements list for docker executor helper image !446

353 354 355 356
v 1.7.3
- Fix package's scripts permissions !440
- Check if directory exists before recreating it with Windows CMD !435

357 358 359
v 1.7.2
- Handle Content-Type header with charset information !430

360 361 362
v 1.7.1
- Fix {Bash,Cmd,Ps}Writer.IfCmd to escape its arguments !364

Tomasz Maczukin's avatar
Tomasz Maczukin committed
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388
v 1.7.0
- Improve description of --s3-bucket-location option !325
- Use Go 1.7 !323
- Add changelog entries generation script !322
- Add docker_images release step to CI pipeline !333
- Refactor shell executor tests !334
- Introduce GIT_STRATEGY=none !332
- Introduce a variable to enable shell tracing on bash, cmd.exe and powershell.exe !339
- Try to load the InCluster config first, if that fails load kubectl config !327
- Squash the "No TLS connection state" warning !343
- Add a benchmark for helpers.ShellEscape and optimise it !351
- Godep: update github.com/Sirupsen/logrus to v0.10.0 !344
- Use git clone --no-checkout and git checkout --force !341
- Change machine.machineDetails to machine.Details !353
- Make runner name lowercase to work with GCE restrictions !297
- Add per job before_script handling for exec command !355
- Add OffPeak support for autoscaling !345
- Prevent caching failures from marking a build as failed !359
- Add missed "server" command for minio in autoscaled S3 cache tutorial !361
- Add a section for Godep in CONTRIBUTING.md !302
- Add a link to all install documentation files describing how to obtain a registration token !362
- Improve registration behavior !356
- Add the release process description !176
- Fix documentation typo in docs/configuration/advanced-configuration.md !354
- Fix data races around runner health and build stats !352

389 390 391 392
v 1.6.1
- Add changelog entries generation script !322
- Add docker_images release step to CI pipeline !333

Tomasz Maczukin's avatar
Tomasz Maczukin committed
393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416
v 1.6.0
- Remove an unused method from the Docker executor !280
- Add note about certificate concatenation !278
- Restore 755 mode for gitlab-runner-service script !283
- Remove git-lfs from docker helper images !288
- Improve Kubernetes support !277
- docs: update troubleshooting section in development. !286
- Windows installation, added a precision on the install command (issue related #1265) !223
- Autodetect "/ci" in URL !289
- Defer removing failed containers until Cleanup() !281
- fix typo in tls-self-signed.md !294
- Improve CI tests !276
- Generate a BuildError when Docker/Kubernetes image is missing !295
- cmd.exe: Caret-escape parentheses when not inside double quotes !284
- Fixed some spelling/grammar mistakes. !291
- Update Go instructions in README !175
- Add APT pinning configuration for debian in installation docs !303
- Remove yaml v1 !307
- Add options to runner configuration to specify commands executed before code clone and build !106
- Add RC tag support and fix version discovering !312
- Pass all configured CA certificates to builds !299
- Use git-init templates (clone) and git config without --global (fetch) to disable recurseSubmodules !314
- Improve docker machine logging !234
- Add posibility to specify a list of volumes to inherit from another container !236
417
- Fix range mismatch handling error while patch tracing !319
Tomasz Maczukin's avatar
Tomasz Maczukin committed
418 419
- Add docker+machine and kubernetes executors to "I'm not sure" part of executors README.md !320
- Remove ./git/index.lock before fetching !316
Kamil Trzciński's avatar
Kamil Trzciński committed
420

421 422 423 424 425 426 427 428 429
v 1.5.3
- Fix Caret-escape parentheses when not inside double quotes for Windows cmd
- Remove LFS from prebuilt images

v 1.5.2
(no changes)

v 1.5.1
- Fix file mode of gitlab-runner-service script !283
Kamil Trzciński's avatar
Kamil Trzciński committed
430

Kamil Trzciński's avatar
Kamil Trzciński committed
431 432 433
v 1.5.0
- Update vendored toml !258
- Release armel instead arm for Debian packages !264
434
- Improve concurrency of docker+machine executor !254
Kamil Trzciński's avatar
Kamil Trzciński committed
435 436 437 438 439 440 441 442 443 444
- Use .xz for prebuilt docker images to reduce binary size and provisioning speed of Docker Engines !249
- Remove vendored test files !271
- Update gitlab-runner-service to return 1 when no Host or PORT is defined !253
- Log caching URL address
- Retry executor preparation to reduce system failures !244
- Fix missing entrypoint script in alpine Dockerfile !248
- Suppress all but the first warning of a given type when extracting a ZIP file !261
- Mount /builds folder to all services when used with Docker Executor !272
- Cache docker client instances to avoid a file descriptor leak !260
- Support bind mount of `/builds` folder !193
Tomasz Maczukin's avatar
Tomasz Maczukin committed
445

446 447 448 449
v 1.4.3
- Fix Caret-escape parentheses when not inside double quotes for Windows cmd
- Remove LFS from prebuilt images

450 451 452
v 1.4.2
- Fix abort mechanism when patching trace

453 454 455
v 1.4.1
- Fix panic while artifacts handling errors

Tomasz Maczukin's avatar
Tomasz Maczukin committed
456 457 458 459 460 461 462 463 464 465 466 467 468 469 470
v 1.4.0
- Add sentry support
- Add support for cloning VirtualBox VM snapshots as linked clones
- Add support for `security_opt` docker configuration parameter in docker executor
- Add first integration tests for executors
- Add many logging improvements (add more details to some logs, move some logs to Debug level, refactorize logger etc.)
- Make final build trace upload be done before cleanup
- Extend support for caching and artifacts to all executors
- Improve support for Docker Machine
- Improve build aborting
- Refactor common/version
- Use `environment` feature in `.gitlab-ci.yml` to track latest versions for Bleeding Edge and Stable
- Fix Absolute method for absolute path discovering for bash
- Fix zombie issues by using dumb-init instead of github.com/ramr/go-reaper

471 472 473
v 1.3.5
- Fix Caret-escape parentheses when not inside double quotes for Windows cmd

474 475 476
v 1.3.4
- Fix panic while artifacts handling errors

477 478 479
v 1.3.3
- Fix zombie issue by using dumb-init

480 481 482
v 1.3.2
- Fix architecture detection bug introduced in 1.3.1

Kamil Trzciński's avatar
Kamil Trzciński committed
483 484 485
v 1.3.1
- Detect architecture if not given by Docker Engine (versions before 1.9.0)

Tomasz Maczukin's avatar
Tomasz Maczukin committed
486
v 1.3.0
Tomasz Maczukin's avatar
Tomasz Maczukin committed
487
- Add incremental build trace update
Tomasz Maczukin's avatar
Tomasz Maczukin committed
488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503
- Add posibility to specify CpusetCpus, Dns and DnsSearch for docker containers created by runners
- Add a custom `User-Agent` header with version number and runtime information (go version, platform, os)
- Add artifacts expiration handling
- Add artifacts handling for failed builds
- Add customizable `check_interval` to set how often to check GitLab for a new builds
- Add docker Machine IP address logging
- Make Docker Executor ARM compatible
- Refactor script generation to make it fully on-demand
- Refactor runnsers Acquire method to improve performance
- Fix branch name setting at compile time
- Fix panic when generating log message if provision of node fails
- Fix docker host logging
- Prevent leaking of goroutines when aborting builds
- Restore valid version info in --help message
- [Experimental] Add `GIT_STRATEGY` handling - clone/fetch strategy configurable per job
- [Experimental] Add `GIT_DEPTH` handling - `--depth` parameter for `git fetch` and `git clone`
Tomasz Maczukin's avatar
Tomasz Maczukin committed
504 505

v 1.2.0
506
- Use Go 1.6
507
- Add `timeout` option for the `exec` command
Elan Ruusamäe's avatar
Elan Ruusamäe committed
508
- Add runtime platform information to debug log
509 510 511
- Add `docker-machine` binary to Runner's official docker images
- Add `build_current` target to Makefile - to build only a binary for used architecture
- Add support for `after_script`
Tomasz Maczukin's avatar
Tomasz Maczukin committed
512
- Extend version information when using `--version` flag
513 514 515 516 517 518
- Extend artifacts download/upload logs with more response data
- Extend unregister command to accept runner name
- Update shell detection mechanism
- Update the github.com/ayufan/golag-kardianos-service dependency
- Replace ANSI_BOLD_YELLOW with ANSI_YELLOW color for logging
- Reconcile VirtualBox status constants with VBoxManage output values
Tomasz Maczukin's avatar
Tomasz Maczukin committed
519
- Make checkout quiet
520
- Make variables to work at job level in exec mode
521 522
- Remove "user mode" warning when running in a system mode
- Create `gitlab-runner` user as a system account
Elan Ruusamäe's avatar
Elan Ruusamäe committed
523
- Properly create `/etc/gitlab-runner/certs` in Runner's official docker images
524 525 526 527 528 529 530
- Disable recursive submodule fetchin on fetching changes
- Fix nil casting issue on docker client creation
- Fix used build platforms for `gox`
- Fix a limit problems when trying to remove a non-existing machines
- Fix S3 caching issues
- Fix logging messages on artifacts dowloading
- Fix binary panic while using VirtualBox executor with no `vboxmanage` binary available
531

532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553
v 1.1.4
- Create /etc/gitlab-runner/certs
- Exclude architectures from GOX, rather then including
- Update mimio-go to a newest version
- Regression: Implement CancelRequest to fix S3 caching support
- Fix: Skip removal of machine that doesn't exist (autoscaling)

v 1.1.3
- Regression: On Linux use `sh -s /bin/bash user -c` instead of `sh user -c`. This fixes non-login for user.
- Regression: Fix user mode warning
- Fix: vet installation
- Fix: nil casting issue on docker client creation
- Fix: docker client download issue

v 1.1.2
- Regression: revert shell detection mechanism and limit it only to Docker

v 1.1.1
- Fix: use different shell detection mechanism
- Regression: support for `gitlab-runner exec`
- Regression: support for login/non-login shell for Bash

Kamil Trzciński's avatar
Kamil Trzciński committed
554 555 556 557 558 559 560 561 562 563 564 565
v 1.1.0
- Use Go 1.5
- Change license to MIT
- Add docker-machine based auto-scaling for docker executor
- Add support for external cache server
- Add support for `sh`, allowing to run builds on images without the `bash`
- Add support for passing the artifacts between stages
- Add `docker-pull-policy`, it removes the `docker-image-ttl`
- Add `docker-network-mode`
- Add `git` to gitlab-runner:alpine
- Add support for `CapAdd`, `CapDrop` and `Devices` by docker executor
- Add support for passing the name of artifacts archive (`artifacts:name`)
566
- Add support for running runner as system service on OSX
Kamil Trzciński's avatar
Kamil Trzciński committed
567 568 569 570 571 572 573 574
- Refactor: The build trace is now implemented by `network` module
- Refactor: Remove CGO dependency on Windows
- Fix: Create alternative aliases for docker services (uses `-`)
- Fix: VirtualBox port race condition
- Fix: Create cache for all builds, including tags
- Fix: Make the shell executor more verbose when the process cannot be started
- Fix: Pass gitlab-ci.yml variables to build container created by docker executor
- Fix: Don't restore cache if not defined in gitlab-ci.yml
575 576
- Fix: Always use `json-file` when starting docker containers
- Fix: Error level checking for Windows Batch and PowerShell
577

Kamil Trzciński's avatar
Kamil Trzciński committed
578 579 580
v 1.0.4
- Fix support for Windows PowerShell

Kamil Trzciński's avatar
Kamil Trzciński committed
581 582 583
v 1.0.3
- Fix support for Windows Batch
- Remove git index lock file: this solves problem with git checkout being terminated
Kamil Trzciński's avatar
Kamil Trzciński committed
584
- Hijack docker.Client to use keep-alives and to close extra connections
Kamil Trzciński's avatar
Kamil Trzciński committed
585

Kamil Trzciński's avatar
Kamil Trzciński committed
586 587 588 589 590 591
v 1.0.2
- Fix bad warning about not found untracked files
- Don't print error about existing file when restoring the cache
- When creating ZIP archive always use forward-slashes and don't permit encoding absolute paths
- Prefer to use `path` instead of `filepath` which is platform specific: solves the docker executor on Windows

592 593 594 595 596
v 1.0.1
- Use nice log formatting for command line tools
- Don't ask for services during registration (we prefer the .gitlab-ci.yml)
- Create all directories when extracting the file

Kamil Trzciński's avatar
Kamil Trzciński committed
597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618
v 1.0.0
- Add `gitlab-runner exec` command to easy running builds
- Add `gitlab-runner status` command to easy check the status of the service
- Add `gitlab-runner list` command to list all runners from config file
- Allow to specify `ImageTTL` for configuration the frequency of docker image re-pulling (see advanced-configuration)
- Inject TLS certificate chain for `git clone` in build container, the gitlab-runner SSL certificates are used
- Remove TLSSkipVerify since this is unsafe option
- Add go-reaper to make gitlab-runner to act as init 1 process fixing zombie issue when running docker container
- Create and send artifacts as zip files
- Add internal commands for creating and extracting archives without the system dependencies
- Add internal command for uploading artifacts without the system dependencies
- Use umask in docker build containers to fix running jobs as specific user
- Fix problem with `cache` paths never being archived
- Add support for [`cache:key`](http://doc.gitlab.com/ce/ci/yaml/README.html#cachekey)
- Add warnings about using runner in `user-mode`
- Push packages to all upcoming distributions (Debian/Ubuntu/Fedora)
- Rewrite the shell support adding all features to all shells (makes possible to use artifacts and caching on Windows)
- Complain about missing caching and artifacts on some executors
- Added VirtualBox executor
- Embed prebuilt docker build images in runner binary and load them if needed
- Make possible to cache absolute paths (unsafe on shell executor)

619
v 0.7.2
Daniel Widerin's avatar
Daniel Widerin committed
620
- Adjust `umask` for build image
621
- Use absolute path when executing archive command
622
- Fix regression when variables were not passed to service container
623
- Fix duplicate files in cache or artifacts archive
624

Kamil Trzciński's avatar
Kamil Trzciński committed
625 626 627 628
v 0.7.1
- Fix caching support
- Suppress tar verbose output

Kamil Trzciński's avatar
Kamil Trzciński committed
629
v 0.7.0
Kamil Trzciński's avatar
Kamil Trzciński committed
630 631
- Refactor code structure
- Refactor bash script adding pre-build and post-build steps
Kamil Trzciński's avatar
Kamil Trzciński committed
632
- Add support for build artifacts
633
- Add support for caching build directories
Kamil Trzciński's avatar
Kamil Trzciński committed
634
- Add command to generate archive with cached folders or artifacts
Kamil Trzciński's avatar
Kamil Trzciński committed
635
- Use separate containers to run pre-build (git cloning), build (user scripts) and post-build (uploading artifacts)
Kamil Trzciński's avatar
Kamil Trzciński committed
636 637 638 639 640 641 642
- Expand variables, allowing to use $CI_BUILD_TAG in image names, or in other variables
- Make shell executor to use absolute path for project dir
- Be strict about code formatting
- Move network related code to separate package
- Automatically load TLS certificates stored in /etc/gitlab-runner/certs/<hostname>.crt
- Allow to specify tls-ca-file during registration
- Allow to disable tls verification during registration
Kamil Trzciński's avatar
Kamil Trzciński committed
643

644 645 646 647 648
v 0.6.2
- Fix PowerShell support
- Make more descriptive pulling message
- Add version check to Makefile

649 650 651
v 0.6.1
- Revert: Fix tags handling when using git fetch: fetch all tags and prune the old ones

Kamil Trzciński's avatar
Kamil Trzciński committed
652
v 0.6.0
653
- Fetch docker auth from ~/.docker/config.json or ~/.dockercfg
654
- Added support for NTFSSecurity PowerShell module to address problems with long paths on Windows
655
- Make the service startup more readable in case of failure: print a nice warning message
Kamil Trzciński's avatar
Kamil Trzciński committed
656
- Command line interface for register and run-single accepts all possible config parameters now
Kamil Trzciński's avatar
Kamil Trzciński committed
657
- Ask about tags and fix prompt to point to gitlab.com/ci
Kamil Trzciński's avatar
Kamil Trzciński committed
658
- Pin to specific Docker API version
659
- Fix docker volume removal issue
660
- Add :latest to imageName if missing
Kamil Trzciński's avatar
Kamil Trzciński committed
661 662 663 664 665 666
- Pull docker images every minute
- Added support for SIGQUIT to allow to gracefully finish runner: runner will not accept new jobs, will stop once all current jobs are finished.
- Implicitly allow images added as services
- Evaluate script command in subcontext, making it to close stdin (this change since 0.5.x where the separate file was created)
- Pass container labels to docker
- Force to use go:1.4 for building packages
667
- Fix tags handling when using git fetch: fetch all tags and prune the old ones
Kamil Trzciński's avatar
Kamil Trzciński committed
668 669 670 671 672 673 674 675
- Remove docker socket from gitlab/gitlab-runner images
- Pull (update) images and services every minute
- Ignore options from Coordinator that are null
- Provide FreeBSD binary
- Use -ldflags for versioning
- Update go packages
- Fix segfault on service checker container
- WARNING: By default allow to override image and services
676

Kamil Trzciński's avatar
Kamil Trzciński committed
677 678 679
v 0.5.5
- Fix cache_dir handling

Kamil Trzciński's avatar
Kamil Trzciński committed
680 681 682
v 0.5.4
- Update go-dockerclient to fix problems with creating docker containers

Kamil Trzciński's avatar
Kamil Trzciński committed
683 684 685 686
v 0.5.3
- Pin to specific Docker API version
- Fix docker volume removal issue

Kamil Trzciński's avatar
Kamil Trzciński committed
687 688 689 690
v 0.5.2
- Fixed CentOS6 service script
- Fixed documentation
- Added development documentation
Kamil Trzciński's avatar
Kamil Trzciński committed
691
- Log service messages always to syslog
Kamil Trzciński's avatar
Kamil Trzciński committed
692

693 694 695
v 0.5.1
- Update link for Docker configuration

Kamil Trzciński's avatar
Kamil Trzciński committed
696
v 0.5.0
697
- Allow to override image and services for Docker executor from Coordinator
Kamil Trzciński's avatar
Kamil Trzciński committed
698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717
- Added support for additional options passed from coordinator
- Added support for receiving and defining allowed images and services from the Coordinator
- Rename gitlab_ci_multi_runner to gitlab-runner
- Don't require config file to exist in order to run runner
- Change where config file is stored: /etc/gitlab-runner/config.toml (*nix, root), ~/.gitlab-runner/config.toml (*nix, user)
- Create config on service install
- Require root to control service on Linux
- Require to specify user when installing service
- Run service as root, but impersonate as --user when executing shell scripts
- Migrate config.toml from user directory to /etc/gitlab-runner/
- Simplify service installation and upgrade
- Add --provides and --replaces to package builder
- Powershell: check exit code in writeCommandChecked
- Added installation tests
- Add runner alpine-based image
- Send executor features with RunnerInfo
- Verbose mode by using `echo` instead of `set -v`
- Colorize bash output
- Set environment variables from bash script: this fixes problem with su
- Don't cache Dockerfile VOLUMEs
718
- Pass (public) environment variables received from Coordinator to service containers
719

Kamil Trzciński's avatar
Kamil Trzciński committed
720 721 722 723 724
v 0.4.2
- Force GC cycle after processing build
- Use log-level set to info, but also make `Checking for builds: nothing` being print as debug
- Fix memory leak - don't track references to builds

Kamil Trzciński's avatar
Kamil Trzciński committed
725 726 727
v 0.4.1
- Fixed service reregistration for RedHat systems

Kamil Trzciński's avatar
Kamil Trzciński committed
728 729
v 0.4.0
- Added CI=true and GITLAB_CI=true to environment variables
730
- Added output_limit (in kilobytes) to runner config which allows to enlarge default build log size
731
- Added support for custom variables received from CI
732
- Added support for SSH identity file
733
- Optimize build path to make it shorter, more readable and allowing to fix shebang issue
Kamil Trzciński's avatar
Kamil Trzciński committed
734
- Make the debug log human readable
735
- Make default build log limit set to 4096 (4MB)
736
- Make default concurrent set to 1
737
- Make default limit for runner set to 1 during registration
Kamil Trzciński's avatar
Kamil Trzciński committed
738 739 740 741 742
- Updated kardianos service to fix OSX service installation
- Updated logrus to make console output readable on Windows
- Change default log level to warning
- Make selection of forward or back slashes dependent by shell not by system
- Prevent runner to be stealth if we reach the MaxTraceOutputSize
743
- Fixed Windows Batch script when builds are located on different drive
Kamil Trzciński's avatar
Kamil Trzciński committed
744 745 746
- Fixed Windows runner
- Fixed installation scripts path
- Fixed wrong architecture for i386 debian packages
747
- Fixed problem allowing commands to consume build script making the build to succeed even if not all commands were executed
Kamil Trzciński's avatar
Kamil Trzciński committed
748

749 750 751
v 0.3.4
- Create path before clone to fix Windows issue
- Added CI=true and GITLAB_CI=true
752
- Fixed wrong architecture for i386 debian packages
753 754 755 756

v 0.3.3
- Push package to ubuntu/vivid and ol/6 and ol/7

Kamil Trzciński's avatar
Kamil Trzciński committed
757 758 759
v 0.3.2
- Fixed Windows batch script generator

Kamil Trzciński's avatar
Kamil Trzciński committed
760 761 762 763
v 0.3.1
- Remove clean_environment (it was working only for shell scripts)
- Run bash with --login (fixes missing .profile environment)

764
v 0.3.0
765
- Added repo slug to build path
766
- Build path includes repository hostname
Kamil Trzciński's avatar
Kamil Trzciński committed
767
- Support TLS connection with Docker
768
- Default concurrent limit is set to number of CPUs
769
- Make most of the config options optional
770
- Rename setup/delete to register/unregister
771 772
- Checkout as detached HEAD (fixes compatibility with older git versions)
- Update documentation
Kamil Trzciński's avatar
Kamil Trzciński committed
773

Kamil Trzciński's avatar
Kamil Trzciński committed
774 775 776 777 778 779 780 781 782 783 784 785
v 0.2.0
- Added delete and verify commands
- Limit build trace size (1MB currently)
- Validate build log to contain only valid UTF-8 sequences
- Store build log in memory
- Integrate with ci.gitlab.com
- Make packages for ARM and CentOS 6 and provide beta version
- Store Docker cache in separate containers
- Support host-based volumes for Docker executor
- Don't send build trace if nothing changed
- Refactor build class

Kamil Trzciński's avatar
Kamil Trzciński committed
786 787 788
v 0.1.17
- Fixed high file descriptor usage that could lead to error: too many open files

789 790 791
v 0.1.16
- Fixed systemd service script

Kamil Trzciński's avatar
Kamil Trzciński committed
792 793 794
v 0.1.15
- Fix order of executor commands
- Fixed service creation options
795
- Fixed service installation on OSX
Kamil Trzciński's avatar
Kamil Trzciński committed
796

Kamil Trzciński's avatar
Kamil Trzciński committed
797 798 799 800
v 0.1.14
- Use custom kardianos/service with enhanced service scripts
- Remove all system specific packages and use universal for package manager

Kamil Trzciński's avatar
Kamil Trzciński committed
801 802 803
v 0.1.13
- Added abstraction over shells
- Moved all bash specific stuff to shells/bash.go
804 805 806
- Select default shell for OS (bash for Unix, batch for Windows)
- Added Windows Cmd support
- Added Windows PowerShell support
807
- Added the kardianos/service which allows to easily run gitlab-ci-multi-runner as service on different platforms
808 809
- Unregister Parallels VMs which are invalid
- Delete Parallels VM if it doesn't contain snapshots
Kamil Trzciński's avatar
Kamil Trzciński committed
810
- Fixed concurrency issue when assigning unique names
Kamil Trzciński's avatar
Kamil Trzciński committed
811

Kamil Trzciński's avatar
Kamil Trzciński committed
812 813 814 815 816 817 818
v 0.1.12
- Abort all jobs if interrupt or SIGTERM is received
- Runner now handles HUP and reloads config on-demand
- Refactored runner setup allowing to non-interactive configuration of all questioned parameters
- Added CI_PROJECT_DIR environment variable
- Make golint happy (in most cases)

Kamil Trzciński's avatar
Kamil Trzciński committed
819 820 821
v 0.1.11
- Package as .deb and .rpm and push it to packagecloud.io (for now)

822 823
v 0.1.10
- Wait for docker service to come up (Loïc Guitaut)
824
- Send build log as early as possible
825

Kamil Trzciński's avatar
Kamil Trzciński committed
826 827 828
v 0.1.9
- Fixed problem with resetting ruby environment

Kamil Trzciński's avatar
Kamil Trzciński committed
829 830 831 832 833 834 835
v 0.1.8
- Allow to use prefixed services
- Allow to run on Heroku
- Inherit environment variables by default for shell scripts
- Mute git messages during checkout
- Remove some unused internal messages from build log

Kamil Trzciński's avatar
Kamil Trzciński committed
836 837 838
v 0.1.7
- Fixed git checkout

839 840 841
v 0.1.6
- Remove Docker containers before starting job

842 843 844 845
v 0.1.5
- Added Parallels executor which can use snapshots for fast revert (only OSX supported)
- Refactored sources

846 847 848 849 850
v 0.1.4
- Remove Job and merge it into Build
- Introduce simple API server
- Ask for services during setup

Kamil Trzciński's avatar
Kamil Trzciński committed
851 852 853 854 855 856 857 858 859 860 861 862
v 0.1.3
- Optimize setup
- Optimize multi-runner setup - making it more concurrent
- Send description instead of hostname during registration
- Don't ask for tags

v 0.1.2
- Make it work on Windows

v 0.1.1
- Added Docker services

Kamil Trzciński's avatar
Kamil Trzciński committed
863 864
v 0.1.0
- Initial public release