Skip to content

Conversation

@moelsayed
Copy link
Contributor

@moelsayed moelsayed commented Jun 25, 2025

What this PR does / why we need it:
This PR migrates the repository to use Taskfiles for local development automation and centralizes GitHub Actions workflows. By adopting Taskfiles, contributors can benefit from standardized development, build, and test commands, making onboarding and collaboration easier. Centralizing GitHub Actions ensures that CI/CD workflows are consistent, maintainable, and easier to update across the project.

Which issue(s) this PR fixes:
Fixes #42

Special notes for your reviewer:

  • Please review the new Taskfile for completeness and usability.
  • Verify that the centralized GitHub Actions workflows cover all required CI/CD steps previously implemented.
  • Check for any redundant or deprecated workflow files that should be removed.

Release note:

- Migrated development scripts to Taskfiles for streamlined local automation.
- Centralized GitHub Actions workflows for improved CI/CD process consistency.

Copy link
Member

@maximiliantech maximiliantech left a comment

Choose a reason for hiding this comment

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

LGTM, could you please look at the comment below? My gut feeling is that we can delete the cmd/embedded/crds directory.

Copy link
Member

Choose a reason for hiding this comment

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

I can see that the CRDs will be generated in cmd/metrics-operator/embedded/crds but why do they get also generated in cmd/embedded/crds? Is that really needed? Could you please have a look?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are correct, I missed them while cleaning up!

@@ -0,0 +1 @@
../../cmd/metrics-operator/embedded/crds/ No newline at end of file
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We opted to symlink this instead of generating the files twice, this decision was made here.

Copy link
Member

@maximiliantech maximiliantech left a comment

Choose a reason for hiding this comment

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

Wonderful, thank you @moelsayed ❤️

@maximiliantech maximiliantech merged commit 78fdd92 into main Jun 27, 2025
5 checks passed
@maximiliantech maximiliantech deleted the use_tasks branch June 27, 2025 08:23
@maximiliantech maximiliantech changed the title chore: Migrate the repo to use taskfiles and centralized github actions. chore: Migrate the repo to use taskfiles and centralized github actions Jun 27, 2025
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.

Adopt build repository

2 participants