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

Fix parsing pipelines what use a string as the skip key in a matrix adjustment #2407

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

moskyb
Copy link
Contributor

@moskyb moskyb commented Oct 3, 2023

Also, demote SoftFail on matrix adjustments to being a RemainingField, as it's unused by the agent

@moskyb moskyb requested review from DrJosh9000 and triarius October 3, 2023 02:12
Copy link
Contributor

@triarius triarius left a comment

Choose a reason for hiding this comment

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

I've assumed ShouldSkip should have the same logic as what removes adjustments from the jobs array in the backend. I don't think it currently does.

internal/pipeline/step_command_matrix.go Outdated Show resolved Hide resolved
internal/pipeline/steps.go Outdated Show resolved Hide resolved
internal/pipeline/step_command_matrix.go Outdated Show resolved Hide resolved
…djustment

Also, demote SoftFail on matrix adjustments to being a RemainingField, as it's unused by the agent
Copy link
Contributor

@triarius triarius left a comment

Choose a reason for hiding this comment

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

LGTM!

@moskyb moskyb merged commit 8faa01f into main Oct 3, 2023
@moskyb moskyb deleted the fix-string-skips branch October 3, 2023 05:05
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