Allow dlrn builds from both deploy release and upgrade release
DLRN with --local and --dev options uses whatever already checked
out source and distgit[1]. So in order to get packages build for
multiple releases like in upgrade jobs we need to prepare both
source(git clean and git checkout) and distgit(remove it so
DLRN fetches it based on config).
Also use release var to compute what change to build when it's
defined, when not defined use zuul override-checkout or branch.
Additionally add non-cached fact artg_change_list_prep to compute
the changes list as using artg_change_list causes inclusion of
changes from previous run.
Reviewed: https:/ /review. opendev. org/c/openstack /tripleo- quickstart- extras/ +/826284 /opendev. org/openstack/ tripleo- quickstart- extras/ commit/ f07c71809d88208 02478ebe8854c78 e4c147d051
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit f07c71809d88208 02478ebe8854c78 e4c147d051
Author: yatinkarel <email address hidden>
Date: Tue Jan 25 18:40:11 2022 +0530
Allow dlrn builds from both deploy release and upgrade release
DLRN with --local and --dev options uses whatever already checked
out source and distgit[1]. So in order to get packages build for
multiple releases like in upgrade jobs we need to prepare both
source(git clean and git checkout) and distgit(remove it so
DLRN fetches it based on config).
Also use release var to compute what change to build when it's list_prep to compute
defined, when not defined use zuul override-checkout or branch.
Additionally add non-cached fact artg_change_
the changes list as using artg_change_list causes inclusion of
changes from previous run.
[1] https:/ /github. com/softwarefac tory-project/ DLRN/issues/ 39
Co-authored-by: Bogdan Dobrelya <email address hidden>
Closes-Bug: #1958995 c728a51cf667a8f b394fe87893
Change-Id: I1495128dc3087b