[Fuego] [PATCH] Fuego Release Test Repository

Gustavo Sverzut Barbieri barbieri at profusion.mobi
Sat Feb 17 14:24:20 UTC 2018

On Fri, Feb 16, 2018 at 7:42 PM, Guilherme Campos Camargo
<guicc at profusion.mobi> wrote:
> Also, it's important to note that this patch represents a sort of
> paradigm shift in the way that tests are added to Fuego, given that:
> - The software requirements are being installed through a Dockerfile
>   that extends fuego-base.
> - The test routines/plans and the new boards are moved to Fuego during
>   build time, acting almost as an "overlay".
> For that reason, it's imperative that current users/contributors provide
> their feedback regarding this new approach before we move on. Also,
> since I just started contributing with and using fuego, it's likely that
> I missed something, specially related to Fuego usability. So please,
> kindly add your comments and correct me if so.

Tim, I discussed this with Guilherme and we'll formalize a proposal
around the spec.json file, something along the lines:

1) test specify the debian repositories, packages and even gpg/keys
(for repos). Instead of always adding the packages to the container,
either by modifying the official docker image (as done before) or
creating an overlay (as done by Guilherme), Fuego would make sure the
repositories are added and packages are added prior to executing the

JSON object would look like:

   "packages-dependencies": {
       "repositories": ["deb https://download.docker.com/linux/debian jessie"],
       "keys": ["https://download.docker.com/linux/debian/gpg"],
       "packages": ["docker-ce", "libxpto-dev"],

Which would manage /etc/apt/sources.d/fuego.conf + apt-get install

2) in addition to the test scenarios variables that are pre-defined,
allow user to redefined/override those when executing the test using
the command line. For example fuego-release-test (fuego-rt) would
default to test official repository with the branch "next", but one
could override to test a private repo with a custom branch.

This would solve the need to "patch" the correct value at entrypoint.sh:

   sed -i "s/FUEGOTEST_REPO/${test_repo_escaped}/"
   ftc add-jobs -b fuego-test -t Functional.fuegotest

With something like:

   ftc add-jobs -b fuego-test -t Functional.fuegotest -v

Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
MSN, GTalk, FaceTime: barbieri at gmail.com
Skype: gsbarbieri
Mobile: +55 (16) 99354-9890gpg

More information about the Fuego mailing list