-
-
Notifications
You must be signed in to change notification settings - Fork 1
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: Added appset information to GitHub and GitLab PRs #190
Conversation
/code pr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤖
The PR adds useful metadata about pull requests/merge requests to both GitHub and GitLab ApplicationSet templates via the info
field. The changes look good overall and add valuable context that can be used for tracking and reference.
A minor enhancement suggestion for github-pr.yml
and gitlab-mr.yml
:
info:
- name: url # Add the PR/MR URL for quick reference
value: '{{ $dqf }}html_url{{ $dqb }}' # For GitHub
# value: '{{ $dqf }}web_url{{ $dqb }}' # For GitLab
Adding the PR/MR URL would make it easier to quickly navigate to the source of changes from the Argo CD UI.
> claude-3-5-sonnet-20241022 [pr | 0]
/code pr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤖
This PR looks good overall. It adds useful metadata to both GitHub PR and GitLab MR ApplicationSet templates. A few observations:
-
The version bump from 0.14.0 to 0.15.0 is appropriate given the new feature addition.
-
Good addition of the
info
section to both templates which includes:- Author
- Branch
- Target branch
- PR/MR number
-
The changes are consistently applied across both GitHub and GitLab templates, maintaining parity.
The only minor suggestion I would make:
# Consider renaming 'pull_request' to 'number' in GitLab template
# since GitLab uses 'merge request' terminology
- name: pull_request # Could be 'merge_request' instead
value: '{{ $dqf }}number{{ $dqb }}'
Otherwise, this is a clean enhancement that improves observability of PR/MR deployments in ArgoCD.
> claude-3-5-sonnet-20241022 [pr | 2]
3d03742
to
a95daed
Compare
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files |
/code pr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤖
Here's my review of the changes:
- ApplicationSet Info Addition (Patch 1/2):
- Good addition of info fields to both GitHub PR and GitLab MR templates
- The changes are symmetrical and well-structured
- Minor suggestion: Consider adding a comment explaining what these info fields are used for
- Chart Version Update:
- Appropriate version bump from 0.14.0 to 0.15.0
- Clear changelog entry describing the changes
- CI Changes (Patch 2/2):
- Good: Added necessary permissions for dependency review workflow
- ✨ Nice upgrade of kubectl and node versions to 1.30.4
- Both kubectl and node versions are now aligned properly
The changes look solid overall. Just ensure you've tested the new info fields with both GitHub and GitLab to verify the variable substitution works as expected.
Files changed look appropriate and changes are focused. No major issues found.
> claude-3-5-sonnet-20241022 [pr | 2]
What this PR does / why we need it:
Types of changes
Which issue/s this PR fixes
How Has This Been Tested?
Checklist: