Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.56 KB

File metadata and controls

39 lines (24 loc) · 1.56 KB

travis-enterprise-worker-installers

This is the installer for Travis CI Enterprise worker machines, running on Ubuntu 16.04 and later.

Hardware requirements

  • 8 CPU Cores
  • 16Gig RAM
  • At least 40GB HDD
  • Ubuntu 16.04

On AWS EC2 the c4.2xlarge and bigger are a good fit. Please note: You need to configure the harddisk capacity manually.

Usage

First, download the script:

$ curl -sSL -o /tmp/installer.sh https://raw.githubusercontent.com/travis-ci/travis-enterprise-worker-installers/master/installer.sh

Then, execute the installer:

$ sudo bash /tmp/installer.sh --travis_enterprise_host="<enterprise host>" --travis_enterprise_security_token="<rabbitmq password>"

This installs all necesary components, such as Docker and travis-worker. It also pulls down Trusty build images by default. If you're on Enterprise 2.1.x and this is the first time you're setting up a worker machine with Trusty build images, please enable this feature flag on your platform machine.

Xenial build environment (beta)

If you wish to use the Xenial build environment, please pass in the --travis_build_images=xenial flag during installation:

$ sudo bash /tmp/installer.sh --travis_enterprise_host="<enterprise host>" --travis_enterprise_security_token="<rabbitmq password>" --travis_build_images=xenial

This installs Xenial build images and also configures the queue to builds.xenial. Please note, that this requires Travis CI Enterprise 2.2.x or later.