Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#4994 from annasong20/remove-git-su…
Browse files Browse the repository at this point in the history
…ffix

Fix `RepoSpec` CI failures on master
  • Loading branch information
k8s-ci-robot authored Jan 23, 2023
2 parents a69092c + 298b87a commit 659c0ee
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions api/internal/git/repospec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -642,23 +642,21 @@ func TestNewRepoSpecFromUrl_Smoke(t *testing.T) {
{
name: "ssh on github with custom username for custom ssh certificate authority",
input: "ssh://org-12345@github.com/kubernetes-sigs/kustomize",
cloneSpec: "org-12345@github.com:kubernetes-sigs/kustomize.git",
cloneSpec: "org-12345@github.com:kubernetes-sigs/kustomize",
absPath: notCloned.String(),
repoSpec: RepoSpec{
Host: "org-12345@github.com:",
RepoPath: "kubernetes-sigs/kustomize",
GitSuffix: ".git",
Host: "org-12345@github.com:",
RepoPath: "kubernetes-sigs/kustomize",
},
},
{
name: "scp on github with custom username for custom ssh certificate authority",
input: "org-12345@github.com/kubernetes-sigs/kustomize",
cloneSpec: "org-12345@github.com:kubernetes-sigs/kustomize.git",
cloneSpec: "org-12345@github.com:kubernetes-sigs/kustomize",
absPath: notCloned.String(),
repoSpec: RepoSpec{
Host: "org-12345@github.com:",
RepoPath: "kubernetes-sigs/kustomize",
GitSuffix: ".git",
Host: "org-12345@github.com:",
RepoPath: "kubernetes-sigs/kustomize",
},
},
}
Expand Down

0 comments on commit 659c0ee

Please sign in to comment.