@@ -129,7 +129,7 @@ var _ = Describe("Upload and Verify Pipeline Run >", Label(FULL_REGRESSION), fun
129129 test_utils .CheckIfSkipping (pipelineFile )
130130 pipelineFilePath := filepath .Join (test_utils .GetPipelineFilesDir (), pipelineDir , pipelineFile )
131131 logger .Log ("Uploading pipeline file %s" , pipelineFile )
132- uploadedPipeline , uploadErr := e2e_utils .UploadPipeline (pipelineUploadClient , testContext , pipelineDir , pipelineFile , & testContext .Pipeline .PipelineGeneratedName , nil )
132+ uploadedPipeline , uploadErr := test_utils .UploadPipeline (pipelineUploadClient , pipelineFilePath , & testContext .Pipeline .PipelineGeneratedName , nil )
133133 Expect (uploadErr ).To (BeNil (), "Failed to upload pipeline %s" , pipelineFile )
134134 testContext .Pipeline .CreatedPipelines = append (testContext .Pipeline .CreatedPipelines , uploadedPipeline )
135135 logger .Log ("Upload of pipeline file '%s' successful" , pipelineFile )
@@ -152,7 +152,7 @@ var _ = Describe("Upload and Verify Pipeline Run >", Label(FULL_REGRESSION), fun
152152 test_utils .CheckIfSkipping (pipelineFile )
153153 pipelineFilePath := filepath .Join (test_utils .GetPipelineFilesDir (), pipelineDir , pipelineFile )
154154 logger .Log ("Uploading pipeline file %s" , pipelineFile )
155- uploadedPipeline , uploadErr := e2e_utils .UploadPipeline (pipelineUploadClient , testContext , pipelineDir , pipelineFile , & testContext .Pipeline .PipelineGeneratedName , nil )
155+ uploadedPipeline , uploadErr := test_utils .UploadPipeline (pipelineUploadClient , pipelineFilePath , & testContext .Pipeline .PipelineGeneratedName , nil )
156156 Expect (uploadErr ).To (BeNil (), "Failed to upload pipeline %s" , pipelineFile )
157157 testContext .Pipeline .CreatedPipelines = append (testContext .Pipeline .CreatedPipelines , uploadedPipeline )
158158 logger .Log ("Upload of pipeline file '%s' successful" , pipelineFile )
@@ -171,7 +171,8 @@ var _ = Describe("Upload and Verify Pipeline Run >", Label(FULL_REGRESSION), fun
171171 var pipelineDir = "valid"
172172 pipelineFile := "env-var.yaml"
173173 It (fmt .Sprintf ("Create a pipeline run with http proxy, using specs: %s" , pipelineFile ), func () {
174- uploadedPipeline , uploadErr := e2e_utils .UploadPipeline (pipelineUploadClient , testContext , pipelineDir , pipelineFile , & testContext .Pipeline .PipelineGeneratedName , nil )
174+ pipelineFilePath := filepath .Join (test_utils .GetPipelineFilesDir (), pipelineDir , pipelineFile )
175+ uploadedPipeline , uploadErr := test_utils .UploadPipeline (pipelineUploadClient , pipelineFilePath , & testContext .Pipeline .PipelineGeneratedName , nil )
175176 Expect (uploadErr ).To (BeNil (), "Failed to upload pipeline %s" , pipelineFile )
176177 testContext .Pipeline .CreatedPipelines = append (testContext .Pipeline .CreatedPipelines , uploadedPipeline )
177178 createdPipelineVersion := test_utils .GetLatestPipelineVersion (pipelineClient , & uploadedPipeline .PipelineID )
0 commit comments