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

Fix make clobber, and have CI check that it works #4238

Merged
merged 10 commits into from
May 20, 2022
Merged

Conversation

LukeShu
Copy link
Contributor

@LukeShu LukeShu commented May 19, 2022

Description

It isn't fixed if CI isn't checking it!

Also, a hack to py-list-deps to get it to work with newer setuptools, since my laptop has newer setuptools.

Related Issues

List related issues.

Testing

I had CI check that make clobber removes things after each and every CI job.

It's possible that I made a mistake with one of the CI jobs that doesn't run on PRs.

Checklist

  • I made sure to update CHANGELOG.md. - no applicable changes

    Remember, the CHANGELOG needs to mention:

    • Any new features
    • Any changes to our included version of Envoy
    • Any non-backward-compatible changes
    • Any deprecations
  • This is unlikely to impact how Ambassador performs at scale. - not a runtime change

    Remember, things that might have an impact at scale include:

    • Any significant changes in memory use that might require adjusting the memory limits
    • Any significant changes in CPU use that might require adjusting the CPU limits
    • Anything that might change how many replicas users should use
    • Changes that impact data-plane latency/scalability
  • My change is adequately tested.

    Remember when considering testing:

    • Your change needs to be specifically covered by tests.
      • Tests need to cover all the states where your change is relevant: for example, if you add a behavior that can be enabled or disabled, you'll need tests that cover the enabled case and tests that cover the disabled case. It's not sufficient just to test with the behavior enabled.
    • You also need to make sure that the entire area being changed has adequate test coverage.
      • If existing tests don't actually cover the entire area being changed, add tests.
      • This applies even for aspects of the area that you're not changing – check the test coverage, and improve it if needed!
    • We should lean on the bulk of code being covered by unit tests, but...
    • ... an end-to-end test should cover the integration points
  • I updated DEVELOPING.md with any any special dev tricks I had to use to work on this code efficiently. - no tricks

  • The changes in this PR have been reviewed for security concerns and adherence to security best practices.

@LukeShu LukeShu mentioned this pull request May 19, 2022
5 tasks
@LukeShu LukeShu force-pushed the lukeshu/clobber branch 4 times, most recently from caf2237 to fc9e910 Compare May 19, 2022 09:11
LukeShu added 2 commits May 19, 2022 11:11
 - Rename `actions/collect-testing-logs` -> `actions/collect-logs`
 - Rename the `name` arg to `jobname`
 - Revise the description

Signed-off-by: Luke Shumaker <[email protected]>
This was causing problems for me on my laptop.

Signed-off-by: Luke Shumaker <[email protected]>
@LukeShu LukeShu force-pushed the lukeshu/clobber branch from fc9e910 to 0133a62 Compare May 19, 2022 09:34
LukeShu added 3 commits May 19, 2022 16:42
Avoid writing repetitive rules for simple files.

Signed-off-by: Luke Shumaker <[email protected]>
@LukeShu LukeShu force-pushed the lukeshu/clobber branch 4 times, most recently from b37c5c4 to ebe8068 Compare May 19, 2022 15:17
Copy link
Member

@kflynn kflynn left a comment

Choose a reason for hiding this comment

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

Looking like a very nice cleanup so far! Shall we add

maintainer-clean: clobber

in there somewhere?

build-aux/docs/intro.md Outdated Show resolved Hide resolved
.github/workflows/promote-ga.yml Outdated Show resolved Hide resolved
.github/actions/after-job/action.yml Outdated Show resolved Hide resolved
build-aux/generate.mk Show resolved Hide resolved
build-aux/main.mk Outdated Show resolved Hide resolved
build-aux/main.mk Show resolved Hide resolved
@LukeShu LukeShu force-pushed the lukeshu/clobber branch from ebe8068 to ab502dc Compare May 19, 2022 21:50
@LukeShu LukeShu force-pushed the lukeshu/clobber branch 2 times, most recently from 70a6602 to 4a52ea9 Compare May 19, 2022 22:39
@LukeShu LukeShu force-pushed the lukeshu/clobber branch 3 times, most recently from 2d18a67 to 670dee0 Compare May 20, 2022 09:40
LukeShu added 2 commits May 20, 2022 11:40
… in CI [ci-skip]

This is marked [ci-skip] because (as this PR reveals) `make clobber`
is currently broken.

Signed-off-by: Luke Shumaker <[email protected]>
Get it to actually clean up all the things that it should.

Signed-off-by: Luke Shumaker <[email protected]>
@LukeShu LukeShu marked this pull request as ready for review May 20, 2022 10:21
Copy link
Member

@kflynn kflynn left a comment

Choose a reason for hiding this comment

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

Hit it! 🙂 Looking forward to this making life easier.

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.

3 participants