Commit ab853cf5 authored by Luis Araujo's avatar Luis Araujo

Add target source packages for modules tests

This commit adds an inline test definition in the modules tests job to
add the source packages for the target repository.

Most of the modules tests require to fetch source packages and such a
repository is not available by default in the images.
Signed-off-by: Luis Araujo's avatarLuis Araujo <luis.araujo@collabora.co.uk>
parent 557208ec
{% include 'group-modules-standalone-tpl.yaml' %}
- test:
timeout:
minutes: 5
namespace: system
name: modules-tests
definitions:
- repository:
metadata:
name: add-target-sources
description: "Enable source packages for target"
run:
steps:
- grep target /etc/apt/sources.list | sed 's/^deb /deb-src /' > /etc/apt/sources.list.d/target-sources.list
from: inline
path: inline/add-target-sources.yaml
name: add-target-sources
- test:
timeout:
minutes: 180
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment