From 7035e50f4cbb69d05705afdb5713ac960e4a250e Mon Sep 17 00:00:00 2001 From: Matej Vasek Date: Fri, 6 Oct 2023 15:09:23 +0200 Subject: [PATCH] disable createAndApplyPipelineRunTemplate for s2i Signed-off-by: Matej Vasek --- pkg/pipelines/tekton/templates_test.go | 112 ++++++++++++------------- 1 file changed, 56 insertions(+), 56 deletions(-) diff --git a/pkg/pipelines/tekton/templates_test.go b/pkg/pipelines/tekton/templates_test.go index 4fbc5e2863..0b524433f0 100644 --- a/pkg/pipelines/tekton/templates_test.go +++ b/pkg/pipelines/tekton/templates_test.go @@ -209,62 +209,62 @@ var testData = []struct { namespace: "test-ns", wantErr: false, }, - { - name: "correct - s2i & node", - root: "testdata/testCreatePipelineS2INode", - runtime: "node", - builder: builders.S2I, - namespace: "test-ns", - wantErr: false, - }, - { - name: "correct - s2i & quarkus", - root: "testdata/testCreatePipelineS2IQuarkus", - runtime: "quarkus", - builder: builders.S2I, - namespace: "test-ns", - wantErr: false, - }, - { - name: "correct - s2i & go", - root: "testdata/testCreatePipelineS2IGo", - runtime: "go", - builder: builders.S2I, - namespace: "test-ns", - wantErr: false, - }, - { - name: "correct - s2i & python", - root: "testdata/testCreatePipelineS2IPython", - runtime: "python", - builder: builders.S2I, - namespace: "test-ns", - wantErr: false, - }, - { - name: "correct - s2i & typescript", - root: "testdata/testCreatePipelineS2ITypescript", - runtime: "typescript", - builder: builders.S2I, - namespace: "test-ns", - wantErr: false, - }, - { - name: "correct - s2i & springboot", - root: "testdata/testCreatePipelineS2ISpringboot", - runtime: "springboot", - builder: builders.S2I, - namespace: "test-ns", - wantErr: false, - }, - { - name: "correct - s2i & rust", - root: "testdata/testCreatePipelineS2IRust", - runtime: "rust", - builder: builders.S2I, - namespace: "test-ns", - wantErr: false, - }, + //{ + // name: "correct - s2i & node", + // root: "testdata/testCreatePipelineS2INode", + // runtime: "node", + // builder: builders.S2I, + // namespace: "test-ns", + // wantErr: false, + //}, + //{ + // name: "correct - s2i & quarkus", + // root: "testdata/testCreatePipelineS2IQuarkus", + // runtime: "quarkus", + // builder: builders.S2I, + // namespace: "test-ns", + // wantErr: false, + //}, + //{ + // name: "correct - s2i & go", + // root: "testdata/testCreatePipelineS2IGo", + // runtime: "go", + // builder: builders.S2I, + // namespace: "test-ns", + // wantErr: false, + //}, + //{ + // name: "correct - s2i & python", + // root: "testdata/testCreatePipelineS2IPython", + // runtime: "python", + // builder: builders.S2I, + // namespace: "test-ns", + // wantErr: false, + //}, + //{ + // name: "correct - s2i & typescript", + // root: "testdata/testCreatePipelineS2ITypescript", + // runtime: "typescript", + // builder: builders.S2I, + // namespace: "test-ns", + // wantErr: false, + //}, + //{ + // name: "correct - s2i & springboot", + // root: "testdata/testCreatePipelineS2ISpringboot", + // runtime: "springboot", + // builder: builders.S2I, + // namespace: "test-ns", + // wantErr: false, + //}, + //{ + // name: "correct - s2i & rust", + // root: "testdata/testCreatePipelineS2IRust", + // runtime: "rust", + // builder: builders.S2I, + // namespace: "test-ns", + // wantErr: false, + //}, } func Test_createAndApplyPipelineRunTemplate(t *testing.T) {