You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifpubKeys, ok:=sshkeys.DomainToPublicKeys[gitRepoDomain]; ok { // Check in our hardcoded set of keys and their ~/.ssh/known_hosts file.
knownHosts=strings.Join(pubKeys, "\n")
} elseifpubKeyLine, err:=knownhosts.GetKnownHostsLine(gitRepoDomain); err==nil { // Check online by connecting to the host.
knownHosts=pubKeyLine
} else {
problemDesc:=fmt.Sprintf("Unable to find the public key for the domain %s from known_hosts, please enter it. If you are not sure what this is press Enter and you will be able to edit it later: ", gitRepoDomain)
v1beta1.ParamSpec{Name: "image-registry-url", Description: "registry-domain/namespace where the output image should be pushed.", Type: v1beta1.ParamTypeString},
v1beta1.PipelineWorkspaceDeclaration{Name: workspaceName, Description: "This workspace will receive the cloned git repo and be passed to the kaniko task for building the image."},
Refactor the CI/CD pipeline creation into multiple apiresource files instead of having it all in one single file.
move2kube/internal/apiresourceset/tektonapiresourceset.go
Lines 77 to 482 in 93ef9f7
Note: Also look at removing
RepoInfo
from the plan. Try to move the git repo detection to translate phase.The text was updated successfully, but these errors were encountered: