7 Commits

Author SHA1 Message Date
William Douglas 5ddfb0d0b7 Use mixer-ci from ghcr.io
Signed-off-by: William Douglas <william.douglas@intel.com>
2025-01-06 15:03:08 -08:00
Reagan Lopez c983a6ea8f CI: Replace Travis with GitHub Actions
Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2020-04-06 04:06:32 -07:00
Rodrigo Chiossi 632a414e80 travis: Parallelize bat tests
This PR breaks bat tests into individual test runs within travis
infrastructure. This is a workaround the current test failures on travis
due to infrastructure limitations and allow us to reset a single test in
the case of a failure.

This patch also disables create-mix-bump-version-add-remove-bundles test
since it is unable to complete in travis infra.

Signed-off-by: Rodrigo Chiossi <rodrigo.chiossi@intel.com>
2019-10-22 19:44:16 +02:00
Kevin C. Wells 60a7cc0b0b Add batcheck back in to Travis
Now that the Travis CI builds are significantly faster, we can add back
in the BATS tests.

Signed-off-by: Kevin C. Wells <kevin.c.wells@intel.com>
2018-04-12 16:54:02 -07:00
Kevin C. Wells da537f8de3 Update Travis to use clearlinux/mixer-ci
This patch updates the Travis Dockerfile to build off the new
clearlinux/mixer-ci image.

Previously, the Dockerfile built off the base clearlinux:latest image,
which meant it spent quite some time (~7 min) just building the Docker
image (swup bundl-add'ing the packages it needed) before it could build
and test mixer. This patch eliminates nearly all of that time, as the
Docker build only needs to download an image and copy the mixer files
over before the mixer build and tests can begin.

Signed-off-by: Kevin C. Wells <kevin.c.wells@intel.com>
2018-04-12 16:54:02 -07:00
Matthew Johnson b75733a1e4 Travis: add workaround to failing clrtrust
In the current clearlinux:latest docker image clrtrust generate is
broken due to /var/lock not existing. To workaround this so our CI isn't
constantly failing mkdir -p this directory. This will not break future
fixes to clrtrust, but the maintainer will alert us when this workaround
can be removed.

Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
2018-03-07 11:39:34 -08:00
Tudor Marcu 0a87d8cb91 Add BAT tests for mixer command-line testing
These tests should be reporting on the structure and correctness of mixer
and its user interface. Due to them running very slowly on the Travis CI
environment, they are not run by default, but can be run locally with
make batcheck.

This patch also introduces a docker container to do the build, so we do not
have to worry about running this in different environments such as Travis
CI. The tests are thus confined to a strict, well-known workspace,
and we can avoid many dependency problems.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2018-02-16 16:06:36 -08:00