]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
skip internal check_packages and buildpackages_prep for redhat config 1489/head
authorrakeshgm <rakeshgm@redhat.com>
Fri, 22 May 2020 15:08:42 +0000 (20:38 +0530)
committerrakeshgm <rakeshgm@redhat.com>
Fri, 22 May 2020 17:41:28 +0000 (23:11 +0530)
Signed-off-by: rakeshgm <rakeshgm@redhat.com>
teuthology/run.py

index 3476b8069dc43c758da307d6774b4a1123db9d1c..dbcad1279a694f5e23faa526139c9366dd0c9076 100644 (file)
@@ -170,7 +170,7 @@ def get_initial_tasks(lock, config, machine_type):
     overrides = config.get('overrides')
     having_repos = ('install' in config and 'repos' in config.get('install')) \
         or (overrides and 'install' in overrides and 'repos' in overrides.get('install'))
-    if not having_repos:
+    if not ('redhat' in config or having_repos):
         init_tasks += [
             {'internal.check_packages': None},
             {'internal.buildpackages_prep': None},