Skip to content

ROF test with packtly backend#9

Merged
embtom merged 3 commits into
mainfrom
feature/packtly_backend
Jul 22, 2026
Merged

ROF test with packtly backend#9
embtom merged 3 commits into
mainfrom
feature/packtly_backend

Conversation

@embtom

@embtom embtom commented Jul 20, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Robot Framework integration suite that runs packtly-builder against a live Packtly (Aptly) backend started via podman-compose, including supporting keywords to provision the backend’s data volume, secrets, and repository publishing.

Changes:

  • Introduce a new Robot suite (debhello_aptly.robot) to build and upload the debhello-quilt package using a Packtly backend.
  • Add a dedicated podman-compose.yml to start the Packtly infra service with external volume/secrets and a named network.
  • Extend aptly.resource with keywords for Podman volume/secret management and Packtly repo bootstrap via podman-compose exec.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
test/robot/suites/podman-compose.yml New compose definition for running Packtly infra needed by the new Robot suite.
test/robot/suites/debhello_aptly.robot New Robot suite that provisions Packtly infra and runs an upload-enabled build.
test/robot/keywords/aptly.resource New/extended keywords to create volumes, manage secrets, and configure Packtly via podman-compose.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/robot/suites/podman-compose.yml Outdated
Comment thread test/robot/suites/debhello_aptly.robot Outdated
Comment thread test/robot/suites/debhello_aptly.robot Outdated
@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown
TestsPassed ✅SkippedFailedTime ⏱
JUnit Test Report86 ran86 passed0 skipped0 failed26s 911ms
TestResultTime ⏱
JUnit Test Report
pytest
test_apt.test_add_key_writes_gpg_file✅ passed39ms
test_apt.test_add_key_path_is_in_keyrings_dir✅ passed2ms
test_apt.test_add_key_file_is_not_armored✅ passed2ms
test_apt.test_add_key_binary_input_also_accepted✅ passed2ms
test_apt.test_add_repo_creates_sources_file✅ passed32ms
test_apt.test_add_repo_sources_file_has_correct_content✅ passed2ms
test_apt.test_add_repo_is_idempotent✅ passed61ms
test_apt.test_add_repo_without_keyring✅ passed31ms
test_apt.test_add_repo_components_as_list✅ passed30ms
test_apt.test_apt_cache_update_success✅ passed9ms
test_apt.test_apt_cache_update_failure✅ passed6ms
test_apt.test_install_dependencies_not_in_cache✅ passed4ms
test_apt.test_install_dependencies_success✅ passed5ms
test_apt.test_install_dependencies_commit_error✅ passed5ms
test_apt.test_install_dependencies_source_host[versions0-my-apt.example.com-True]✅ passed5ms
test_apt.test_install_dependencies_source_host[versions1-my-apt.example.com-False]✅ passed5ms
test_apt.test_install_dependencies_source_host[versions2-my-apt.example.com-True]✅ passed5ms
test_apt.test_package_exists_true_without_source_host✅ passed4ms
test_apt.test_upstream_package_exists_true_for_matching_host✅ passed4ms
test_apt.test_upstream_package_exists_false_for_non_matching_host✅ passed4ms
test_apt.test_dearmor_ascii_armored_key✅ passed3ms
test_apt.test_dearmor_invalid_base64✅ passed4ms
test_apt.test_parse_deb_file_missing_file✅ passed6ms
test_apt.test_parse_deb_file_success✅ passed5ms
test_apt.test_parse_deb_file_invalid✅ passed5ms
test_aptly.test_upload_marks_changed_when_new_package_added✅ passed3ms
test_aptly.test_upload_batches_add_after_all_files_uploaded✅ passed3ms
test_cli.test_resolve_aptly_credentials_from_test_file✅ passed2ms
test_cli.test_resolve_aptly_credentials_from_file✅ passed3ms
test_cli.test_resolve_aptly_credentials_ignores_comments✅ passed3ms
test_cli.test_resolve_aptly_credentials_requires_both_entries✅ passed3ms
test_cli.test_parse_args_accepts_credentials_file✅ passed3ms
test_cli.test_parse_args_force_upload_default_disabled✅ passed2ms
test_cli.test_parse_args_force_upload_enabled_when_flag_present✅ passed3ms
test_cmd.test_arg✅ passed2ms
test_deb_source.test_is_quilt_format_true✅ passed3ms
test_deb_source.test_is_quilt_format_native✅ passed3ms
test_deb_source.test_source_name_and_version✅ passed3ms
test_deb_source.test_orig_tarball_exists_ignores_asc✅ passed4ms
test_deb_source.test_remove_existing_orig✅ passed4ms
test_deb_source.test_branch_exists_local✅ passed45ms
test_deb_source.test_repo_none_for_non_git_tree✅ passed3ms
test_deb_source.test_repo_does_not_climb_to_parent✅ passed17ms
test_deb_source.test_reset_source_tree_cleans_untracked✅ passed47ms
test_deb_source.test_reset_source_tree_noop_when_native✅ passed37ms
test_deb_source.test_export_orig_invokes_gbp✅ passed40ms
test_debsign✅ passed15s 401ms
test_debuild.test_deb_control_file✅ passed3ms
test_debuild.test_build_debpackage✅ passed10s 733ms
test_debuild.test_deb_changes✅ passed3ms
test_debuild.test_deb_changes_files✅ passed3ms
test_debuild.test_deb_changes_name✅ passed3ms
test_debuild.test_deb_changes_version✅ passed3ms
test_debuild.test_deb_changes_arch✅ passed2ms
test_debuild.test_deb_changes_file_fallback_to_any_changes✅ passed4ms
test_debuild.test_deb_changes_file_prefers_newest_arch_match✅ passed14ms
test_debuild.test_install_build_dependencies_raises_when_mk_build_deps_missing✅ passed4ms
test_debuild.test_install_build_dependencies_builds_correct_command✅ passed4ms
test_debuild.test_install_build_dependencies_raises_on_nonzero_exit✅ passed4ms
test_gpg.test_create_gpg✅ passed7ms
test_gpg.test_list_keys✅ passed22ms
test_gpg.test_create_and_set_new_keyring✅ passed12ms
test_gpg.test_import_key✅ passed58ms
test_gpg.test_signing_key✅ passed47ms
test_logging.test_debug_logged✅ passed2ms
test_logging.test_info_logged✅ passed2ms
test_logging.test_warning_logged✅ passed2ms
test_logging.test_critical_logged✅ passed2ms
test_logging.test_max_level_filter_accepts_info✅ passed2ms
test_logging.test_max_level_filter_rejects_warning✅ passed2ms
test_logging.test_handler_wiring_uses_max_level_filter✅ passed2ms
test_logging.test_stream_routing_with_caplog✅ passed2ms
test_logging.test_debug_suppressed_at_info_verbosity✅ passed2ms
test_logging.test_debug_visible_at_debug_verbosity✅ passed2ms
test_logging.test_warning_suppressed_at_warning_verbosity✅ passed2ms
test_utils.test_run_subprocess_success✅ passed4ms
test_utils.test_run_subprocess_failure✅ passed4ms
test_utils.test_run_streamed_logs_output✅ passed5ms
test_utils.test_run_subprocess_writes_stdin✅ passed4ms
test_utils.test_run_subprocess_stream✅ passed5ms
test_utils.test_run_subprocess_capture✅ passed4ms
test_utils.test_run_subprocess_silent✅ passed4ms
test_utils.test_run_subprocess_stdin✅ passed5ms
test_utils.test_run_subprocess_empty_stdin_still_opens_pipe✅ passed4ms
test_utils.test_run_subprocess_handles_broken_pipe_and_raises_calledprocesserror✅ passed6ms
test_utils.test_run_subprocess_forwards_sigint_on_keyboardinterrupt✅ passed5ms

