Remove tripleo packages from repoclosure exception

In order to find out dependencies resolution conflict with in
a repo, repoclosure is added.
Initially we added tripleo packages to exception list as it
was failing earlier as we were not checking it properly.

delorean-tripleo-component comes from delrean.repo and release
file also layout delorean-current repo with including packages
which overrides the packages config leading to packages conflicts.

As both the repos are same, initially we disable all repos and
enable all delorean repos but we need to disable only delorean
current repo to avoid overriding due to include packages in the
end.

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I55ede9aa7741b0fa3604c97bd42c43a22f1d1fe3
This commit is contained in:
Chandan Kumar (raukadah) 2021-05-03 21:40:38 +05:30 committed by Wes Hayutin
parent 7184a20d9a
commit e8e22ec5fe
2 changed files with 4 additions and 6 deletions

View File

@ -26,10 +26,6 @@ repoclosure_exclude_pkgs:
- python3-tempest
- openstack-tempest
- python3-tempestconf
- openstack-tripleo-common
- openstack-tripleo-common-devtools
- openstack-tripleo-heat-templates
- python3-tripleoclient
- ksc
- awscli
- ansible-tripleo-powerflex
@ -41,6 +37,7 @@ repoclosure_exclude_pkgs:
repoclosure_exclude_repos:
- advanced-virtualization
- centos-opstools
- quickstart-centos-base
- quickstart-centos-opstools
- centos-rabbitmq-38
- delorean-master-testing
@ -49,3 +46,4 @@ repoclosure_exclude_repos:
- quickstart-centos-powertools
- centos-nfv-ovs
- delorean-master-build-deps
- delorean-current

View File

@ -22,8 +22,8 @@ echo "*********************** repo: {{ repo_name }} *****************"
dnf repoclosure --newest --check {{ repo_name }} --disablerepo '*' \
{{ repoclosure_include_repos|join(' ') }} \
--excludepkgs {{ repoclosure_exclude_pkgs|join(',') }}
--excludepkgs {{ repoclosure_exclude_pkgs|join(',') }} \
--disablerepo 'delorean-current'
if [ "$?" -ne 0 ]; then
EXIT_CODE=1
fi