diff options
author | 2024-02-04 12:32:24 +0100 | |
---|---|---|
committer | 2024-02-04 12:32:24 +0100 | |
commit | 34ce6c4b4c8420b77870ef157c60984dc5ae46ce (patch) | |
tree | 44319f63c09eeb211e14be48e1b532c0c07466c4 | |
parent | Use flavor to set MAKEOPTS -j* (diff) | |
download | tinderbox-cluster-34ce6c4b4c8420b77870ef157c60984dc5ae46ce.tar.gz tinderbox-cluster-34ce6c4b4c8420b77870ef157c60984dc5ae46ce.tar.bz2 tinderbox-cluster-34ce6c4b4c8420b77870ef157c60984dc5ae46ce.zip |
Use project_data for profile link
Signed-off-by: Magnus Granberg <zorry@gentoo.org>
-rw-r--r-- | buildbot_gentoo_ci/steps/portage.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/buildbot_gentoo_ci/steps/portage.py b/buildbot_gentoo_ci/steps/portage.py index 775e076..f90da5a 100644 --- a/buildbot_gentoo_ci/steps/portage.py +++ b/buildbot_gentoo_ci/steps/portage.py @@ -92,12 +92,12 @@ class SetMakeProfile(BuildStep): portage_repos_path = self.getProperty('portage_repos_path') project_data = self.getProperty('project_data') profile_repository_data = yield self.gentooci.db.repositorys.getRepositoryByUuid(project_data['profile_repository_uuid']) - makeprofiles_paths = [] + #makeprofiles_paths = [] #NOTE: pkgcheck don't support make.profile as a dir # we only support one line in db - makeprofiles_data = yield self.gentooci.db.projects.getAllProjectPortageByUuidAndDirectory(project_data['uuid'], 'make.profile') - for makeprofile in makeprofiles_data: - makeprofile_path = yield os.path.join(portage_repos_path, profile_repository_data['name'], 'profiles', makeprofile['value'], '') + #makeprofiles_data = yield self.gentooci.db.projects.getAllProjectPortageByUuidAndDirectory(project_data['uuid'], 'make.profile') + #for makeprofile in makeprofiles_data: + makeprofile_path = yield os.path.join(portage_repos_path, profile_repository_data['name'], 'profiles', project_data['profile'], '') # makeprofiles_paths.append('../../..' + makeprofile_path) #separator = '\n' #makeprofile_path_string = separator.join(makeprofiles_paths) |