Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions iib/workers/tasks/build_containerized_fbc_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def handle_containerized_fbc_operation_request(
from_index_resolved = prebuild_info['from_index_resolved']
binary_image_resolved = prebuild_info['binary_image_resolved']
arches = prebuild_info['arches']
distribution_scope = prebuild_info['distribution_scope']

index_to_gitlab_push_map = index_to_gitlab_push_map or {}
# Variables mr_details, last_commit_sha and original_index_db_digest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ def test_handle_containerized_fbc_operation_request_with_overwrite(
'binary_image_resolved': 'binary@sha256:123',
'from_index_resolved': 'index@sha256:456',
'ocp_version': 'v4.6',
'distribution_scope': 'prod',
}
mock_gri.return_value = 'fbc@sha256:789'
mock_ugri.return_value = 'fbc@sha256:789'
Expand Down Expand Up @@ -476,6 +477,7 @@ def test_handle_containerized_fbc_operation_request_failure(
'binary_image_resolved': 'binary@sha256:123',
'from_index_resolved': 'index@sha256:456',
'ocp_version': 'v4.6',
'distribution_scope': 'prod',
}
mock_gri.return_value = 'fbc@sha256:789'
mock_ugri.return_value = 'fbc@sha256:789'
Expand Down