Example of using Docker with Solano CI Universal Workers
system: docker: truelines enable Docker for the build. It must also be enabled for your Solano CI organization. Please contact firstname.lastname@example.org if needed.
script:value in a build profile instructs the Universal Worker which file should be executed for the test.
environment:section is used to specify environment variables that will be used when executing tests.
- Since Universal Workers do not include our standard worker's library
of services, daemons, languages, etc., they need to be installed on either
the Universal Worker or in the build. This example includes installing
mysql-clientin the build.
- Daemons that are needed in the build should be started in the build,
as the build environment is separate from the Universal Worker's host
environment. This example includes starting a
docker daemonwith a specific storage driver, graph directory, and logging path.