diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2022-03-11 13:56:40 +0000 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2022-05-11 13:22:21 +0100 |
commit | b3e65580ce7b78871976b91c07a4b195b2c5985d (patch) | |
tree | 5f93486697782dfbf1beb4c0b3390fc195cfd0b1 /setup.py | |
parent | 09c27ce0d90634ae8629cffbb6616a58cbc1f771 (diff) | |
download | libvirt-ci-b3e65580ce7b78871976b91c07a4b195b2c5985d.zip libvirt-ci-b3e65580ce7b78871976b91c07a4b195b2c5985d.tar.gz libvirt-ci-b3e65580ce7b78871976b91c07a4b195b2c5985d.tar.bz2 |
lcitool/manifest: split gitlab container template jobs into separate file
Currently ci/gitlab.yml contains all the generated build logic.
It is desired to be able to only rebuild containers when either their
dockerfile changes, or the gitlab build logic changes. While we could
write a rule matching ci/gitlab.yml that will trigger redundant
container rebuilds when simply changing the set of targets, or
build jobs.
This change splits the container template jobs into a separate file
called 'ci/gitlab/container-templates.yml'
With this split it is possible to declare:
rules:
- changes:
ci/gitlab/container-templates.yml
ci/containers/$NAME.Dockerfile
to optimize exactly when a specific container is rebuilt.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions