Skip to content
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

Add regression tests for workdir propagation, fix long-standing bug with propagation across referenced pipelines #681

Merged
merged 2 commits into from
Sep 15, 2023

Conversation

kaniini
Copy link
Contributor

@kaniini kaniini commented Sep 15, 2023

A melange pipeline can reference other pipelines with the uses statement, e.g.

pipeline:
  - uses: foo

However, a long standing bug has existed where the pipeline settings did not necessarily propagate downstream. This bug recently became exposed by refactoring of the pipeline code to perform downward propagation at configuration load time rather than runtime.

We also add regression tests for various forms of downward propagation in the config struct.

Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
This should not have worked previously, but for whatever reason it did.

Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
@kaniini kaniini requested a review from a team as a code owner September 15, 2023 19:12
@kaniini kaniini requested review from luhring and removed request for a team September 15, 2023 19:12
@Elizafox Elizafox self-requested a review September 15, 2023 19:16
@Elizafox
Copy link
Contributor

LGTM.

@kaniini kaniini merged commit 2cb115e into main Sep 15, 2023
@kaniini kaniini deleted the feature/pc-workdir-regression-test branch September 15, 2023 19:35
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