-
Notifications
You must be signed in to change notification settings - Fork 57
feat: add missing execute_on_delegate option for artifactory connector #1293
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: add missing execute_on_delegate option for artifactory connector #1293
Conversation
Signed-off-by: Andrés MANELLI <[email protected]>
internal/service/cd_nextgen/connector/artifactRepositories/artifactory.go
Outdated
Show resolved
Hide resolved
Signed-off-by: Andrés MANELLI <[email protected]>
Signed-off-by: Andrés MANELLI <[email protected]>
@ritek01 I updated to the latest harness-sdk-go after the merge of harness/harness-go-sdk#684 |
Signed-off-by: Andrés MANELLI <[email protected]>
Hey @andresmanelli , could you use the official release version of |
Signed-off-by: Andrés MANELLI <[email protected]>
@ritek01 done! |
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.
Pull Request Overview
This PR adds support for the execute_on_delegate
configuration option to the Artifactory connector in Terraform, addressing a missing feature where users couldn't control delegation behavior.
Key changes:
- Added
execute_on_delegate
schema field with boolean type and default value offalse
- Implemented parsing and setting of the
execute_on_delegate
option in build and read functions - Updated the harness-go-sdk dependency to version 0.5.14 to support the new field
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
File | Description |
---|---|
internal/service/cd_nextgen/connector/artifactRepositories/artifactory.go | Added execute_on_delegate schema field and implementation for build/read operations |
go.mod | Updated harness-go-sdk dependency to v0.5.14 to support the new execute_on_delegate field |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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.
LGTM ✅
Title: [Artifactory Connector] Add missing execute_on_delegate option
Summary:
The default value created for the connector is
true
and this is not always wanted.Details:
Parsing of the
execute_on_delegate
options was added. I used the docker connector as reference.This PR should be merged for this to work.
Related Issues:
This is the same as #1114 but for Artifactory.
PR Check triggers
trigger build
trigger subcategoryfieldcheck
trigger gitleaks