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

Add generate-all make target #2122

Merged
merged 3 commits into from
Jun 20, 2024
Merged

Conversation

lucacome
Copy link
Member

@lucacome lucacome commented Jun 11, 2024

Proposed changes

Problem: We have a lot of generated files now and we might forget to run some targets.

Solution: Add generate-all target that calls all the other generate targets. Use this new target in the CI check and in the release PR to make sure everything is up to date.

Closes #2117

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

Release notes

If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.

NONE

@lucacome lucacome requested a review from a team as a code owner June 11, 2024 00:22
@github-actions github-actions bot added the chore Pull requests for routine tasks label Jun 11, 2024
@ciarams87
Copy link
Member

@lucacome can we also update the instructions here to use the new target?

Copy link
Contributor

@salonichf5 salonichf5 left a comment

Choose a reason for hiding this comment

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

lgtm

Problem: We have a lot of generated files now and we might forget to run some targets.

Soluton: Add generate-all target that calls all the other generate targets.
Use this new target in the CI check and in the release PR to make sure everything
is up to date.
@lucacome lucacome requested a review from a team as a code owner June 20, 2024 08:22
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jun 20, 2024
@lucacome lucacome requested a review from ciarams87 June 20, 2024 09:53
@lucacome lucacome enabled auto-merge (squash) June 20, 2024 13:12
@lucacome lucacome merged commit df5893b into nginxinc:main Jun 20, 2024
41 checks passed
@lucacome lucacome deleted the chore/add-generate-all branch June 20, 2024 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for routine tasks documentation Improvements or additions to documentation
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Run make helm-docs on release PR
4 participants