
This commit brings back post-review image testing implemented using buildset registry to remove necessity of pushing not tested images to dockerhub. Flow on post-review: create buildset registy -> build images and push to buildset registry -> pause each upload job -> run deployment against built images -> upload images to dockerhub -> promote images. Current implementation does not use opendev-* parent jobs for both pre and post-review to avoid pushing images to intermediate registry to save up to 15 minutes on publishing. Change-Id: I272cdd1bfc77f4b76998f96cd16606bb9e04b8b8 Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
11 lines
312 B
YAML
11 lines
312 B
YAML
- name: Write buildset registry TLS certificate
|
|
become: true
|
|
copy:
|
|
content: "{{ buildset_registry.cert }}"
|
|
dest: "/usr/local/share/ca-certificates/zuul-jobs.buildset-registry.crt"
|
|
register: _tls_ca
|
|
- name: Update CA certs
|
|
command: update-ca-certificates
|
|
become: true
|
|
when: _tls_ca is changed
|