Skip to content

Releases: travis-ci/worker

2.10.0 - 2017-07-12

13 Jul 00:35
Compare
Choose a tag to compare

Added

  • cli: optional local-only HTTP API listening on same port as pprof
  • http-job-queue: include capacity in each request

Changed

  • http-job-queue: fetch full jobs in series for smoother HTTP traffic

Fixed

  • http-job-queue: check for context cancellation every loop

2.9.3 - 2017-06-27

27 Jun 03:34
Compare
Choose a tag to compare

Changed

  • cli: assign singular job queue if only one built

Fixed

  • multi-source-job-queue:
    • ensure each invocation of Jobs creates new Job channels
    • break on context done to prevent goroutine leakage

2.9.2 - 2017-06-16

16 Jun 04:04
Compare
Choose a tag to compare

Added

  • http-job: retry with backoff to job completion request
  • http-job-queue: retry with backoff to full job fetch request

Fixed

  • http: ensure all response bodies are closed to prevent file descriptor leakage

2.9.1 - 2016-06-09

10 Jun 02:02
Compare
Choose a tag to compare

Fixed

  • ssh: set host key callback on ssh client config

2.9.0 - 2017-06-07

07 Jun 13:45
Compare
Choose a tag to compare

Added

  • multi-source-job-queue: funnels arbitrary other job queues into a single source
  • "self" field in various log records for correlation
  • config: initial sleep duration prior to beginning job execution
  • backend/docker: optional API-based image selection

Changed

  • amqp-log-writer, http-log-writer: check context done to prevent goroutine leakage
  • http-job-queue:
    • reuse cached build job channel if present
    • check context done to prevent goroutine leakage
    • attach context to all HTTP requests
    • more debug logging
  • step-write-worker-info: report the job type (amqp/http/file) in instance line
  • processor: check for cancellation in between various steps
  • build: support and build using Go 1.8.3

Fixed

  • http-log-writer: flush buffer regularly in the background

2.8.2 - 2017-05-17

17 May 02:45
Compare
Choose a tag to compare

Changed

  • vagrant: general refresh for development purposes

Fixed

  • amqp-job: ensure finished_at timestamp is included with state event when available

2.8.1 - 2017-05-11

11 May 22:04
Compare
Choose a tag to compare

Fixed

  • backend/docker: ensure parsed tmpfs mount mapping does not include empty keys

2.8.0 - 2017-04-12

12 Apr 19:04
Compare
Choose a tag to compare

Added

  • amqp-job: include a state message counter in messages sent to hub
  • backend/docker: mount a tmpfs as /run and make it executable, fixing travis-ci/travis-ci#7062
  • backend/docker: support configurable SHM size, default to 64 MiB
  • build-script-generator: include job ID in requests parameters to travis-build
  • metrics: add a metric for when a job is finished, without including state name
  • sentry: send the current version string to Sentry when reporting errors

Changed

  • amqp-job: send all known timestamps to hub on each state update, including queued-at
  • build: support and build using Go 1.8.1

Fixed

  • amqp-canceller: fix error occurring if a job was requeued on the same worker before the previous instance had completely finished, causing cancellations to break
  • amqp-job: fix a panic that could occur during shutdown due to an AMQP connection issue
  • ssh: update the SSH library, pulling in the fix for golang/go#18861

2.7.0 - 2017-02-08

08 Feb 12:27
Compare
Choose a tag to compare

Added

  • backend: add "SSH dial timeout" to all backends, with a default of 5 seconds, configurable with SSH_DIAL_TIMEOUT backend setting
  • backend/docker: make the command to run the build script configurable with BACKEND_DOCKER_EXEC_CMD env var, default to bash /home/travis/build.sh
  • backend/gce: make it configurable whether to give a booted instance a "public" IP with BACKEND_GCE_PUBLIC_IP, defaults to true
  • backend/gce: make it configurable whether to connect to an instance's "public" IP with BACKEND_GCE_PUBLIC_IP_CONNECT, defaults to true
  • log when a job is finished, including its "finishing state" (passed, failed, errored, etc.)
  • log when a job is requeued

Changed

  • backend/docker: change default command run in Docker native mode from bash -l /home/travis/build.sh back to bash /home/travis/build.sh, reverting the change made in 2.6.0

2.6.2 - 2017-01-31

31 Jan 13:00
Compare
Choose a tag to compare

Security

  • backend/gce: remove service account from booted instances

Added

  • HTTP queue type, including implementations of JobQueue, Job, and
    LogWriter

Changed

  • build_script_generator: accepts Job instead of *simplejson.Json

Fixed

  • log_writer: pass timeout on creation and start timer on first write