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

refactor: detect more dependency changes #5072

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

gilbertsoft
Copy link
Member

@gilbertsoft gilbertsoft commented Jul 4, 2023

The Issue

We like to detect dependency changes in the CI to properly label PRs changing dependencies. The required Docker Compose version is currently located in the global config and is not taken into account

How This PR Solves The Issue

This PR moves the Docker Compose version to the version constants. To avoid import cycles the functions from version constants are moved to a new package docker/images.

Changes in the version constants are now properly label with dependencies.

Manual Testing Instructions

Automated Testing Overview

Related Issue Link(s)

Release/Deployment Notes

@gilbertsoft gilbertsoft requested a review from a team as a code owner July 4, 2023 09:43
@github-actions
Copy link

github-actions bot commented Jul 4, 2023

@gilbertsoft gilbertsoft changed the title ci: detect more dependency changes refactor: detect more dependency changes Jul 4, 2023
Copy link
Member

@rfay rfay left a comment

Choose a reason for hiding this comment

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

This refactor works for me; looks like it's trying two different things though, changing the labeler and doing the refactor of Get*Image(). Would probably be better to do those separately, but seems ok.

@gilbertsoft
Copy link
Member Author

This refactor works for me; looks like it's trying two different things though, changing the labeler and doing the refactor of Get*Image(). Would probably be better to do those separately, but seems ok.

Yes, that's why I have renamed it finally to refactor. But topic is anyway the same.

@rfay rfay merged commit 3fc1ef8 into ddev:master Jul 4, 2023
21 checks passed
@rfay rfay deleted the ci/detect-more-dep-changes branch July 4, 2023 18:07
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.

None yet

2 participants