Always build images in component jobs
This review sets the to_build variable to be true if the 'component' var is defined - which is true when running jobs from the component pipeline. Change-Id: Ia60b56847cc31e65841c9033efb780ee5ee3ddfb
This commit is contained in:
parent
d8cc7a8ed7
commit
60698f0eb2
@ -29,8 +29,8 @@
|
||||
cacheable: true
|
||||
when: projects_need_build != []
|
||||
|
||||
- name: Always build images in the periodic jobs
|
||||
- name: Always build images in the periodic and component jobs
|
||||
set_fact:
|
||||
to_build: true
|
||||
cacheable: true
|
||||
when: lookup('env', 'PERIODIC')|default('0')|int == 1
|
||||
when: lookup('env', 'PERIODIC')|default('0')|int == 1 or job.component is defined
|
||||
|
Loading…
x
Reference in New Issue
Block a user