Releases: travis-ci/worker
Releases · travis-ci/worker
2.10.0 - 2017-07-12
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
Changed
- cli: assign singular job queue if only one built
Fixed
- multi-source-job-queue:
- ensure each invocation of
Jobs
creates newJob
channels - break on context done to prevent goroutine leakage
- ensure each invocation of
2.9.2 - 2017-06-16
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
Fixed
- ssh: set host key callback on ssh client config
2.9.0 - 2017-06-07
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
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
Fixed
- backend/docker: ensure parsed tmpfs mount mapping does not include empty keys
2.8.0 - 2017-04-12
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
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 tobash /home/travis/build.sh
- backend/gce: make it configurable whether to give a booted instance a "public" IP with
BACKEND_GCE_PUBLIC_IP
, defaults totrue
- backend/gce: make it configurable whether to connect to an instance's "public" IP with
BACKEND_GCE_PUBLIC_IP_CONNECT
, defaults totrue
- 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 tobash /home/travis/build.sh
, reverting the change made in 2.6.0
2.6.2 - 2017-01-31
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