Skip to content

Add new buildstream image

Chandan Singh requested to merge chandan/bst-image into master
  • templates: Extract python dependencies into a variable
Instead of hard-coding the set of python dependencies, extract them into
a variable in the YAML file. This will allow us to specify a different
set of python dependencies in future.
  • templates: Allow base image to be specified via a variable
Instead of assuming that the name of the base image will always be the
same as the name of our image, allow it to be overidden by a variable.
This will allow us to use the same machinery for BuildStream images as
well, where we expect to use the same base image for many variants.
  • Makefile: Add target for smoke testing BuildStream
In the past, we used to have a smoke test step that ran `bst --version`
to ensure that at least the basic setup is correct. Bring it back in
form of a Make target `bst-smoke-test`. This will be useful to smoke
test the user-facing BuildStream image.
  • Add new buildstream image
This commit adds a new `buildstream/buildstream` image, all 9 variants
of it!

It utilizes the same `Dockerfile.j2` template and `render.py` machinery
that is used by the testsuite images. However, due to differences in
naming conventions etc, we use a separate YAML document to describe the
these images.
  • .gitlab-ci.yml: Build newly added BuildStream images
In the previous commit, we added 3x3 variants of the new BuildStream
image. Now, build all of them in GitLab CI.

At present, the `buildstream-fedora` image is left as-is, but that will
be removed later.

Partially solves #26 (closed).

Merge request reports