Break up the build into two stages, performing basic tests with poky and isar on the two kas container types before uploading them. The tests consist of building zlib-native with poky and cowsay for x86 bullseye with Isar. Note that the ordering "build kas", "test kas", "push kas", "build kas-isar" is important because "build kas-isar" will not use the locally built and imported kas:next image and rather pull the previous one from the registry. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
42 lines
1.4 KiB
YAML
42 lines
1.4 KiB
YAML
#
|
|
# kas - setup tool for bitbake based projects
|
|
#
|
|
# Copyright (c) Siemens AG, 2022
|
|
#
|
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
# of this software and associated documentation files (the "Software"), to deal
|
|
# in the Software without restriction, including without limitation the rights
|
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
# copies of the Software, and to permit persons to whom the Software is
|
|
# furnished to do so, subject to the following conditions:
|
|
#
|
|
# The above copyright notice and this permission notice shall be
|
|
# included in all copies or substantial portions of the Software.
|
|
#
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
# SOFTWARE.
|
|
#
|
|
|
|
header:
|
|
version: 11
|
|
|
|
build_system: isar
|
|
|
|
machine: qemuamd64
|
|
distro: debian-bullseye
|
|
|
|
target: mc:qemuamd64-bullseye:cowsay
|
|
|
|
repos:
|
|
isar:
|
|
url: https://github.com/ilbers/isar.git
|
|
refspec: 74036ebaab5265d62cdf90f563acd5b4d3b8b6d2
|
|
layers:
|
|
meta:
|
|
meta-isar:
|