Skip to content
Snippets Groups Projects
Roman Azarenko's avatar
Roman Azarenko authored
code-analysis: Factor out package versions into Docker build arguments, replace default-jre -> default-jre-headless

Package versions are now factored out as arguments, so that they can even be automatically updated from
iopsys/iopsyswrt by a pipeline.

default-jre has been replaced by default-jre-headless, since this image is designed to run in a container without UI,
so there's no need to pull in graphical dependencies, saving around 300 MB in compressed form:

	REPOSITORY                                                   TAG        IMAGE ID       CREATED          SIZE
	dev.iopsys.eu:5050/iopsys/gitlab-ci-pipeline/code-analysis   iop-8847   aaf075c8e753   23 minutes ago   2.25GB

	REPOSITORY             TAG       IMAGE ID       CREATED        SIZE
	iopsys/code-analysis   latest    ffaa1c3094dc   7 months ago   2.55GB
aaba21cd
History

gitlab-ci-pipeline

Shared pipelines for CI. Different types of testing that is done in the CI pipeline:

  • Unit testing is defined as testing individual modules of an application in isolation (without any interaction with dependencies) to verify that the code is doing things right
  • Integration testing is defined as checking if different modules are working fine when combined together as a group
  • Functional testing is defined as testing a slice of functionality in the system (may interact with dependencies) to verify that the code is doing the right things

The tests mentioned above should not be hardware dependent, it should be possible to execute the tests in a single Docker container.