feat(workflows): introduce Artifacts BE-12919 (#2740)

This commit is contained in:
andres-portainer
2026-05-26 16:17:32 -03:00
committed by GitHub
parent 7164146626
commit ab4626e7de
32 changed files with 1433 additions and 271 deletions
@@ -25,7 +25,6 @@ type GitAuthenticationPayload struct {
type GitSourceCreatePayload struct {
Name string `json:"name"`
URL string `json:"url"`
ReferenceName string `json:"referenceName"`
TLSSkipVerify bool `json:"tlsSkipVerify"`
Authentication *GitAuthenticationPayload `json:"authentication"`
ClearAuthentication bool `json:"clearAuthentication"`
@@ -44,7 +43,6 @@ func (payload *GitSourceCreatePayload) Validate(_ *http.Request) error {
func BuildGitSource(payload GitSourceCreatePayload) *portainer.Source {
gitConfig := &gittypes.RepoConfig{
URL: payload.URL,
ReferenceName: payload.ReferenceName,
TLSSkipVerify: payload.TLSSkipVerify,
}