Conversation
Having it optional makes it convenient to be used in other routines Signed-off-by: Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
|
My intent with this PR is to make the |
| repository: String, | ||
| #[clap(long)] | ||
| #[clap(long, required=false)] | ||
| arch: String, |
There was a problem hiding this comment.
If it's optional make it an Option
|
Please document what you're trying to achieve; I can't really judge this PR by itself without it ; "for our certain use case" is less then helpful :) |
| ("project", project.to_owned()), | ||
| ("package", package.to_owned()), | ||
| ("repository", repo.to_owned()), | ||
| ("arch", arch.to_owned()), |
There was a problem hiding this comment.
this doesn't actually work, a bunch of commands here do actually need --arch so the tests fail:
122 tests run: 26 passed, 96 failed, 0 skipped
There was a problem hiding this comment.
Thank you. I tried cargo test but the tests got hung for me.
... snipped ...
test upload::tests::test_create_list_package ... ok
test handler::tests::test_handler_flow::dput_test_4::build_success_1::log_test_3::download_binaries_1::prune_only_if_job_unsuccessful_2 ... FAILED
test retry::tests::test_retry_on_nested_non_client_errors ... ok
test retry::tests::test_retry_on_non_client_errors ... ok
test handler::tests::test_handler_flow::dput_test_4::build_success_1::log_test_1::download_binaries_1::prune_only_if_job_unsuccessful_1 ... FAILED
test handler::tests::test_handler_flow::dput_test_4::build_success_1::log_test_2::download_binaries_1::prune_only_if_job_unsuccessful_1 ... FAILED
test monitor::tests::test_fails_after_repeated_duplicate_endtimes ... FAILED
test monitor::tests::test_handles_old_build_status has been running for over 60 seconds
test prune::tests::test_prune has been running for over 60 seconds
test retry::tests::test_no_retry_on_client_errors has been running for over 60 seconds
test retry::tests::test_no_retry_on_nested_client_errors has been running for over 60 seconds
^C
So we have the use case where we have a Currently, the artifacts generated in the child pipeline aren't easily propagatable to the parent. Please see issue: https://gitlab.com/gitlab-org/gitlab/-/issues/285100#note_1610649891 So, right now, we do download the binaries via the So the above description is the problem statement. To overcome it:
|
So to have this, I was thinking of 2 things.
@refi64 Would this be the right approach to proceed with ? I need your guidance here 🙏🏽 |
Having it optional makes it convenient to be used in other routines
Signed-off-by: Ritesh Raj Sarraf ritesh.sarraf@collabora.com