@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown

☂️ Code Coverage

current status: ✅

Overall Coverage

Statements Covered Coverage Threshold Status
1718 1380 80% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: f7cb5ae by action🐍

@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
11 0 0 11 100 1m9.984002s

Passed Tests

Name ⏱️ Duration Suite
Debhello Quilt Build 18.792 s Debhello Aptly
Packtly Infra Repository Is Accessible 24.766 s Debhello Aptly
Install Binary Package 1.758 s Debhello Aptly
Download Source Package 0.682 s Debhello Aptly
Debhello Quilt Build 15.922 s Debhello Quilt
Binary Packages Are Valid 0.543 s Debhello Quilt
Changes File Is Signed 0.202 s Debhello Quilt
Binary Package Is Installable 0.397 s Debhello Quilt
Source Package Is Valid 0.413 s Debhello Quilt
DSC File Is Signed 0.203 s Debhello Quilt
Source Package Is Installable 6.305 s Debhello Quilt

@embtom
embtom force-pushed the feature/packtly_backend branch from 487e018 to cec077f Compare July 20, 2026 18:11
@embtom
embtom force-pushed the feature/packtly_backend branch from cec077f to f7cb5ae Compare July 22, 2026 04:53
@embtom
embtom marked this pull request as ready for review July 22, 2026 04:54
@embtom
embtom merged commit 61a5742 into main Jul 22, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants