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

Extend exclude with php and dependencies settings #184

Merged
merged 17 commits into from
May 5, 2024

Conversation

boesing
Copy link
Member

@boesing boesing commented Feb 8, 2023

Q A
Documentation yes
New Feature yes

Description

This introduces the ability to exclude specific jobs for specific PHP and/or composer dependency sets.
Fixes #93

@boesing boesing added this to the 1.23.0 milestone Feb 8, 2023
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
@boesing boesing force-pushed the feature/exclude-php-and-dependencies branch from ef05689 to e0d6d97 Compare February 8, 2023 16:22
@Ocramius
Copy link
Member

@internalsystemerror is the CI failure related to what you fixed in #190 ?

@internalsystemerror
Copy link
Member

I believe you mean @gsteel although I see it losing the "before_script" from the matrix output for some reason.

I did some similar changes in #167 and #166 but upon reviewing those, I don't think they would affect this either.

@internalsystemerror
Copy link
Member

It looks like the only issue here is that it's no longer adding the xmllint checks in the matrix output whilst that is expected. Given the only recent change is #190, I suspect the top change (the one I commented on) needs reverting and adding multiline: true is all that's required.

@boesing boesing force-pushed the feature/exclude-php-and-dependencies branch from e0d6d97 to 183a40c Compare February 23, 2023 21:54
Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@boesing merge at your discretion after checking my last question 👍

We can also tag a new minor, before going to a new major with #189

README.md Show resolved Hide resolved
@boesing boesing removed this from the 1.23.0 milestone Feb 24, 2023
@Ocramius
Copy link
Member

Ocramius commented Mar 3, 2023

@boesing @internalsystemerror should I rebase and release this to 1.23.x, if green?

@boesing
Copy link
Member Author

boesing commented Mar 3, 2023

It is not properly working yet, please ignore this for any release. I'll handle this once I find some time to work on this. There is no pressure on this topic and no high need (at least for me) as of now 👍🏼

@Ocramius
Copy link
Member

Ocramius commented Mar 3, 2023

Ok, just beware that it will go into 2.1.x, probably.

boesing added 5 commits May 5, 2024 15:45
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
This fixes the problem that the job name does not match for tools due to the fact that the name already contains the human-readable name containing the version and dependencies string.

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
@boesing boesing force-pushed the feature/exclude-php-and-dependencies branch from ecfd879 to 5c3b655 Compare May 5, 2024 13:45
boesing added 3 commits May 5, 2024 15:57
The exclusion strategy, when it was introduced, was meant to handle exact job names. By having the new feature of excluding tool names as well, we should still support the fill job.name as well so that we can still properly exclude jobs based on the initial exclusion strategy.

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
…iguration`

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
With one of the newer versions of the matrix action, `test.env` files were introduced and thus have to be added to the new test cases as well.

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
boesing added 7 commits May 5, 2024 16:20
This allows us to reference to that definition which eases the usage in several parts of the configuration. Having the list of supported PHP versions maintained in more than one location may become annoying and thus this changes makes a lot of sense.

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
This was introduced in a more recent matrix version and thus was missing the expected matrix from the initial version of this feature.

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
… from `.laminas-ci.json` reflects proper PHP version

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Stable PHP should represent an actual PHP version and thus `lowest` and `latest` or even wildcard references make no sense.

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
… `php` enum values

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
… match, not `all`

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
…d `php` specific enum strings

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
@boesing boesing force-pushed the feature/exclude-php-and-dependencies branch from 4bad2af to 7f557d2 Compare May 5, 2024 17:45
boesing added 2 commits May 5, 2024 19:46
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
Due to the fact that there is no `composer.lock` file available, the matrix will not generate any `locked` jobs.

Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
@boesing boesing merged commit 5c34e3c into laminas:1.26.x May 5, 2024
45 checks passed
@boesing boesing deleted the feature/exclude-php-and-dependencies branch May 5, 2024 18:04
@boesing boesing added this to the 1.26.0 milestone May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow php and dependency in exclude along with name reflecting the tools/checks name
4 participants