forked from sig_core/toolkit
Compare commits
No commits in common. "27c649c1410f1d145bebf62843d351f4648785e7" and "6128dd990a3f9ccc51610516f78a20c32b16d631" have entirely different histories.
27c649c141
...
6128dd990a
@ -568,7 +568,7 @@ class RepoSync:
|
|||||||
|
|
||||||
#print(entry_name_list)
|
#print(entry_name_list)
|
||||||
for pod in entry_name_list:
|
for pod in entry_name_list:
|
||||||
podman_cmd_entry = '{} run -d -it -v "{}:{}:z" -v "{}:{}:z" -v "{}:{}:z" --name {} --entrypoint {}/{} {}'.format(
|
podman_cmd_entry = '{} run -d -it -v "{}:{}" -v "{}:{}:z" -v "{}:{}" --name {} --entrypoint {}/{} {}'.format(
|
||||||
cmd,
|
cmd,
|
||||||
self.compose_root,
|
self.compose_root,
|
||||||
self.compose_root,
|
self.compose_root,
|
||||||
@ -669,10 +669,7 @@ class RepoSync:
|
|||||||
repoclosure_entry_name_list = []
|
repoclosure_entry_name_list = []
|
||||||
self.log.info('Setting up repoclosure for {}'.format(repo))
|
self.log.info('Setting up repoclosure for {}'.format(repo))
|
||||||
|
|
||||||
arches_for_repoclosure = self.arches
|
for arch in self.repoclosure_map['arches']:
|
||||||
if self.arch:
|
|
||||||
arches_for_repoclosure = self.arch.split(',')
|
|
||||||
for arch in arches_for_repoclosure:
|
|
||||||
repo_combination = []
|
repo_combination = []
|
||||||
repoclosure_entry_name = f'repoclosure-{repo}-{arch}'
|
repoclosure_entry_name = f'repoclosure-{repo}-{arch}'
|
||||||
repoclosure_entry_name_list.append(repoclosure_entry_name)
|
repoclosure_entry_name_list.append(repoclosure_entry_name)
|
||||||
@ -725,7 +722,7 @@ class RepoSync:
|
|||||||
|
|
||||||
self.log.info('Spawning pods for %s' % repo)
|
self.log.info('Spawning pods for %s' % repo)
|
||||||
for pod in repoclosure_entry_name_list:
|
for pod in repoclosure_entry_name_list:
|
||||||
podman_cmd_entry = '{} run -d -it -v "{}:{}:z" -v "{}:{}:z" -v "{}:{}:z" --name {} --entrypoint {}/{} {}'.format(
|
podman_cmd_entry = '{} run -d -it -v "{}:{}" -v "{}:{}:z" -v "{}:{}" --name {} --entrypoint {}/{} {}'.format(
|
||||||
cmd,
|
cmd,
|
||||||
self.compose_root,
|
self.compose_root,
|
||||||
self.compose_root,
|
self.compose_root,
|
||||||
@ -1521,7 +1518,7 @@ class RepoSync:
|
|||||||
|
|
||||||
self.log.info('Spawning pods for %s' % repo)
|
self.log.info('Spawning pods for %s' % repo)
|
||||||
for pod in repoclosure_entry_name_list:
|
for pod in repoclosure_entry_name_list:
|
||||||
podman_cmd_entry = '{} run -d -it -v "{}:{}:z" -v "{}:{}:z" -v "{}:{}:z" --name {} --entrypoint {}/{} {}'.format(
|
podman_cmd_entry = '{} run -d -it -v "{}:{}" -v "{}:{}:z" -v "{}:{}" --name {} --entrypoint {}/{} {}'.format(
|
||||||
cmd,
|
cmd,
|
||||||
self.compose_root,
|
self.compose_root,
|
||||||
self.compose_root,
|
self.compose_root,
|
||||||
@ -2057,7 +2054,7 @@ class SigRepoSync:
|
|||||||
|
|
||||||
#print(entry_name_list)
|
#print(entry_name_list)
|
||||||
for pod in entry_name_list:
|
for pod in entry_name_list:
|
||||||
podman_cmd_entry = '{} run -d -it -v "{}:{}:z" -v "{}:{}:z" -v "{}:{}:z" --name {} --entrypoint {}/{} {}'.format(
|
podman_cmd_entry = '{} run -d -it -v "{}:{}" -v "{}:{}:z" -v "{}:{}" --name {} --entrypoint {}/{} {}'.format(
|
||||||
cmd,
|
cmd,
|
||||||
self.compose_root,
|
self.compose_root,
|
||||||
self.compose_root,
|
self.compose_root,
|
||||||
|
@ -858,7 +858,6 @@ class IsoBuild:
|
|||||||
mock_iso_template_output = mock_iso_template.render(
|
mock_iso_template_output = mock_iso_template.render(
|
||||||
arch=self.current_arch,
|
arch=self.current_arch,
|
||||||
major=self.major_version,
|
major=self.major_version,
|
||||||
releasever=self.release,
|
|
||||||
fullname=self.fullname,
|
fullname=self.fullname,
|
||||||
shortname=self.shortname,
|
shortname=self.shortname,
|
||||||
required_pkgs=required_pkgs,
|
required_pkgs=required_pkgs,
|
||||||
@ -872,7 +871,6 @@ class IsoBuild:
|
|||||||
mock_sh_template_output = mock_sh_template.render(
|
mock_sh_template_output = mock_sh_template.render(
|
||||||
arch=self.current_arch,
|
arch=self.current_arch,
|
||||||
major=self.major_version,
|
major=self.major_version,
|
||||||
releasever=self.release,
|
|
||||||
isolation=self.mock_isolation,
|
isolation=self.mock_isolation,
|
||||||
builddir=self.mock_work_root,
|
builddir=self.mock_work_root,
|
||||||
shortname=self.shortname,
|
shortname=self.shortname,
|
||||||
|
@ -969,7 +969,6 @@ class Shared:
|
|||||||
for idx, candidate in enumerate(extra_repos):
|
for idx, candidate in enumerate(extra_repos):
|
||||||
if isinstance(candidate, dict):
|
if isinstance(candidate, dict):
|
||||||
url, priority = candidate['url'], candidate.get('priority', None)
|
url, priority = candidate['url'], candidate.get('priority', None)
|
||||||
else:
|
|
||||||
url, priority = candidate.split(',')
|
url, priority = candidate.split(',')
|
||||||
if not priority:
|
if not priority:
|
||||||
priority = 100
|
priority = 100
|
||||||
|
Loading…
Reference in New Issue
Block a user