-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support both cachi2 and cachito #2130
Support both cachi2 and cachito #2130
Conversation
80680a9
to
dcf6ab4
Compare
0faf9eb
to
6d08687
Compare
ebe6512
to
06d20b1
Compare
06d20b1
to
bf3da2a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple tiny things, otherwise LGTM.
@@ -462,6 +462,7 @@ def __init__( | |||
plugin_files: Optional[List[str]] = None, | |||
keep_plugins_running: bool = False, | |||
platforms_result: Optional[str] = None, | |||
remote_sources_version_result: Optional[str] = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add docstring below?
tests/tasks/test_plugin_based.py
Outdated
@@ -208,7 +208,8 @@ def test_ensure_workflow_data_is_saved_init_task( | |||
pipeline_run_name='test-pipeline-run', | |||
user_params={}, | |||
task_result='results', | |||
platforms_result='platforms_result') | |||
platforms_result='platforms_result', | |||
remote_sources_version_result='version_result') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: trailing comma?
User/admin may specify which version of remote sources should be used (or used by default): - 1: Cachito (current default) - 2: Cachi2 Build pipeline will then use the right task based on condition using result from the init task. STONEBLD-2591 Signed-off-by: Martin Basti <mbasti@redhat.com>
Fixing issues reported by shellcheck via checkton. Signed-off-by: Martin Basti <mbasti@redhat.com>
Remove before merging into main Signed-off-by: Martin Basti <mbasti@redhat.com>
d329aea
to
341ef22
Compare
2b7138a
into
containerbuildsystem:feature_cachi2
Maintainers will complete the following section