disable remaining git auth test
package builds
import (
- "fmt"
+ // "fmt"
"net"
- "strings"
+ // "strings"
g "github.com/onsi/ginkgo"
o "github.com/onsi/gomega"
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+ // metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
exutil "github.com/openshift/origin/test/extended/util"
)
@@ -32,9 +32,9 @@ var _ = g.Describe("[Feature:Builds][Slow] can use private repositories as build
)
var (
- gitServerFixture = exutil.FixturePath("testdata", "test-gitserver.yaml")
+ // gitServerFixture = exutil.FixturePath("testdata", "test-gitserver.yaml")
// gitServerTokenAuthFixture = exutil.FixturePath("testdata", "test-gitserver-tokenauth.yaml")
- testBuildFixture = exutil.FixturePath("testdata", "builds", "test-auth-build.yaml")
+ // testBuildFixture = exutil.FixturePath("testdata", "builds", "test-auth-build.yaml")
oc = exutil.NewCLI("build-sti-private-repo", exutil.KubeConfigPath())
)
@@ -60,6 +60,7 @@ var _ = g.Describe("[Feature:Builds][Slow] can use private repositories as build
o.Expect(err).NotTo(o.HaveOccurred())
})
+ /*
testGitAuth := func(routeName, gitServerYaml, urlTemplate string, secretFunc func() string) {
err := oc.Run("new-app").Args("-f", gitServerYaml).Execute()
@@ -87,7 +88,9 @@ var _ = g.Describe("[Feature:Builds][Slow] can use private repositories as build
}
br.AssertSuccess()
}
+ */
+ /*
g.Describe("Build using a username and password", func() {
g.It("should create a new build using the internal gitserver", func() {
testGitAuth("gitserver", gitServerFixture, sourceURLTemplate, func() string {
@@ -116,7 +119,7 @@ var _ = g.Describe("[Feature:Builds][Slow] can use private repositories as build
})
})
})
-
+ */
/*
g.Describe("Build using a service account token", func() {
g.It("should create a new build using the internal gitserver", func() {
