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

feat(ci): automatic make generate #3911

Merged
merged 2 commits into from
Dec 15, 2022
Merged

feat(ci): automatic make generate #3911

merged 2 commits into from
Dec 15, 2022

Conversation

squakez
Copy link
Contributor

@squakez squakez commented Dec 15, 2022

With this PR we let the github actions to run every night a make generate and have it therefore a fresh version of the autogenerated resources. Additionally we have now the Changelog updated in all release branches as well. The new automatic-updates task can be appendend with any further task if required eventually.

Closes #3868

Release Note

feat(ci): automatic make generate 

* run `make generate` every night to refresh automatically the autogenerated resources
* ignore resource.go

Closes apache#3868
@squakez squakez merged commit 12326ac into apache:main Dec 15, 2022
@squakez
Copy link
Contributor Author

squakez commented Dec 15, 2022

🤞 for tonight...

@@ -168,3 +168,4 @@ config/**/*.gen.yaml
config/**/*.gen.json

*-installer*
pkg/resources/resources.go
Copy link
Member

@tadayosi tadayosi Dec 16, 2022

Choose a reason for hiding this comment

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

@squakez
Btw, simply adding this to .gitignore doesn't ignore future changes to this file. To completely eliminate it from repo, we need to git rm pkg/resources/resources.go as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

True. I will fix it, thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've made the change in ae815dd, however, since then, the validate is failing. Maybe it required the presence of such a resource to be executed correctly. I'll revert the change to see what happens.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I confirm, the commit in #3920 will fix that. It seems it is required, so, I will work to regenerate that.

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.

Automatically make generate every night
3 participants