We are happy to announce that Ubuntu Jammy Jellyfish 22.04 images are ready for a wider audience. Here are some tips to get you started quickly and save valuable time.
To run builds on Jammy, add the following to your .travis.yml
:
dist: jammy
Here is a summary of what’s installed by default in our Jammy Jellyfish images:
CouchDB and MongoDB are not available yet. You can find the specific versions of what’s pre-installed in the Jammy Jellyfish reference docs. As a reminder: since Xenial, we have disabled most of the services to start automatically. We observed that starting all third-party services compromised booting time. You can always include any particular service you need to run in your config file or otherwise enjoy a speedy environment. If you need to start a service like MySQL or Redis, just add the following reference to your .travis.yml
:
services:
- mysql
- redis
Third-party apt
repositories are also removed. It also ensures a faster apt-get
update process. However, if your build relies on third-party repositories, you can always add them to your build config under the addons .apt key. For example, to update the Redis-server using PPA, add ppa:chris-lea/redis-server
to apt-get redis-tools
and redis-server
as follows:
addons:
apt:
sources:
- sourceline: 'ppa:chris-lea/redis-server'
packages:
- redis-tools
- redis-server
If you are running an Enterprise installation and interested to see how you can use the Jammy Jellyfish images in your setup, please reach out to enterprise@travis-ci.com. To get in contact with us, email us your feedback.
Happy building!