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

mergify: Change docker-images check more explicit #581

Merged
merged 1 commit into from Jan 19, 2022

Conversation

mmlb
Copy link
Contributor

@mmlb mmlb commented Jan 19, 2022

Description

Add one explicit check-success condition for each of the docker-image actions.

Why is this needed

The previous check was never matching because mergify was not being given the name of the matrix job, it is only given the realized name for each matrix instance.

We also need to spell each matrix permuation we care about instead of check-success~=docker-image because mergify will happily merge once the first image build succeeds, it has not way to know it needs to wait for all of them.

How Has This Been Tested?

Verified to be valid using mergify config editor

@ScottGarman ScottGarman self-requested a review January 19, 2022 16:15
ScottGarman
ScottGarman previously approved these changes Jan 19, 2022
The previous check was never matching because mergify was not being given the
name of the matrix job, it is only given the realized name for each matrix
instance. We also need to spell each matrix permuation we care about instead of
`check-success~=docker-image` because mergify will happily merge once the first
image build succeeds, it has not way to know it needs to wait for all of them.

Signed-off-by: Manuel Mendez <mmendez@equinix.com>
@mmlb
Copy link
Contributor Author

mmlb commented Jan 19, 2022

Rebased on top of main after #582 was merged, PTAL again @ScottGarman

@codecov
Copy link

codecov bot commented Jan 19, 2022

Codecov Report

Merging #581 (862c727) into main (96cbe60) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #581   +/-   ##
=======================================
  Coverage   36.01%   36.01%           
=======================================
  Files          44       44           
  Lines        3207     3207           
=======================================
  Hits         1155     1155           
  Misses       1959     1959           
  Partials       93       93           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 96cbe60...862c727. Read the comment docs.

@mmlb mmlb added the ready-to-merge Signal to Mergify to merge the PR. label Jan 19, 2022
@mmlb mmlb merged commit bb45990 into tinkerbell:main Jan 19, 2022
@mmlb mmlb deleted the fix-mergify-docker-images-check branch January 19, 2022 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge Signal to Mergify to merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants