Skip to content

Commit d688966

Browse files
Fix excluded packages retrieval from git repository (#206)
Fixes: AlmaLinux/build-system#445
1 parent 6d89c20 commit d688966

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

build_node/build_node_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
DEFAULT_JWT_TOKEN = 'test_jwt'
3131
DEFAULT_CACHE_UPDATE_INTERVAL = 600
3232
DEFAULT_EXCLUSIONS_URL = (
33-
'https://git.almalinux.org/almalinux/build-node-exclusions/raw/branch/main'
33+
'https://git.almalinux.org/almalinux/build-node-exclusions/raw/branch/main/'
3434
)
3535
DEFAULT_CACHE_SIZE = 1
3636

build_node/build_node_supervisor.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,13 @@ def get_excluded_packages(self):
103103
except Exception:
104104
logging.exception('Cannot get excluded packages')
105105
return []
106-
return self.__cached_config.get('excluded_packages', [])
106+
107+
excluded_packages = self.__cached_config.get(
108+
'excluded_packages', []
109+
)
110+
logging.debug('Excluded packages in this node: %s', excluded_packages)
111+
return excluded_packages
112+
107113

108114
def run(self):
109115
self.__generate_request_session()

0 commit comments

Comments
 (0)