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

Use CDT's container to run all code cleanliness checks #845

Merged

Conversation

jonahgraham
Copy link
Member

This aims to avoid a repeat of what needed fixing in #843 by ensuring all code cleanliness checks are run with GitHub actions.

We need a new docker container for GitHub that runs as the
same uid that GitHub actions uses so permissions all work
correctly.
@jonahgraham
Copy link
Member Author

The big difference is that we are using CDT's own docker containers pulled from quay.io - same as what we do in the Jenkinsfile. We haven't had rate limiting problems doing this for Jenkins on Eclipse Foundation machines, but I don't know if we can run afoul of quay.io rate limiting running like this. If we do, I guess we can roll back this change (just the .github/workflows/code-cleanliness.yml part), or even conditionally run the new version only if natives change (see with.filters in .github/workflows/build-test.yml for an example of how to conditionally do it)

@jonahgraham jonahgraham added the releng Release engineering and project management label Jun 24, 2024
@jonahgraham jonahgraham merged commit c9fa638 into eclipse-cdt:main Jun 24, 2024
5 checks passed
@jonahgraham jonahgraham deleted the use-cdt-docker-for-code-cleanliness branch June 24, 2024 00:34
@jonahgraham
Copy link
Member Author

💚 All backports created successfully

Status Branch Result
cdt_11_6

Questions ?

Please refer to the Backport tool documentation

1 similar comment
@jonahgraham
Copy link
Member Author

💚 All backports created successfully

Status Branch Result
cdt_11_6

Questions ?

Please refer to the Backport tool documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
releng Release engineering and project management
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant