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

PMM-7 Remove redundant ci-default.yml #3774

Open
wants to merge 1 commit into
base: v3
Choose a base branch
from

Conversation

ademidoff
Copy link
Member

@ademidoff ademidoff commented Nov 19, 2024

https://jira.percona.com/browse/PMM-7

Problem
We are managing two similar data structures: one in .gitmodules and one in ci-default.yml. The second one is currently being used by ci.py, which combines it with the config overrides located in ci.yml. It turns out, we can still achieve the goal without ci-default.yml, since the Python script can read as well from the .gitmodules config file.

Solution
Get rid of ci-default.yml, which contains the same data as .gitmodules.

This PR does that and it also refactors the code of ci.py.

@ademidoff ademidoff marked this pull request as ready for review November 19, 2024 07:24
@JNKPercona
Copy link
Collaborator

API tests have failed: https://pmm.cd.percona.com/job/pmm3-api-tests/1501/

@@ -42,8 +44,17 @@ def read_config_override(self):
return yaml.load(f, Loader=yaml.FullLoader)

def read_config(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

read_submodules?

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.

4 participants