Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New GitHub Releaser Resource: A new
GitHubReleaser
resource has been defined inapi/v1alpha1/releaser.go
, indicating functionality for automated GitHub releases based on specific conditions such as new commits to a repository.Releaser Implementation: A new package
pkg/github/releaser.go
implements the logic for the GitHub Releaser functionality, including creating new GitHub releases and generating release notes automatically.Create a
RepoConfig
andGitHubReleaser
object to release hydrosGitHub App Configuration Removal: Changes in
api/v1alpha1/repo.go
remove theGitHubAppConfig
from theRepoSpec
, simplifying the configuration by focusing on repository URLs and glob patterns for file matching instead.Improved Test Configuration: Modifications to the Makefile introduce the use of a
GITHUB_ACTIONS
environment variable during tests to presumably alter behavior when tests are run in GitHub Actions CI/CD environments.Expanded Project Description: The README.md file has been significantly updated to provide a more detailed introduction to Hydros, outlining its declarative approach to continuous delivery, and providing examples of how to use the tool. It also highlights the shift from the project being specifically tailored to Primer's workflow to a more generalized tool that could be beneficial to a broader audience.
Detailed Documentation Updates: Several documentation files, including
continuous_delivery.md
andsetup.md
, have been updated or added to provide in-depth guidance on setting up and using Hydros for continuous delivery, emphasizing its declarative nature and flexibility.GitHub Releaser Test: A test case for the Releaser logic has been added to
pkg/github/releaser_test.go
, ensuring the functionality behaves as expected under specific conditions.Refined Repo Controller: The
RepoController
logic withinpkg/gitops/repocontroller.go
and its test inrepocontroller_test.go
have been adjusted to accommodate the changes introduced, particularly the removal of GitHub app-specific configuration in favor of a more generalized approach.